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.
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A race condition in the Linux I2C core allows an adapter to be looked up before its device structure is fully initialized, causing uninitialized data access that can lead to a NULL‑pointer dereference or use‑after‑free. This flaw could corrupt kernel memory or trigger a kernel panic, thereby compromising system availability.

Affected Systems

All Linux kernel versions older than the commit that adds the race‑condition check (e.g., commit 6a946038f2a5a8c29048c6af369d4e391448a5c5) are affected. Distributions that have not applied this commit or an equivalent backport remain vulnerable.

Risk and Exploitability

The vulnerability receives a CVSS score of 7.8, classifying it as high severity, while an EPSS score of less than 1 % indicates low exploitation probability as of the latest assessment. The flaw is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker with local access could provoke the race condition by manipulating I2C device registration or loading a malicious driver, potentially leading to a kernel crash or memory corruption.

Generated by OpenCVE AI on August 3, 2026 at 02:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that contains the fix, such as the current stable kernel or a backport of commit 6a946038f2a5a8c29048c6af369d4e391448a5c5.
  • If a kernel upgrade is not feasible, manually apply the patch that performs the race‑condition check in the i2c core, ensuring adapters are only added to the IDR after their device structures are fully initialized.
  • Restrict or disable unnecessary I2C devices and the i2c‑dev character device to reduce the attack surface.

Generated by OpenCVE AI on August 3, 2026 at 02:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
History

Fri, 24 Jul 2026 18:30:00 +0000


Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
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.
Title i2c: core: fix adapter registration race
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:35:39.806Z

Reserved: 2026-06-09T07:44:35.403Z

Link: CVE-2026-53400

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-53400 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T02:45:03Z

Weaknesses
  • CWE-824

    Access of Uninitialized Pointer