CVE-2024-36898 Details
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.
A vulnerability exists in the Linux kernel's gpiolib component, specifically within the character device interface. When a GPIO line is configured to use software debouncing and is later reconfigured for edge detection, the necessary allocation for the kfifo buffer to handle edge events is missed. This oversight causes events to be written to and read from an uninitialized kfifo, with the uninitialized read events being sent to userspace. The vulnerability affects several versions of the Linux kernel.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-908 | Use of Uninitialized Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.10, < 5.15.203 >= 5.16, < 6.1.91 >= 6.2, < 6.6.31 >= 6.7, < 6.8.10 6.9 rc1 6.9 rc2 6.9 rc3 6.9 rc4 6.9 rc5 6.9 rc6 6.9 rc7 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 23, 2026 | Modified Analysis | [email protected] |
| Apr 18, 2026 | CVE Modified | kernel.org |
| Sep 18, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 30, 2024 | New CVE Received | kernel.org |