CVE-2026-74462: i2c: imx: mark I2C adapter when hardware is powered down

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081533-CVE-2026-74462-9337@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

i2c: imx: mark I2C adapter when hardware is powered down

On some i.MX platforms, certain I2C client drivers keep a periodic
workqueue which continues to trigger I2C transfers.

During system suspend/resume, there exists a time window between:
  - suspend_noirq and the system entering suspend
  - the system starting to resume and resume_noirq

In this window, the I2C controller resources such as clock and pinctrl
may already be disabled or not yet restored.

If a workqueue triggers an I2C transfer in this period, the driver
attempts to access I2C registers while the hardware resources are
unavailable, which may lead to system hang.

Mark the I2C adapter as suspended during noirq suspend and block new
transfers until resume, ensuring that I2C transfers are only issued
when hardware resources are available.

The Linux kernel CVE team has assigned CVE-2026-74462 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.14 with commit 358025ac091e5a54f9819b33ee9c7cb07c55ee5d and fixed in 6.18.44 with commit 7a5db225ab5a6b095f6c37197b3b114921d85541
	Issue introduced in 6.14 with commit 358025ac091e5a54f9819b33ee9c7cb07c55ee5d and fixed in 7.1.8 with commit ec8e15e3e5c7e8180b13399f5a5aff8415bf16c5
	Issue introduced in 6.14 with commit 358025ac091e5a54f9819b33ee9c7cb07c55ee5d and fixed in 7.2-rc6 with commit 00d86dd5c2034e0e139e4806137b3b43e07ddd83

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-74462
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/i2c/busses/i2c-imx.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/7a5db225ab5a6b095f6c37197b3b114921d85541
	https://git.kernel.org/stable/c/ec8e15e3e5c7e8180b13399f5a5aff8415bf16c5
	https://git.kernel.org/stable/c/00d86dd5c2034e0e139e4806137b3b43e07ddd83
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.