Linux Kernel: i2c core adapter registration race fixed
CVE-2026-53400 Published on July 19, 2026
i2c: core: fix adapter registration race
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.
Products Associated with CVE-2026-53400
stack.watch emails you whenever new vulnerabilities are published in Linux Kernel or Canonical Ubuntu Linux. Just hit a watch button to start following.
Affected Versions
Linux:- Version 6e13e641841833cc2aa5baefe89bb04bc388801b and below 2e57c788e71f1763445f812eba4e0b4a2fbd0646 is affected.
- Version 6e13e641841833cc2aa5baefe89bb04bc388801b and below a4365bc41baaf67f3a5aa8556d23544e6ec7480a is affected.
- Version 6e13e641841833cc2aa5baefe89bb04bc388801b and below 1febb174815bcae56d73587e99e8f87e02f0784d is affected.
- Version 6e13e641841833cc2aa5baefe89bb04bc388801b and below da9d8d9711f78deebc202d0cffcf577e45ee8621 is affected.
- Version 6e13e641841833cc2aa5baefe89bb04bc388801b and below 78793c75dc6d0ff2e4d50ad617349b328a99054e is affected.
- Version 6e13e641841833cc2aa5baefe89bb04bc388801b and below 6a946038f2a5a8c29048c6af369d4e391448a5c5 is affected.
- Version 6e13e641841833cc2aa5baefe89bb04bc388801b and below a4c8094bbf4c6fa68b17e3b16f6a0a1b7a14f3e0 is affected.
- Version 6e13e641841833cc2aa5baefe89bb04bc388801b and below ba14d7cf2fe7284610a29854bdff22b2537d3ce6 is affected.
- Version 2.6.22 is affected.
- Before 2.6.22 is unaffected.
- Version 5.10.261, <= 5.10.* is unaffected.
- Version 5.15.212, <= 5.15.* is unaffected.
- Version 6.1.178, <= 6.1.* is unaffected.
- Version 6.6.145, <= 6.6.* is unaffected.
- Version 6.12.95, <= 6.12.* is unaffected.
- Version 6.18.38, <= 6.18.* is unaffected.
- Version 7.1.3, <= 7.1.* is unaffected.
- Version 7.2, <= * is unaffected.
- Version V3.1.6 and below * is affected.
- Version V3.1.6 and below * is affected.
- Version V3.1.6 and below * is affected.
- Version V3.1.6 and below * is affected.
- Version V3.1.6 and below * is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.