CVE-2024-36898

gpiolib: cdev: fix uninitialised kfifo

At a glance

Severity
HIGH 7.1
EPSS
EPSS 0.24 % · percentile 15 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 65cff70464068a823b3f4a28074000febdce0630 < c87cc32bc48b187067e089b15ab7a6a7eed5767d ; affected 65cff70464068a823b3f4a28074000febdce0630 < 1a51e24404d77bb3307c1e39eee0d8e86febb1a5 ; affected 65cff70464068a823b3f4a28074000febdce0630 < 883e4bbf06eb5fb7482679e4edb201093e9f55a2 ; affected 65cff70464068a823b3f4a28074000febdce0630 < bd7139a70ee8d8ea872b223e043730cf6f5e2b0e ; affected 65cff70464068a823b3f4a28074000febdce0630 < ee0166b637a5e376118e9659e5b4148080f1d27e
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.91 ≤ 6.1.* ; unaffected 6.6.31 ≤ 6.6.* ; unaffected 6.8.10 ≤ 6.8.*

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD