CVE-2024-36898

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux65cff70464068a823b3f4a28074000febdce0630 < c87cc32bc48b187067e089b15ab7a6a7eed5767daffected
LinuxLinux65cff70464068a823b3f4a28074000febdce0630 < 1a51e24404d77bb3307c1e39eee0d8e86febb1a5affected
LinuxLinux65cff70464068a823b3f4a28074000febdce0630 < 883e4bbf06eb5fb7482679e4edb201093e9f55a2affected
LinuxLinux65cff70464068a823b3f4a28074000febdce0630 < bd7139a70ee8d8ea872b223e043730cf6f5e2b0eaffected
LinuxLinux65cff70464068a823b3f4a28074000febdce0630 < ee0166b637a5e376118e9659e5b4148080f1d27eaffected
LinuxLinux5.10affected
LinuxLinux0 < 5.10unaffected
LinuxLinux5.15.203 <= 5.15.*unaffected
LinuxLinux6.1.91 <= 6.1.*unaffected
LinuxLinux6.6.31 <= 6.6.*unaffected
LinuxLinux6.8.10 <= 6.8.*unaffected
LinuxLinux6.9 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

CVE Program Container

Additional References

References