CVE-2024-36898

published 30 May 2024 · updated 5 Aug 2026

gpiolib: cdev: fix uninitialised kfifo

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1a51e24404d77bb3307c1e39eee0d8e86febb1a5, Kernel 883e4bbf06eb5fb7482679e4edb201093e9f55a2, Kernel bd7139a70ee8d8ea872b223e043730cf6f5e2b0e and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.10, >=65cff70464068a823b3f4a28074000febdce0630 <1a51e24404d77bb3307c1e39eee0d8e86febb1a5, >=65cff70464068a823b3f4a28074000febdce0630 <883e4bbf06eb5fb7482679e4edb201093e9f55a2, >=65cff70464068a823b3f4a28074000febdce0630 <bd7139a70ee8d8ea872b223e043730cf6f5e2b0e, >=65cff70464068a823b3f4a28074000febdce0630 <c87cc32bc48b187067e089b15ab7a6a7eed5767d, >=65cff70464068a823b3f4a28074000febdce0630 <ee0166b637a5e376118e9659e5b4148080f1d27e1a51e24404d77bb3307c1e39eee0d8e86febb1a5, 883e4bbf06eb5fb7482679e4edb201093e9f55a2, bd7139a70ee8d8ea872b223e043730cf6f5e2b0e, c87cc32bc48b187067e089b15ab7a6a7eed5767d, ee0166b637a5e376118e9659e5b4148080f1d27e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-36898 severity on Zeptric[![CVE-2024-36898](https://zeptric.io/badge/cve/CVE-2024-36898.svg)](https://zeptric.io/cve/CVE-2024-36898)