# CVE-2024-36898: gpiolib: cdev: fix uninitialised kfifo

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 18% of CVEs (2026-11-30)
- Published: 2024-05-30T15:29:02.011Z
- Modified: 2026-08-05T11:31:54.352Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 65cff70464068a823b3f4a28074000febdce0630 before c87cc32bc48b187067e089b15ab7a6a7eed5767d; from 65cff70464068a823b3f4a28074000febdce0630 before 1a51e24404d77bb3307c1e39eee0d8e86febb1a5; from 65cff70464068a823b3f4a28074000febdce0630 before 883e4bbf06eb5fb7482679e4edb201093e9f55a2; from 65cff70464068a823b3f4a28074000febdce0630 before bd7139a70ee8d8ea872b223e043730cf6f5e2b0e; from 65cff70464068a823b3f4a28074000febdce0630 before ee0166b637a5e376118e9659e5b4148080f1d27e; 5.10 (not affected: before 5.10; from 5.15.203 up to 5.15.*; from 6.1.91 up to 6.1.*; from 6.6.31 up to 6.6.*; from 6.8.10 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 5.10 before 5.15.203; from 5.16 before 6.1.91; from 6.2 before 6.6.31; from 6.7 before 6.8.10; 6.9

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/c87cc32bc48b187067e089b15ab7a6a7eed5767d> (patch)
- <https://git.kernel.org/stable/c/1a51e24404d77bb3307c1e39eee0d8e86febb1a5> (patch)
- <https://git.kernel.org/stable/c/883e4bbf06eb5fb7482679e4edb201093e9f55a2> (patch)
- <https://git.kernel.org/stable/c/bd7139a70ee8d8ea872b223e043730cf6f5e2b0e> (patch)
- <https://git.kernel.org/stable/c/ee0166b637a5e376118e9659e5b4148080f1d27e> (patch)

## Sources

- CVE List: [CVE-2024-36898](https://www.cve.org/CVERecord?id=CVE-2024-36898), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-36898](https://nvd.nist.gov/vuln/detail/CVE-2024-36898), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-36898 · Whole record: https://cve.day/CVE-2024-36898.json · Rebuilt by cve.day 2026-11-25T22:58:41.153Z
