7.1high
gpiolib: cdev: fix uninitialised kfifo
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.33% (higher than 18% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: gpiolib: cdev: fix uninitialised kfifo If a line is requested with debounce, and that results in debouncing in software, and the line is subsequently reconfigured to enable edge detection then the allocation of the kfifo to contain edge events is overlooked. This results in events being written to and read from an uninitialised kfifo. Read events are returned to userspace. Initialise the kfifo in the case where the software debounce is already active.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 65cff70464068a823b3f4a28074000febdce0630 before c87cc32bc48b187067e089b15ab7a6a7eed5767d, from 65cff70464068a823b3f4a28074000febdce0630 before 1a51e24404d77bb3307c1e39eee0d8e86febb1a5, from 65cff70464068a823b3f4a28074000febdce0630 before 883e4bbf06eb5fb7482679e4edb201093e9f55a2, from 65cff70464068a823b3f4a28074000febdce0630 before bd7139a70ee8d8ea872b223e043730cf6f5e2b0e, from 65cff70464068a823b3f4a28074000febdce0630 before ee0166b637a5e376118e9659e5b4148080f1d27e, 5.10 Not affected: before 5.10, from 5.15.203 up to 5.15.*, from 6.1.91 up to 6.1.*, from 6.6.31 up to 6.6.*, from 6.8.10 up to 6.8.*, from 6.9 up to * | CVE List |
| linux linux_kernel | from 5.10 before 5.15.203, from 5.16 before 6.1.91, from 6.2 before 6.6.31, from 6.7 before 6.8.10, 6.9 | NVD |
All scores
| Linux | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
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: gpiolib: cdev: fix uninitialised kfifo If a line is requested with debounce, and that results in debouncing in software, and the line is subsequently reconfigured to enable edge detection then the allocation of the kfifo to contain edge events is overlooked. This results in events being written to and read from an uninitialised kfifo. Read events are returned to userspace. Initialise the kfifo in the case where the software debounce is already active.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: gpiolib: cdev: corrige kfifo no inicializado Si se solicita una línea con antirrebote, y eso resulta en un antirrebote en el software, y la línea se reconfigura posteriormente para habilitar la detección de bordes, entonces se realiza la asignación del Se pasa por alto kfifo para contener eventos de borde. Esto da como resultado que los eventos se escriban y lean desde un kfifo no inicializado. Los eventos leídos se devuelven al espacio de usuario. Inicialice el kfifo en el caso de que el software antirrebote ya esté activo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-36898 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-36898 changed 2026-08-04 | Public domain |