CVE-2024-36898
gpiolib: cdev: fix uninitialised kfifo
Reported by linux · Published May 30, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf-devel | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-livepatch-6.1.91-99.172 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.91-99.172.amzn2023 |
| bpftool | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.91-99.172.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.91-99.172.amzn2023 |
| perf | Amazon Linux | 6.1.91-99.172.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 65cff70464068a823b3f4a28074000febdce0630, 65cff70464068a823b3f4a28074000febdce0630, 65cff70464068a823b3f4a28074000febdce0630 |
| Linux | Linux | 5.10, 0, 5.15.203 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-livepatch-6.1.91-99.172 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | perf | 0 |
| linux | linux_kernel | 5.10, 5.10, 5.10 |
| amazon:2023 | kernel-libbpf | 0 |
| Linux | Linux | 6.6.31, 6.8.10, 6.9 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | python3-perf | 0 |
Timeline
- May 30, 2024 CVE Published
- May 31, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (5 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 9, 2026 Security Advisory (323 in total, the first dated here)
- Mar 31, 2026 Distribution Patch (227 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-36898
vulnetix vdb fixes CVE-2024-36898
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-36898/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart