Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-36898

published high CVSS 3.1 · 7.1

gpiolib: cdev: fix uninitialised kfifo

Published
30 May 2024, 15:29:02 UTC
Updated
05 Aug 2026, 11:31:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux65cff70464068a823b3f4a28074000febdce0630 to < c87cc32bc48b187067e089b15ab7a6a7eed5767d · 65cff70464068a823b3f4a28074000febdce0630 to < 1a51e24404d77bb3307c1e39eee0d8e86febb1a5 · 65cff70464068a823b3f4a28074000febdce0630 to < 883e4bbf06eb5fb7482679e4edb201093e9f55a2 · 65cff70464068a823b3f4a28074000febdce0630 to < bd7139a70ee8d8ea872b223e043730cf6f5e2b0e · 65cff70464068a823b3f4a28074000febdce0630 to < ee0166b637a5e376118e9659e5b4148080f1d27e · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.10 (affected) · 0 to < 5.10 (unaffected · semver) · 5.15.203 through 5.15.* (unaffected · semver) · 6.1.91 through 6.1.* (unaffected · semver) · 6.6.31 through 6.6.* (unaffected · semver) · 6.8.10 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-643 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-64kbaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-64kbaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-64kb-develaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-64kb-develaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-default-baseaarch64 Advisory build 5.14.21-150500.55.94.1.150500.6.43.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseaarch64 Advisory build 5.14.21-150500.55.94.1.150500.6.43.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-default-baseppc64le Advisory build 5.14.21-150500.55.94.1.150500.6.43.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseppc64le Advisory build 5.14.21-150500.55.94.1.150500.6.43.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-default-basex86_64 Advisory build 5.14.21-150500.55.94.1.150500.6.43.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-basex86_64 Advisory build 5.14.21-150500.55.94.1.150500.6.43.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-default-develaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-default-develppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-default-devels390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-devels390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-default-develx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchs390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-devels390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-develnoarch Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-develnoarch Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-docsnoarch Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-docsnoarch Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-livepatch-5_14_21-150500_55_94-defaultppc64le Advisory build 1-150500.11.3.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-livepatch-5_14_21-150500_55_94-defaults390x Advisory build 1-150500.11.3.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-livepatch-5_14_21-150500_55_94-defaultx86_64 Advisory build 1-150500.11.3.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-macrosnoarch Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-macrosnoarch Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-obs-buildaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-obs-buildaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-obs-buildppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-obs-buildppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-obs-builds390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-obs-builds390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-obs-buildx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-obs-buildx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-sourcenoarch Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-sourcenoarch Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-symsaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-symsaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-symsppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-symsppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-symss390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-symss390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-symsx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-symsx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 kernel-zfcpdumps390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 kernel-zfcpdumps390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 ocfs2-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 ocfs2-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 ocfs2-kmp-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 ocfs2-kmp-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 ocfs2-kmp-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 ocfs2-kmp-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 ocfs2-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 ocfs2-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 reiserfs-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 reiserfs-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 reiserfs-kmp-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 reiserfs-kmp-defaultppc64le Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 reiserfs-kmp-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1
SUSE / openSUSE SLE-15-SP5 reiserfs-kmp-defaults390x Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-2
SUSE / openSUSE SLE-15-SP5 reiserfs-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.94.1 SUSE-SU-2025:0577-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

34

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Scenarios
en: AV:L - Exploitation requires opening the /dev/gpiochipN character device and issuing GPIO_V2_GET_LINE_IOCTL / GPIO_V2_LINE_SET_CONFIG_IOCTL plus read(), all local syscall interfaces. There is no remote or adjacent-network path into gpiolib-cdev. AC:L - The trigger is a deterministic, race-free ioctl sequence, and the attacker can generate the required edges themselves by flipping BIAS_PULL_UP/PULL_DOWN via SET_CONFIG or driving a loopback line. Software debouncing (gpiod_set_debounce returning -ENOTSUPP) and CONFIG_GPIO_CDEV are the default on essentially all GPIO controllers and embedded kernels. PR:L - No capability check exists anywhere along gpio_chrdev_open → gpio_ioctl → linereq_create → linereq_set_config → linereq_read; access is governed solely by file permissions on /dev/gpiochipN, typically root:gpio 0660. An unprivileged local user in the gpio group — the standard configuration on embedded, industrial, and single-board Linux systems whose applications drive GPIO from userspace — is sufficient. UI:N - The attacker performs every step unaided, including generating the GPIO edges via bias reconfiguration or a driven loopback line. No victim action is required at any point. S:U - The uninitialized kfifo, the leaked stack data, and the NULL dereference are all confined to the kernel's own security authority on the same host. No hypervisor, IOMMU, or sandbox boundary is crossed. C:H - Every read() returns 48 bytes of uninitialized kernel stack from linereq_read's own frame directly to userspace, repeatable without limit, and the attacker can groom that stack region with preceding syscalls to steer what is disclosed. This yields kernel pointers, stack canaries, and residual syscall data — a KASLR/canary bypass and a broad kernel memory disclosure primitive. I:N - With esize=0 the kfifo write path copies zero bytes, and data is always NULL whenever mask is 0, so no kernel memory is modified. The bug produces disclosure and a fault, not a write primitive into valid kernel memory. A:H - Because the buggy branch commits edflags while leaving the fifo unallocated, an attacker supplying event_buffer_size=1 across two lines reaches kfifo_copy_in() with esize=48, mask=0, data=NULL, causing memcpy() to a NULL destination in workqueue context — a kernel oops. Any such crash is scored High.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 65cff70464068a823b3f4a28074000febdce0630 to < c87cc32bc48b187067e089b15ab7a6a7eed5767d (affected · git)65cff70464068a823b3f4a28074000febdce0630 to < 1a51e24404d77bb3307c1e39eee0d8e86febb1a5 (affected · git)65cff70464068a823b3f4a28074000febdce0630 to < 883e4bbf06eb5fb7482679e4edb201093e9f55a2 (affected · git)65cff70464068a823b3f4a28074000febdce0630 to < bd7139a70ee8d8ea872b223e043730cf6f5e2b0e (affected · git)65cff70464068a823b3f4a28074000febdce0630 to < ee0166b637a5e376118e9659e5b4148080f1d27e (affected · git)Default: unaffected Linux · cna
Linux Linux 5.10 (affected)0 to < 5.10 (unaffected · semver)5.15.203 through 5.15.* (unaffected · semver)6.1.91 through 6.1.* (unaffected · semver)6.6.31 through 6.6.* (unaffected · semver)6.8.10 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

gpiolib: cdev: fix uninitialised kfifo

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
398058a56343819de8f5fe3af776db6017610bb8c320c2c1b4579207a6d2966e
Ingested
23 Sep 2026, 08:24:20 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected