CVE-2026-74461
i2c: imx: Cancel hrtimer before clearing slave pointer
Description
In the Linux kernel, the following vulnerability has been resolved: i2c: imx: Cancel hrtimer before clearing slave pointer In i2c_imx_unreg_slave(), the slave pointer is set to NULL after disabling interrupts. However, a pending interrupt might already have started the hrtimer (i2c_imx_slave_timeout) before the pointer was cleared. If the hrtimer fires after i2c_imx->slave is set to NULL, the timer callback i2c_imx_slave_finish_op() will call i2c_imx_slave_event() with a NULL slave pointer, which results in a use-after-free / NULL pointer dereference. Fix by canceling the hrtimer and waiting for it to complete after disabling interrupts, before clearing the slave pointer.
INFO
Published Date :
Aug. 15, 2026, 1:17 p.m.
Last Modified :
Aug. 15, 2026, 1:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Cancel hrtimer after disabling interrupts.
- Wait for hrtimer to complete.
- Clear slave pointer.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74461.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74461 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74461
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74461 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74461 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'f7414cd6923fd7f78e57086fc964ba2dc25db5c1', 'lessThan': 'a8a1f9ac3d763e721586f15479ef9140b216ddf3', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7414cd6923fd7f78e57086fc964ba2dc25db5c1', 'lessThan': '753060f2b77ff2f386addbd3ecadb95b9f90cddd', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7414cd6923fd7f78e57086fc964ba2dc25db5c1', 'lessThan': 'affd62f5719a78135b7441aa49c8cab3c3b5e838', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7414cd6923fd7f78e57086fc964ba2dc25db5c1', 'lessThan': 'dab4762ee7f3fd0a01980d5407ba48d0261d3bff', 'versionType': 'git'}, {'status': 'affected', 'version': 'f7414cd6923fd7f78e57086fc964ba2dc25db5c1', 'lessThan': '6ac7702b6cc2b94aaed9ef2d95bfbefcdc90061f', 'versionType': 'git'}], 'programFiles': ['drivers/i2c/busses/i2c-imx.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.151', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.103', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.44', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.8', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc6', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/i2c/busses/i2c-imx.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: i2c: imx: Cancel hrtimer before clearing slave pointer In i2c_imx_unreg_slave(), the slave pointer is set to NULL after disabling interrupts. However, a pending interrupt might already have started the hrtimer (i2c_imx_slave_timeout) before the pointer was cleared. If the hrtimer fires after i2c_imx->slave is set to NULL, the timer callback i2c_imx_slave_finish_op() will call i2c_imx_slave_event() with a NULL slave pointer, which results in a use-after-free / NULL pointer dereference. Fix by canceling the hrtimer and waiting for it to complete after disabling interrupts, before clearing the slave pointer. Added Reference https://git.kernel.org/stable/c/6ac7702b6cc2b94aaed9ef2d95bfbefcdc90061f Added Reference https://git.kernel.org/stable/c/753060f2b77ff2f386addbd3ecadb95b9f90cddd Added Reference https://git.kernel.org/stable/c/a8a1f9ac3d763e721586f15479ef9140b216ddf3 Added Reference https://git.kernel.org/stable/c/affd62f5719a78135b7441aa49c8cab3c3b5e838 Added Reference https://git.kernel.org/stable/c/dab4762ee7f3fd0a01980d5407ba48d0261d3bff