Description
In the Linux kernel, the following vulnerability has been resolved: i2c: core: fix adapter registration race Adapters can be looked up based on their id using i2c_get_adapter() which takes a reference to the embedded struct device. Make sure that the adapter (including its struct device) has been initialised before adding it to the IDR to avoid accessing uninitialised data which could, for example, lead to NULL-pointer dereferences or use-after-free. Note that the i2c-dev chardev, which is registered from a bus notifier, currently uses i2c_get_adapter() so the adapter needs to be added to the IDR before registration.
References (8)
Core 8
Core References
Scores
CVSS v3
7.8
EPSS
0.0010
EPSS Percentile
1.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-362
Status
published
Products (27)
linux/Kernel
2.6.22 - 5.10.261linux
linux/Kernel
2.6.22 - 6.12.95linux
linux/Kernel
5.11.0 - 5.15.212linux
linux/Kernel
5.16.0 - 6.1.178linux
linux/Kernel
6.13.0 - 6.18.38linux
linux/Kernel
6.19.0 - 7.1.3linux
linux/Kernel
6.2.0 - 6.6.145linux
linux/Kernel
6.7.0 - 6.12.95linux
Linux/Linux
< 2.6.22
Linux/Linux
2.6.22
... and 17 more
Published
Jul 19, 2026
Tracked Since
Jul 19, 2026