Bug 2297549 (CVE-2024-40965) - CVE-2024-40965 kernel: i2c: lpi2c: Avoid calling clk_get_rate during transfer
Summary: CVE-2024-40965 kernel: i2c: lpi2c: Avoid calling clk_get_rate during transfer
Keywords:
Status: NEW
Alias: CVE-2024-40965
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-12 13:42 UTC by OSIDB Bzimport
Modified: 2024-11-12 09:36 UTC (History)
4 users (show)

Fixed In Version: kernel 6.9.7, kernel 6.10-rc1
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:9315 0 None None None 2024-11-12 09:36:15 UTC

Description OSIDB Bzimport 2024-07-12 13:42:06 UTC
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.

Comment 5 errata-xmlrpc 2024-11-12 09:36:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:9315 https://access.redhat.com/errata/RHSA-2024:9315


Note You need to log in before you can comment on or make changes to this bug.