i2c: core: fix adapter deregistration race
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.212, Kernel 6.1.178, Kernel 6.18.39 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: i2c: core: fix adapter deregistration race Adapters can be looked up by their id using i2c_get_adapter() which takes a reference to the embedded struct device. Remove the adapter from the IDR before tearing it down during deregistration (and on registration failure) to make sure its resources are not accessed after having been freed (e.g. the device name).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2.6.31 <5.15.212, >=5.16 <6.1.178, >=6.13 <6.18.39, >=6.19 <7.1.4, >=6.2 <6.6.145, >=6.7 <6.12.96, >=35fc37f8188177e3ba3e7f99a6e3300e490e9181 <35dbd1f1f603401155cbd3a180bb18e3a3b675b8, >=35fc37f8188177e3ba3e7f99a6e3300e490e9181 <9882a9bd74db08e7bae5821a7050627ae92d3380, >=35fc37f8188177e3ba3e7f99a6e3300e490e9181 <b1a58ed9eab146b36f41a55db8f5d7ce9fdedf3f, >=35fc37f8188177e3ba3e7f99a6e3300e490e9181 <b6d2af6fe9c1f5ec0484536753c979cbd40a8ac3, >=35fc37f8188177e3ba3e7f99a6e3300e490e9181 <bb234487a447a99315add1b46aa57b72e163e1eb, >=35fc37f8188177e3ba3e7f99a6e3300e490e9181 <d39282f552dd6c35b9b84b4af78f1198c24f3373, =2.6.31, >=35fc37f8188177e3ba3e7f99a6e3300e490e9181 <11dfa37bf544cc806f21742ca2fd2d841bd7032e | 5.15.212, 6.1.178, 6.18.39, 7.1.4, 6.6.145, 6.12.96, 35dbd1f1f603401155cbd3a180bb18e3a3b675b8, 9882a9bd74db08e7bae5821a7050627ae92d3380, b1a58ed9eab146b36f41a55db8f5d7ce9fdedf3f, b6d2af6fe9c1f5ec0484536753c979cbd40a8ac3, bb234487a447a99315add1b46aa57b72e163e1eb, d39282f552dd6c35b9b84b4af78f1198c24f3373, 11dfa37bf544cc806f21742ca2fd2d841bd7032e |
| linux-kernel: Kernel | >=2.6.31 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.39, >=6.19.0 <7.1.4, >=6.2.0 <6.6.145, >=6.7.0 <6.12.96 | 5.15.212, 6.1.178, 6.18.39, 7.1.4, 6.6.145, 6.12.96 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket