gpiolib: cdev: fix uninitialised kfifo
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.1epss 0.2%
exploitation probability
0.2%top 87% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/1a51e24404d77bb3307c1e39eee0d8e86febb1a5https://git.kernel.org/stable/c/883e4bbf06eb5fb7482679e4edb201093e9f55a2https://git.kernel.org/stable/c/bd7139a70ee8d8ea872b223e043730cf6f5e2b0ehttps://git.kernel.org/stable/c/c87cc32bc48b187067e089b15ab7a6a7eed5767dhttps://git.kernel.org/stable/c/ee0166b637a5e376118e9659e5b4148080f1d27e