VDB

CVE-2024-36898

CVE-2024-36898 PUBLISHED CVSS 7.1 HIGH

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.

PackageEcosystemFixed in
kernel-libbpf-develAmazon Linux6.1.91-99.172.amzn2023
kernel-libbpf-staticAmazon Linux6.1.91-99.172.amzn2023
kernel-livepatch-6.1.91-99.172Amazon Linux1.0-0.amzn2023
kernel-toolsAmazon Linux6.1.91-99.172.amzn2023
bpftoolAmazon Linux6.1.91-99.172.amzn2023
kernel-modules-extraAmazon Linux6.1.91-99.172.amzn2023
kernel-tools-develAmazon Linux6.1.91-99.172.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.91-99.172.amzn2023
perfAmazon Linux6.1.91-99.172.amzn2023

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux65cff70464068a823b3f4a28074000febdce0630, 65cff70464068a823b3f4a28074000febdce0630, 65cff70464068a823b3f4a28074000febdce0630
LinuxLinux5.10, 0, 5.15.203
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-livepatch-6.1.91-99.1720
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023perf0
linuxlinux_kernel5.10, 5.10, 5.10
amazon:2023kernel-libbpf0
LinuxLinux6.6.31, 6.8.10, 6.9
amazon:2023kernel-headers0
amazon:2023kernel-devel0
amazon:2023kernel0
amazon:2023python3-perf0

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›