# CVE-2026-80678: i2c: imx: Fix slave registration race and error handling

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-08-28T06:52:47.077Z
- **Modified:** 2026-10-16T20:18:05.967Z

## Who should check

- Anyone running Linux \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< 754bc62f72fd64b202462367134ac8ce95b005de; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< cfdf6e13518589f911b7eace6ccb788e4ed87397; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< b9f6f4883b9ac86654e75899d0dbf8a7a96ad5d8; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< d6748f6802f3eebafaa16a5e5dcfbfb9b3bc173f; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< 12a4f0950a158d98552cbaeacc35edccd8d975fa; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< 614ca6594e301ff682999797c2216e9685558a2b; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< d64ec362c369bbc33833f7936d5f3a706b0d5c45
- Anyone running Linux 5.11

## Description

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

i2c: imx: Fix slave registration race and error handling

In i2c\_imx\_reg\_slave(), the slave pointer was assigned before
pm\_runtime\_resume\_and\_get().  If pm\_runtime\_resume\_and\_get() failed,
the error path returned without clearing i2c\_imx-\>slave, leaving it
non-NULL and causing all subsequent registration attempts to fail
with -EBUSY.

Additionally, because this driver uses a shared IRQ, the interrupt
handler i2c\_imx\_isr() can execute concurrently and, after acquiring
slave\_lock, dereference i2c\_imx-\>slave.  The previous fix attempt
added a lockless i2c\_imx-\>slave = NULL on the error path, but that
could race with the ISR under the lock and still cause a NULL pointer
dereference.

Fix both issues by deferring the assignment of i2c\_imx-\>slave and
i2c\_imx-\>last\_slave\_event to after a successful resume, and by
performing the assignment inside the slave\_lock critical section.
This guarantees that the slave pointer is never left stale on the
error path and is always valid when observed by the interrupt handler.

## Affected and fixed versions

- Linux: \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< 754bc62f72fd64b202462367134ac8ce95b005de; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< cfdf6e13518589f911b7eace6ccb788e4ed87397; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< b9f6f4883b9ac86654e75899d0dbf8a7a96ad5d8; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< d6748f6802f3eebafaa16a5e5dcfbfb9b3bc173f; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< 12a4f0950a158d98552cbaeacc35edccd8d975fa; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< 614ca6594e301ff682999797c2216e9685558a2b; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< d64ec362c369bbc33833f7936d5f3a706b0d5c45 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80678. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80678.md
Affected: Linux >= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, < 754bc62f72fd64b202462367134ac8ce95b005de; >= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, < cfdf6e13518589f911b7eace6ccb788e4ed87397; >= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, < b9f6f4883b9ac86654e75899d0dbf8a7a96ad5d8; >= f7414cd6923fd7f78e57086…
Fixed in: Linux 754bc62f72fd64b202462367134ac8ce95b005de, Linux 12a4f0950a158d98552cbaeacc35edccd8d975fa, Linux 614ca6594e301ff682999797c2216e9685558a2b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80678 being exploited?

There is no confirmed exploitation: CVE-2026-80678 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80678?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-80678?

Linux \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< 754bc62f72fd64b202462367134ac8ce95b005de; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< cfdf6e13518589f911b7eace6ccb788e4ed87397; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< b9f6f4883b9ac86654e75899d0dbf8a7a96ad5d8; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< d6748f6802f3eebafaa16a5e5dcfbfb9b3bc173f; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< 12a4f0950a158d98552cbaeacc35edccd8d975fa; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< 614ca6594e301ff682999797c2216e9685558a2b; \>= f7414cd6923fd7f78e57086fc964ba2dc25db5c1, \< d64ec362c369bbc33833f7936d5f3a706b0d5c45; Linux 5.11.

### Is there a fix for CVE-2026-80678?

Yes. Fixed in Linux 754bc62f72fd64b202462367134ac8ce95b005de, Linux 12a4f0950a158d98552cbaeacc35edccd8d975fa, Linux 614ca6594e301ff682999797c2216e9685558a2b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-80678?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/754bc62f72fd64b202462367134ac8ce95b005de>
- other: <https://git.kernel.org/stable/c/cfdf6e13518589f911b7eace6ccb788e4ed87397>
- other: <https://git.kernel.org/stable/c/b9f6f4883b9ac86654e75899d0dbf8a7a96ad5d8>
- other: <https://git.kernel.org/stable/c/d6748f6802f3eebafaa16a5e5dcfbfb9b3bc173f>
- other: <https://git.kernel.org/stable/c/12a4f0950a158d98552cbaeacc35edccd8d975fa>
- other: <https://git.kernel.org/stable/c/614ca6594e301ff682999797c2216e9685558a2b>
- other: <https://git.kernel.org/stable/c/d64ec362c369bbc33833f7936d5f3a706b0d5c45>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80678>

HTML: <https://flawdb.com/CVE-2026-80678> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80678>
