CVE
CVE-2024-36898
CNA 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 versions
All Linux kernel vulnerabilities →
- 6.9-rc7This version only
- 6.9-rc6This version only
- 6.9-rc5This version only
- 6.9-rc4This version only
- 6.9-rc3This version only
- 6.9-rc2This version only
- 6.9-rc1This version only
- ≥ 6.7, < 6.8.10Fixed in 6.8.10
- ≥ 6.2, < 6.6.31Fixed in 6.6.31
- ≥ 5.16, < 6.1.91Fixed in 6.1.91
- ≥ 5.10, < 5.15.203Fixed in 5.15.203
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/1a51e24404d77bb3307c1e39eee0d8e86febb1a5 · Patch
- git.kernel.org/stable/c/883e4bbf06eb5fb7482679e4edb201093e9f55a2 · Patch
- git.kernel.org/stable/c/bd7139a70ee8d8ea872b223e043730cf6f5e2b0e · Patch
- git.kernel.org/stable/c/c87cc32bc48b187067e089b15ab7a6a7eed5767d · Patch
- git.kernel.org/stable/c/ee0166b637a5e376118e9659e5b4148080f1d27e · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.