HID: Add HID_CLAIMED_INPUT guards in raw_event callbacks missing them
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d0742abaa1c396a26bb3d3ce2732988cd3faa020 · < 20864e3e41c74cda253a9fa6b6fe093c1461a6a9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: Add HID_CLAIMED_INPUT guards in raw_event callbacks missing them
In commit 2ff5baa9b527 ("HID: appleir: Fix potential NULL dereference at raw event handle"), we handle the fact that raw event callbacks can happen even for a HID device that has not been "claimed" causing a crash if a broken device were attempted to be connected to the system.
Fix up the remaining in-tree HID drivers that forgot to add this same check to resolve the same issue.
From the CVE record · Linux
Some Linux kernel HID raw event callbacks lack a check that the device has been claimed. Connecting a broken HID device can trigger a callback for an unclaimed device and cause a crash. The input does not specify authentication requirements.
Anyone running the Linux kernel should check whether their kernel includes the HID driver fix; affected versions are not specified.