Input: evdev - sanitize event type index when fetching event masks (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.19 % · percentile 9 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: Input: evdev - sanitize event type index when fetching event masks The user-supplied event type index passed to EVIOCGMASK / EVIOCSMASK ioctls is used to index the static counts array in evdev_get_mask_cnt() and client evmasks array in evdev_get_mask(). While the event type is architecturally bounded by EV_CNT, speculative execution may mispredict bounds checks and perform out-of-bounds loads. Sanitize the event type index in evdev_get_mask_cnt() branchlessly using array_index_mask_nospec(). This clamps the index to 0 for safe array access and forces the returned count to 0 speculatively when the index is out of bounds. We do not need additional array_index_nospec() calls in evdev_get_mask() because evdev_get_mask_cnt() speculatively forces the count (and resulting xfer_size) to 0 for out-of-bounds types, preventing any speculative memory access to client evmasks array.
References
- https://git.kernel.org/stable/c/c79b08d8fa230871a3634e34a66e591ac2d084ef
- https://git.kernel.org/stable/c/f27fa9b39f925d26e034a1f382cb45523138f4ae
- https://git.kernel.org/stable/c/f3fc329acad9a71b3c077237cbac20670d2358c8
- https://git.kernel.org/stable/c/5db341189bb7ff041d570dbe36ecca7e32913927
- https://git.kernel.org/stable/c/433913b4a92214d76e9f0c03ad9128fec943d5f8
- https://git.kernel.org/stable/c/4034ef247a9dde3f56660b01f0c3280dac6b1274
- https://git.kernel.org/stable/c/810e1883d4815f29c30d900ad7333d03cc2515d1
- https://git.kernel.org/stable/c/3abd29c61d2ef37c4102cf755b18be53bb9dbea6
European references
- ENISA EUVD · EUVD-2026-64370
- GCVE · GCVE-0-2026-74683
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1232 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1163 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1090 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 06a16293f71927f756dcf37558a79c0b05a91641 < c79b08d8fa230871a3634e34a66e591ac2d084ef ; affected 06a16293f71927f756dcf37558a79c0b05a91641 < f27fa9b39f925d26e034a1f382cb45523138f4ae ; affected 06a16293f71927f756dcf37558a79c0b05a91641 < f3fc329acad9a71b3c077237cbac20670d2358c8 ; affected 06a16293f71927f756dcf37558a79c0b05a91641 < 5db341189bb7ff041d570dbe36ecca7e32913927 ; affected 06a16293f71927f756dcf37558a79c0b05a91641 < 433913b4a92214d76e9f0c03ad9128fec943d5f8 ; affected 06a16293f71927f756dcf37558a79c0b05a91641 < 4034ef247a9dde3f56660b01f0c3280dac6b1274 |
| Linux · Linux | affected 4.4 ; unaffected 0 < 4.4 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.152 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |