5.5medium
HID: alps: fix NULL pointer dereference in alps_raw_event()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 73196ebe134d11a68a2e27814c489d685cfc8b03 before 56850666bb5dcf7a13d76c5d02864813e17ee537, from 73196ebe134d11a68a2e27814c489d685cfc8b03 before 72516a8d7fe247fd895424bab87952f105a0c255, from 73196ebe134d11a68a2e27814c489d685cfc8b03 before cc411e4823d8bfa23327d9989a0fa4e0ce76aebe, from 73196ebe134d11a68a2e27814c489d685cfc8b03 before c8cc765253ad89ccc106a7bdeb5aeac6cf963078, from 73196ebe134d11a68a2e27814c489d685cfc8b03 before 8eed7bce7a4c41ab28ee4891103623a12fd41611, from 73196ebe134d11a68a2e27814c489d685cfc8b03 before 0091dfa542a362c178a7e9393097138a57d327d1, from 73196ebe134d11a68a2e27814c489d685cfc8b03 before 4b618248d2307a219d9431a730cfe1156c8e3386, from 73196ebe134d11a68a2e27814c489d685cfc8b03 before ee2cb3ddfdca949dbc0c3f796ed5a439f0efc9f6 and 2 more Not affected: before 4.15, from 5.10.258 up to 5.10.*, from 5.15.209 up to 5.15.*, from 6.1.175 up to 6.1.*, from 6.6.136 up to 6.6.*, from 6.12.83 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.15 before 6.6.136, from 6.7 before 6.12.83, from 6.13 before 6.18.24, from 6.19 before 6.19.14, from 7.0 before 7.0.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: HID: alps: corregir desreferencia de puntero NULL en alps_raw_event() El commit ecfa6f34492c (’HID: Añadir protecciones HID_CLAIMED_INPUT en las devoluciones de llamada raw_event que carecen de ellas’) intentó corregir los controladores HID que habían omitido la corrección anterior que se realizó en 2ff5baa9b527 (’HID: appleir: Corregir posible desreferencia NULL en el manejador de eventos raw’), pero el controlador alps fue omitido. Corregir esto comprobando correctamente en el controlador hid-alps que había sido reclamado correctamente antes de intentar procesar el evento raw.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31625 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-31625 changed 2026-11-11 | Public domain |