CVE-2024-36898

gpiolib: cdev: fix uninitialised kfifo

HIGH
7.8
CVSS Score
Published: May 30, 2024 at 03:29 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10 ≤ v < 5.15.2035.10 ≤ v < 6.1.915.10 ≤ v < 6.6.315.10 ≤ v < 6.8.105.10 ≤ v < 6.95.16 ≤ v < 6.1.916.2 ≤ v < 6.6.316.7 ≤ v < 6.8.106.9 rc16.9 rc26.9 rc36.9 rc46.9 rc56.9 rc66.9 rc765cff70464068a823b3f4a28074000febdce0630
Vendor states this is fixed in 1a51e24404d77bb3307c1e39eee0d8e86febb1a5 (fixed)
Vendor states this is fixed in 883e4bbf06eb5fb7482679e4edb201093e9f55a2 (fixed)
Vendor states this is fixed in bd7139a70ee8d8ea872b223e043730cf6f5e2b0e (fixed)
Vendor states this is fixed in c87cc32bc48b187067e089b15ab7a6a7eed5767d (fixed)
Vendor states this is fixed in ee0166b637a5e376118e9659e5b4148080f1d27e (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.15.203 (unaffected)
Vendor states this is fixed in 6.1.91 (unaffected)
Vendor states this is fixed in 6.6.31 (unaffected)
Vendor states this is fixed in 6.8.10 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card