Kernel data exposure via uninitialized GPIO event queue
Published May 30, 2024 · Updated Aug 5, 2026
Uninitialized-resource use in gpiolib cdev in Linux allows local users to read uninitialized GPIO edge-event data through its character-device API. In edge_detector_update, the already-software-debounced path updates edge flags but fails to allocate the request's event kfifo before events are written and returned to userspace. Triggering the exposure requires access to a GPIO line requested with software debounce and then reconfigured to enable edge detection.
Summary
What happened
Uninitialized-resource use in gpiolib cdev in Linux allows local users to read uninitialized GPIO edge-event data through its character-device API. In edge_detector_update, the already-software-debounced path updates edge flags but fails to allocate the request's event kfifo before events are written and returned to userspace. Triggering the exposure requires access to a GPIO line requested with software debounce and then reconfigured to enable edge detection.
The record
- CVE
- CVE-2024-36898
- Published
- May 30, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-908, T1005
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 30, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.10
- Affected versionversion=65cff70464068a823b3f4a28074000febdce0630 <1a51e24404d77bb3307c1e39eee0d8e86febb1a5
- Affected versionversion=65cff70464068a823b3f4a28074000febdce0630 <883e4bbf06eb5fb7482679e4edb201093e9f55a2
- Affected versionversion=65cff70464068a823b3f4a28074000febdce0630 <bd7139a70ee8d8ea872b223e043730cf6f5e2b0e
- Affected versionversion=65cff70464068a823b3f4a28074000febdce0630 <c87cc32bc48b187067e089b15ab7a6a7eed5767d
- Affected versionversion=65cff70464068a823b3f4a28074000febdce0630 <ee0166b637a5e376118e9659e5b4148080f1d27e
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo