CVE-2024-36898

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*

History

18 Sep 2025, 14:48

Type Values Removed Values Added
CWE CWE-908
CPE cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
References () https://git.kernel.org/stable/c/1a51e24404d77bb3307c1e39eee0d8e86febb1a5 - () https://git.kernel.org/stable/c/1a51e24404d77bb3307c1e39eee0d8e86febb1a5 - Patch
References () https://git.kernel.org/stable/c/883e4bbf06eb5fb7482679e4edb201093e9f55a2 - () https://git.kernel.org/stable/c/883e4bbf06eb5fb7482679e4edb201093e9f55a2 - Patch
References () https://git.kernel.org/stable/c/bd7139a70ee8d8ea872b223e043730cf6f5e2b0e - () https://git.kernel.org/stable/c/bd7139a70ee8d8ea872b223e043730cf6f5e2b0e - Patch
References () https://git.kernel.org/stable/c/ee0166b637a5e376118e9659e5b4148080f1d27e - () https://git.kernel.org/stable/c/ee0166b637a5e376118e9659e5b4148080f1d27e - Patch
First Time Linux
Linux linux Kernel

21 Nov 2024, 09:22

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/1a51e24404d77bb3307c1e39eee0d8e86febb1a5 - () https://git.kernel.org/stable/c/1a51e24404d77bb3307c1e39eee0d8e86febb1a5 -
References () https://git.kernel.org/stable/c/883e4bbf06eb5fb7482679e4edb201093e9f55a2 - () https://git.kernel.org/stable/c/883e4bbf06eb5fb7482679e4edb201093e9f55a2 -
References () https://git.kernel.org/stable/c/bd7139a70ee8d8ea872b223e043730cf6f5e2b0e - () https://git.kernel.org/stable/c/bd7139a70ee8d8ea872b223e043730cf6f5e2b0e -
References () https://git.kernel.org/stable/c/ee0166b637a5e376118e9659e5b4148080f1d27e - () https://git.kernel.org/stable/c/ee0166b637a5e376118e9659e5b4148080f1d27e -
Summary
  • (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.

30 May 2024, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-30 16:15

Updated : 2025-09-18 14:48


NVD link : CVE-2024-36898

Mitre link : CVE-2024-36898

CVE.ORG link : CVE-2024-36898


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-908

Use of Uninitialized Resource