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.
Published: 2026-07-01
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in the i2c_imx driver disables the I2C clock before changing the pin‑control transition fails, the routine aborts while leaving the clock disabled, and a subsequent access to the hardware causes a kernel panic. A similar ordering issue exists in resume the pin‑control state. This ordering error (CWE‑367) can crash the kernel, leading to a denial of service by preventing normal operation of the system.

Affected Systems

Linux kernel builds that compile the i2c_imx driver and have not incorporated the commit that reorders the clock and pin‑control calls are affected. All kernel sources dated before the patch are vulnerable, regardless of specific kernel version or configuration, as the issue is in the driver code rather than a configurable option.

Risk and Exploitability

The CVSS score of 5.5 indicates medium severity. An EPSS score of less than 1% implies a very low likelihood of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. It is inferred that the attack vector requires local user privileges to trigger a runtime suspend/resume cycle and force a pin‑control failure, making remote exploitation unlikely. Overall risk is moderate, centered on potential local denial of service for systems running the affected driver.

Generated by OpenCVE AI on July 21, 2026 at 14:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the CVE-2026-53340 fix to correct the clock and pin‑control ordering in the i2c_imx driver.
  • If a kernel upgrade is not feasible, disable runtime power management for the affected i2c_imx devices by setting the power/runtime property to off in the device tree or by masking the devices during suspend transitions.
  • For custom or patched kernels that cannot be upgraded, cherry‑pick the commit that reorders the clock and pin‑control operations in the driver to restore consistent state handling.

Generated by OpenCVE AI on July 21, 2026 at 14:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-391
CWE-395

Thu, 02 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-367
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Wed, 01 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-391
CWE-395

Wed, 01 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title i2c: imx: fix clock and pinctrl state inconsistency in runtime PM
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-01T13:32:22.276Z

Reserved: 2026-06-09T07:44:35.399Z

Link: CVE-2026-53340

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-01T00:00:00Z

Links: CVE-2026-53340 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T14:45:02Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition