System hang via recursive clock mutex acquisition
Published Jul 12, 2024 · Updated May 11, 2026
Improper locking in affected Linux kernel versions allows local users to hang the system through an LPI2C transfer. The lpi2c_imx_config function calls clk_get_rate during each transfer, reentering the clock mutex when a clock provider already holds it while accessing I2C. Reachability requires the NXP LPI2C driver and a clock-provider path that performs I2C access while registering a device, such as the observed tlv320aic32x4 codec setup.
Summary
What happened
Improper locking in affected Linux kernel versions allows local users to hang the system through an LPI2C transfer. The lpi2c_imx_config function calls clk_get_rate during each transfer, reentering the clock mutex when a clock provider already holds it while accessing I2C. Reachability requires the NXP LPI2C driver and a clock-provider path that performs I2C access while registering a device, such as the observed tlv320aic32x4 codec setup.
The record
- CVE
- CVE-2024-40965
- Published
- Jul 12, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-667, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 12, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.10
- Affected versionversion=a55fa9d0e42e31b0292540e6324d481aad307644 <2b42e9587a7a9c7b824e0feb92958f258263963e
- Affected versionversion=a55fa9d0e42e31b0292540e6324d481aad307644 <4268254a39484fc11ba991ae148bacbe75d9cc0a
- Affected versionversion=a55fa9d0e42e31b0292540e6324d481aad307644 <d038693e08adf9c162c6377800495e4f5a2df045
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo