HID: multitouch: Check to ensure report responses match the request
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6d4f5440a3a2bb2e9d0d582bbf98234e9e9bb095 · < 7f66fdbc077faed3b52519228d21d81979e92249| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: multitouch: Check to ensure report responses match the request
It is possible for a malicious (or clumsy) device to respond to a specific report's feature request using a completely different report ID. This can cause confusion in the HID core resulting in nasty side-effects such as OOB writes.
Add a check to ensure that the report ID in the response, matches the one that was requested. If it doesn't, omit reporting the raw event and return early.
From the CVE record · Linux
The Linux kernel HID multitouch code does not check that a device’s feature-report response has the requested report ID. A malicious or malfunctioning HID device can return a different ID, confusing the HID core and potentially causing out-of-bounds writes.
Engineers running Linux kernels with HID multitouch support should check whether their kernel is affected; affected versions were not provided.