# CVE-2026-53340: i2c: imx: fix clock and pinctrl state inconsistency in runtime PM

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-07-01T13:32:22.276Z
- Modified: 2026-07-23T21:32:49.007Z
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.14 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/9fa82cf393bafc7bd7ca15c1d5cbd5b57ab9de1d> (patch)
- <https://git.kernel.org/stable/c/c8f5269c1bf505847bc7dbb92054594790114de6> (patch)
- <https://git.kernel.org/stable/c/8783fb8031799f1230997c16df8c8dce9fcd1841> (patch)

## Sources

- CVE List: [CVE-2026-53340](https://www.cve.org/CVERecord?id=CVE-2026-53340), CVE Terms of Use, modified 2026-07-01
- NVD: [CVE-2026-53340](https://nvd.nist.gov/vuln/detail/CVE-2026-53340), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-53340 · Whole record: https://cve.day/CVE-2026-53340.json · Rebuilt by cve.day 2026-11-25T22:59:26.897Z
