CVE-2024-40965

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.
Configurations

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

09 Dec 2024, 13:10

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/d038693e08adf9c162c6377800495e4f5a2df045 -

21 Nov 2024, 09:31

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/2b42e9587a7a9c7b824e0feb92958f258263963e - Patch () https://git.kernel.org/stable/c/2b42e9587a7a9c7b824e0feb92958f258263963e - Patch
References () https://git.kernel.org/stable/c/4268254a39484fc11ba991ae148bacbe75d9cc0a - Patch () https://git.kernel.org/stable/c/4268254a39484fc11ba991ae148bacbe75d9cc0a - Patch

09 Sep 2024, 17:57

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: i2c: lpi2c: evite llamar a clk_get_rate durante la transferencia. En lugar de llamar repetidamente a clk_get_rate para cada transferencia, bloquee la velocidad del reloj y almacene en caché el valor. Se ha observado un punto muerto al agregar el códec de audio tlv320aic32x4 al sistema. Cuando este proveedor de reloj agrega su reloj, el mutex clk ya está bloqueado, necesita acceder a i2c, que a cambio también necesita el mutex para clk_get_rate.
References () https://git.kernel.org/stable/c/2b42e9587a7a9c7b824e0feb92958f258263963e - () https://git.kernel.org/stable/c/2b42e9587a7a9c7b824e0feb92958f258263963e - Patch
References () https://git.kernel.org/stable/c/4268254a39484fc11ba991ae148bacbe75d9cc0a - () https://git.kernel.org/stable/c/4268254a39484fc11ba991ae148bacbe75d9cc0a - Patch
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux
CWE CWE-667

12 Jul 2024, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-12 13:15

Updated : 2024-12-09 13:10


NVD link : CVE-2024-40965

Mitre link : CVE-2024-40965

CVE.ORG link : CVE-2024-40965


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-667

Improper Locking