CVE-2024-36898

medium

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.

References

https://git.kernel.org/stable/c/ee0166b637a5e376118e9659e5b4148080f1d27e

https://git.kernel.org/stable/c/bd7139a70ee8d8ea872b223e043730cf6f5e2b0e

https://git.kernel.org/stable/c/883e4bbf06eb5fb7482679e4edb201093e9f55a2

https://git.kernel.org/stable/c/1a51e24404d77bb3307c1e39eee0d8e86febb1a5

Details

Source: Mitre, NVD

Published: 2024-05-30

Updated: 2024-05-30

Risk Information

CVSS v2

Base Score: 5.2

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L

Severity: Medium