Bug 2546445 (CVE-2026-98218) - CVE-2026-98218 kernel: i2c: atr: fix dangling adapter pointer on add failure
Summary: CVE-2026-98218 kernel: i2c: atr: fix dangling adapter pointer on add failure
Keywords:
Status: NEW
Alias: CVE-2026-98218
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-06 09:21 UTC by OSIDB Bzimport
Modified: 2026-10-09 11:45 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-06 09:21:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.