i2c: core: fix adapter registration race (Linux Linux)

CVE-2026-53400
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.14 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6e13e641841833cc2aa5baefe89bb04bc388801b < 2e57c788e71f1763445f812eba4e0b4a2fbd0646 ; affected 6e13e641841833cc2aa5baefe89bb04bc388801b < a4365bc41baaf67f3a5aa8556d23544e6ec7480a ; affected 6e13e641841833cc2aa5baefe89bb04bc388801b < 1febb174815bcae56d73587e99e8f87e02f0784d ; affected 6e13e641841833cc2aa5baefe89bb04bc388801b < da9d8d9711f78deebc202d0cffcf577e45ee8621 ; affected 6e13e641841833cc2aa5baefe89bb04bc388801b < 78793c75dc6d0ff2e4d50ad617349b328a99054e ; affected 6e13e641841833cc2aa5baefe89bb04bc388801b < 6a946038f2a5a8c29048c6af369d4e391448a5c5
Linux · Linuxaffected 2.6.22 ; unaffected 0 < 2.6.22 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD