HID: core: ensure the allocated report buffer can contain the reserved report ID
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4fa5a7f76cc7b6ac87f57741edd2b124851d119f · < a262370f385e53ff7470efdcdaf40468e5756717| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: core: ensure the allocated report buffer can contain the reserved report ID
When the report ID is not used, the low level transport drivers expect the first byte to be 0. However, currently the allocated buffer not account for that extra byte, meaning that instead of having 8 guaranteed bytes for implement to be working, we only have 7.
From the CVE record · Linux
The Linux kernel HID core can allocate a report buffer without space for the first byte required by low-level transport drivers when report IDs are not used. This leaves one fewer guaranteed byte than expected. The input does not specify an attacker action or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernel versions with the affected HID core code should check their systems; affected versions are not specified.