{"id":"CVE-2026-98218","aliases":["CVE-2026-98218"],"related":[],"kind":"vulnerability","state":"published","title":"i2c: atr: fix dangling adapter pointer on add failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: atr: fix dangling adapter pointer on add failure\n\ni2c_atr_add_adapter() stores atr->adapter[chan_id] before\ni2c_add_adapter() so that the I2C bus notifier can match child clients\nduring registration. On failure the channel is freed but the slot was\nleft pointing at freed memory, which can lead to use-after-free in\ni2c_atr_del_adapter() / cleanup and also block reuse with -EEXIST.\n\nClear the slot on the i2c_add_adapter() error path before freeing chan.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: atr: fix dangling adapter pointer on add failure\n\ni2c_atr_add_adapter() stores atr->adapter[chan_id] before\ni2c_add_adapter() so that the I2C bus notifier can match child clients\nduring registration. On failure the channel is freed but the slot was\nleft pointing at freed memory, which can lead to use-after-free in\ni2c_atr_del_adapter() / cleanup and also block reuse with -EEXIST.\n\nClear the slot on the i2c_add_adapter() error path before freeing chan.","source":"cvelist"}],"published":"2026-10-06T08:44:54.034Z","modified":"2026-10-19T10:18:22.583Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a076a860acae77bbdcbd316541e5552e81fb1772","fixed":"2f5e42edbd232bf705dc5d3a91e06344237e63bb","status":"affected"},{"type":"git","introduced":"a076a860acae77bbdcbd316541e5552e81fb1772","fixed":"1093835f6aef58a831298d93e0d93f244fa07b84","status":"affected"},{"type":"git","introduced":"a076a860acae77bbdcbd316541e5552e81fb1772","fixed":"eabf7a3d33cd9fad106d267d00cc842434de8e02","status":"affected"},{"type":"git","introduced":"a076a860acae77bbdcbd316541e5552e81fb1772","fixed":"a57d9592714506556e30188af72dd3bdb9f647b5","status":"affected"},{"type":"git","introduced":"a076a860acae77bbdcbd316541e5552e81fb1772","fixed":"ad34235808b63a70ca4989b7a2852923193d06ef","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2f5e42edbd232bf705dc5d3a91e06344237e63bb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1093835f6aef58a831298d93e0d93f244fa07b84","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eabf7a3d33cd9fad106d267d00cc842434de8e02","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a57d9592714506556e30188af72dd3bdb9f647b5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad34235808b63a70ca4989b7a2852923193d06ef","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98218","url":"https://www.cve.org/CVERecord?id=CVE-2026-98218","licence":"CVE Terms of Use","modified":"2026-10-19T09:15:49.004Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98218","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98218","licence":"Public domain","modified":"2026-10-19T10:18:22.583Z"}],"updatedAt":"2026-11-25T22:59:42.292Z","epss":{"score":0.00168,"percentile":0.06361,"date":"2026-12-01T12:00:22.000Z"}}