HID: alps: fix NULL pointer dereference in alps_raw_event()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 73196ebe134d11a68a2e27814c489d685cfc8b03 · < 0091dfa542a362c178a7e9393097138a57d327d1| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: alps: fix NULL pointer dereference in alps_raw_event()
Commit ecfa6f34492c ("HID: Add HID_CLAIMED_INPUT guards in raw_event callbacks missing them") attempted to fix up the HID drivers that had missed the previous fix that was done in 2ff5baa9b527 ("HID: appleir: Fix potential NULL dereference at raw event handle"), but the alps driver was missed.
Fix this up by properly checking in the hid-alps driver that it had been claimed correctly before attempting to process the raw event.
From the CVE record · Linux
The Linux kernel's HID alps driver can dereference a NULL pointer when it processes a raw event without first checking that the device was claimed correctly. The input does not specify how an attacker could trigger this condition, or whether access or user interaction is required.
Teams running Linux kernels with the HID alps driver should check their installations; affected versions are not specified.