# CVE-2026-98218: i2c: atr: fix dangling adapter pointer on add failure

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-06T08:44:54.034Z
- **Modified:** 2026-10-19T10:18:22.583Z

## Who should check

- Anyone running Linux \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< 2f5e42edbd232bf705dc5d3a91e06344237e63bb; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< 1093835f6aef58a831298d93e0d93f244fa07b84; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< eabf7a3d33cd9fad106d267d00cc842434de8e02; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< a57d9592714506556e30188af72dd3bdb9f647b5; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< ad34235808b63a70ca4989b7a2852923193d06ef
- Anyone running Linux 6.6

## Description

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

i2c: atr: fix dangling adapter pointer on add failure

i2c\_atr\_add\_adapter() stores atr-\>adapter\[chan\_id\] before
i2c\_add\_adapter() so that the I2C bus notifier can match child clients
during registration. On failure the channel is freed but the slot was
left pointing at freed memory, which can lead to use-after-free in
i2c\_atr\_del\_adapter() / cleanup and also block reuse with -EEXIST.

Clear the slot on the i2c\_add\_adapter() error path before freeing chan.

## Affected and fixed versions

- Linux: \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< 2f5e42edbd232bf705dc5d3a91e06344237e63bb; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< 1093835f6aef58a831298d93e0d93f244fa07b84; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< eabf7a3d33cd9fad106d267d00cc842434de8e02; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< a57d9592714506556e30188af72dd3bdb9f647b5; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< ad34235808b63a70ca4989b7a2852923193d06ef (cvelist)
- Linux: 6.6 (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-98218. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98218.md
Affected: Linux >= a076a860acae77bbdcbd316541e5552e81fb1772, < 2f5e42edbd232bf705dc5d3a91e06344237e63bb; >= a076a860acae77bbdcbd316541e5552e81fb1772, < 1093835f6aef58a831298d93e0d93f244fa07b84; >= a076a860acae77bbdcbd316541e5552e81fb1772, < eabf7a3d33cd9fad106d267d00cc842434de8e02; >= a076a860acae77bbdcbd316…
Fixed in: Linux 2f5e42edbd232bf705dc5d3a91e06344237e63bb, Linux 1093835f6aef58a831298d93e0d93f244fa07b84

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-98218 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< 2f5e42edbd232bf705dc5d3a91e06344237e63bb; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< 1093835f6aef58a831298d93e0d93f244fa07b84; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< eabf7a3d33cd9fad106d267d00cc842434de8e02; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< a57d9592714506556e30188af72dd3bdb9f647b5; \>= a076a860acae77bbdcbd316541e5552e81fb1772, \< ad34235808b63a70ca4989b7a2852923193d06ef; Linux 6.6.

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

Yes. Fixed in Linux 2f5e42edbd232bf705dc5d3a91e06344237e63bb, Linux 1093835f6aef58a831298d93e0d93f244fa07b84. No fix listed yet: follow the vendor advisory.

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

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/2f5e42edbd232bf705dc5d3a91e06344237e63bb>
- other: <https://git.kernel.org/stable/c/1093835f6aef58a831298d93e0d93f244fa07b84>
- other: <https://git.kernel.org/stable/c/eabf7a3d33cd9fad106d267d00cc842434de8e02>
- other: <https://git.kernel.org/stable/c/a57d9592714506556e30188af72dd3bdb9f647b5>
- other: <https://git.kernel.org/stable/c/ad34235808b63a70ca4989b7a2852923193d06ef>

## 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-98218>

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