What’s Vulnerable › Vulnerabilities
CVE-2026-98218: i2c: atr: fix dangling adapter pointer on add failure
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-06 · updated 2026-10-19
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 products
- Linux kernel: 6.6 — fixed in 7.3
How to fix
Upgrade to a fixed version: Linux kernel 7.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1093835f6aef58a831298d93e0d93f244fa07b84
- https://git.kernel.org/stable/c/2f5e42edbd232bf705dc5d3a91e06344237e63bb
- https://git.kernel.org/stable/c/a57d9592714506556e30188af72dd3bdb9f647b5
- https://git.kernel.org/stable/c/ad34235808b63a70ca4989b7a2852923193d06ef
- https://git.kernel.org/stable/c/eabf7a3d33cd9fad106d267d00cc842434de8e02
Get alerted when CVE-2026-98218 or the next vulnerability affects your stack