CVE-2024-40965

MEDIUM

Linux Kernel - Deadlock via I2C Clock Rate Caching

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: i2c: lpi2c: Avoid calling clk_get_rate during transfer Instead of repeatedly calling clk_get_rate for each transfer, lock the clock rate and cache the value. A deadlock has been observed while adding tlv320aic32x4 audio codec to the system. When this clock provider adds its clock, the clk mutex is locked already, it needs to access i2c, which in return needs the mutex for clk_get_rate as well.

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 12.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-667
Status published
Products (11)
linux/Kernel 4.10.0 - 6.6.64linux
linux/Kernel 6.7.0 - 6.9.7linux
Linux/Linux < 4.10
Linux/Linux 4.10
Linux/Linux 6.10
Linux/Linux 6.6.64 - 6.6.*
Linux/Linux 6.9.7 - 6.9.*
Linux/Linux a55fa9d0e42e31b0292540e6324d481aad307644 - 2b42e9587a7a9c7b824e0feb92958f258263963e
Linux/Linux a55fa9d0e42e31b0292540e6324d481aad307644 - 4268254a39484fc11ba991ae148bacbe75d9cc0a
Linux/Linux a55fa9d0e42e31b0292540e6324d481aad307644 - d038693e08adf9c162c6377800495e4f5a2df045
... and 1 more
Published Jul 12, 2024
Tracked Since Feb 18, 2026