CVE-2026-74683
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
22/08/2026
Última modificación:
22/08/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
Input: evdev - sanitize event type index when fetching event masks<br />
<br />
The user-supplied event type index passed to EVIOCGMASK / EVIOCSMASK<br />
ioctls is used to index the static counts array in evdev_get_mask_cnt()<br />
and client evmasks array in evdev_get_mask().<br />
<br />
While the event type is architecturally bounded by EV_CNT, speculative<br />
execution may mispredict bounds checks and perform out-of-bounds loads.<br />
<br />
Sanitize the event type index in evdev_get_mask_cnt() branchlessly using<br />
array_index_mask_nospec(). This clamps the index to 0 for safe array<br />
access and forces the returned count to 0 speculatively when the index<br />
is out of bounds.<br />
<br />
We do not need additional array_index_nospec() calls in evdev_get_mask()<br />
because evdev_get_mask_cnt() speculatively forces the count (and<br />
resulting xfer_size) to 0 for out-of-bounds types, preventing any<br />
speculative memory access to client evmasks array.
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/3abd29c61d2ef37c4102cf755b18be53bb9dbea6
- https://git.kernel.org/stable/c/4034ef247a9dde3f56660b01f0c3280dac6b1274
- https://git.kernel.org/stable/c/433913b4a92214d76e9f0c03ad9128fec943d5f8
- https://git.kernel.org/stable/c/5db341189bb7ff041d570dbe36ecca7e32913927
- https://git.kernel.org/stable/c/810e1883d4815f29c30d900ad7333d03cc2515d1
- https://git.kernel.org/stable/c/c79b08d8fa230871a3634e34a66e591ac2d084ef
- https://git.kernel.org/stable/c/f27fa9b39f925d26e034a1f382cb45523138f4ae
- https://git.kernel.org/stable/c/f3fc329acad9a71b3c077237cbac20670d2358c8


