HID: wacom: fix out-of-bounds read in wacom_intuos_bt_irq
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 78761ff9bc4e944e0b4e5df1e7eedcfdbb1a9a1a · < c8dc23c97680eebefde06da5858aaef1b37cf75d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: wacom: fix out-of-bounds read in wacom_intuos_bt_irq
The wacom_intuos_bt_irq() function processes Bluetooth HID reports without sufficient bounds checking. A maliciously crafted short report can trigger an out-of-bounds read when copying data into the wacom structure.
Specifically, report 0x03 requires at least 22 bytes to safely read the processed data and battery status, while report 0x04 (which falls through to 0x03) requires 32 bytes.
Add explicit length checks for these report IDs and log a warning if a short report is received.
From the CVE record · Linux
The Linux kernel's wacom_intuos_bt_irq() function does not adequately check the length of Bluetooth HID reports. An attacker able to supply a crafted short report can trigger an out-of-bounds read.
Engineers running Linux kernels with the Wacom Bluetooth HID handler should check their deployments; affected versions were not specified.