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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-30 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-36898, DEBIAN-CVE-2024-36898
- Record: https://cvemate.com/vulnerability/CVE-2024-36898 · JSON: https://cvemate.com/vulnerability/CVE-2024-36898/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.236%, percentile 15.588%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 121)

- debian linux (Debian): \< 6.1.94-1 \| \< 6.8.11-1
- ubuntu linux (Ubuntu): \< 5.15.0-186.196 \| \< 6.8.0-40.40
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1112.119 \| \< 6.8.0-1013.14
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1013.14~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.126 \| \< 6.8.0-1012.14
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1117.126~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 27)

- <https://git.kernel.org/stable/c/c87cc32bc48b187067e089b15ab7a6a7eed5767d>
- <https://git.kernel.org/stable/c/1a51e24404d77bb3307c1e39eee0d8e86febb1a5>
- <https://git.kernel.org/stable/c/883e4bbf06eb5fb7482679e4edb201093e9f55a2>
- <https://git.kernel.org/stable/c/bd7139a70ee8d8ea872b223e043730cf6f5e2b0e>
- <https://git.kernel.org/stable/c/ee0166b637a5e376118e9659e5b4148080f1d27e>
- <https://ubuntu.com/security/CVE-2024-36898>
- <https://www.cve.org/CVERecord?id=CVE-2024-36898>
- <https://git.kernel.org/linus/ee0166b637a5e376118e9659e5b4148080f1d27e>
- <https://ubuntu.com/security/notices/USN-6949-1>
- <https://ubuntu.com/security/notices/USN-6952-1>
- <https://ubuntu.com/security/notices/USN-6955-1>
- <https://ubuntu.com/security/notices/USN-6949-2>
- <https://ubuntu.com/security/notices/USN-6952-2>
- <https://ubuntu.com/security/notices/USN-8575-1>
- <https://ubuntu.com/security/notices/USN-8576-1>
- <https://ubuntu.com/security/notices/USN-8575-2>
- <https://ubuntu.com/security/notices/USN-8576-2>
- <https://ubuntu.com/security/notices/USN-8597-1>
- <https://ubuntu.com/security/notices/USN-8575-3>
- <https://ubuntu.com/security/notices/USN-8610-1>

---

Data as of 2026-12-05T04:11:52.711Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
