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 2024-05-30 Updated 2026-08-05 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 Version Score Vector Scored by CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Linux CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD · nvd@nist.gov (Primary)
Weaknesses (CWE)
European references
CERT-FR advisories
Affected configurations (NVD CPE) cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.10 < 5.15.203cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.16 < 6.1.91cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.2 < 6.6.31cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.7 < 6.8.10cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.9:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.9:rc7:*:*:*:*:*:*
Affected products Product Versions Linux · Linux affected 65cff70464068a823b3f4a28074000febdce0630 < c87cc32bc48b187067e089b15ab7a6a7eed5767d ; affected 65cff70464068a823b3f4a28074000febdce0630 < 1a51e24404d77bb3307c1e39eee0d8e86febb1a5 ; affected 65cff70464068a823b3f4a28074000febdce0630 < 883e4bbf06eb5fb7482679e4edb201093e9f55a2 ; affected 65cff70464068a823b3f4a28074000febdce0630 < bd7139a70ee8d8ea872b223e043730cf6f5e2b0e ; affected 65cff70464068a823b3f4a28074000febdce0630 < ee0166b637a5e376118e9659e5b4148080f1d27e Linux · Linux affected 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