CVE-2026-53340
5.5medium
i2c: imx: fix clock and pinctrl state inconsistency in runtime PM
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: i2c: imx: fix clock and pinctrl state inconsistency in runtime PM In i2c_imx_runtime_suspend(), the clock is disabled before switching the pinctrl state to sleep. If pinctrl_pm_select_sleep_state() fails, the runtime suspend is aborted but the clock remains disabled, causing a system crash when the hardware is subsequently accessed. Fix this by switching the pinctrl state before disabling the clock so that a pinctrl failure leaves the clock enabled and the hardware accessible. In i2c_imx_runtime_resume(), restore the pinctrl state back to sleep if clk_enable() fails to keep the consistent.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 576eba03c99435380d155e5f71d5d7603b9178f6 before 9fa82cf393bafc7bd7ca15c1d5cbd5b57ab9de1d, from 576eba03c99435380d155e5f71d5d7603b9178f6 before c8f5269c1bf505847bc7dbb92054594790114de6, from 576eba03c99435380d155e5f71d5d7603b9178f6 before 8783fb8031799f1230997c16df8c8dce9fcd1841, 6.14 Not affected: before 6.14, from 6.18.36 up to 6.18.*, from 7.0.13 up to 7.0.*, from 7.1 up to * | CVE List |
| linux linux_kernel | from 6.14 before 6.18.36, from 6.19 before 7.0.13, 7.1 | NVD |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53340 changed 2026-07-01 | CVE Terms of Use |
| NVD | CVE-2026-53340 changed 2026-07-23 | Public domain |