CVE-2026-98218
Linux: i2c: atr: fix dangling adapter pointer on add failure
CVSS
NoneNot scoredExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.18%Chance of exploitation activity in the next 30 days, higher than 6% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in2f5e42edbd232bf705dc5d3a91e06344237e63bbAlso 1093835f6aef58a831298d93e0d93f244fa07b84CVE List
What fixes it
- 2f5e42edbd232bf705dc5d3a91e06344237e63bbLinuxCVE List
- 1093835f6aef58a831298d93e0d93f244fa07b84LinuxCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 12
- Linuxaffected: a076a860acae77bbdcbd316541e5552e81fb1772 before 2f5e42edbd232bf705dc5d3a91e06344237e63bbCVE List
- Linuxaffected: a076a860acae77bbdcbd316541e5552e81fb1772 before 1093835f6aef58a831298d93e0d93f244fa07b84CVE List
- Linuxaffected: a076a860acae77bbdcbd316541e5552e81fb1772 before eabf7a3d33cd9fad106d267d00cc842434de8e02CVE List
- Linuxaffected: a076a860acae77bbdcbd316541e5552e81fb1772 before a57d9592714506556e30188af72dd3bdb9f647b5CVE List
- Linuxaffected: a076a860acae77bbdcbd316541e5552e81fb1772 before ad34235808b63a70ca4989b7a2852923193d06efCVE List
- Linuxaffected: 6.6CVE List
- Linuxunaffected: all versions before 6.6CVE List
- Linuxunaffected: 6.6.158 through 6.6.*CVE List
- Linuxunaffected: 6.12.112 through 6.12.*CVE List
- Linuxunaffected: 6.18.54 through 6.18.*CVE List
- Linuxunaffected: 7.2.8 through 7.2.*CVE List
- Linuxunaffected: 7.3CVE List
References 5
- git.kernel.org/stable/c/2f5e42edbd232bf705dc5d3a91e06344237e63bbReferencevia CVE List
- git.kernel.org/stable/c/1093835f6aef58a831298d93e0d93f244fa07b84Referencevia CVE List
- git.kernel.org/stable/c/eabf7a3d33cd9fad106d267d00cc842434de8e02Referencevia CVE List
- git.kernel.org/stable/c/a57d9592714506556e30188af72dd3bdb9f647b5Referencevia CVE List
- git.kernel.org/stable/c/ad34235808b63a70ca4989b7a2852923193d06efReferencevia CVE List