CVE-2026-53340

i2c: imx: fix clock and pinctrl state inconsistency in runtime PM

Published Jul 1, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 centered on potential local denial of service for systems running the affected driver.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the CVE-2026-53340 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 August 12, 2026 at 08:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-391
CWE-395
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

Type Values Removed Values Added
Weaknesses CWE-391
CWE-395
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jul 1, 2026, 1:32 PM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jul 1, 2026, 2:16 PM
Modified
Jul 23, 2026, 9:32 PM
Severity
Low
Public date
Jul 1, 2026, 12:00 AM