Description
In the Linux kernel, the following vulnerability has been resolved:

i2c: atr: fix dangling adapter pointer on add failure

i2c_atr_add_adapter() stores atr->adapter[chan_id] before
i2c_add_adapter() so that the I2C bus notifier can match child clients
during registration. On failure the channel is freed but the slot was
left pointing at freed memory, which can lead to use-after-free in
i2c_atr_del_adapter() / cleanup and also block reuse with -EEXIST.

Clear the slot on the i2c_add_adapter() error path before freeing chan.
Published: 2026-10-06
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Use‑After‑Free leading to kernel memory corruption
Action: Patch ASAP
AI Analysis

Impact

The Linux kernel’s I2C ATR driver stores a pointer to an ATR channel in the adapter array before the adapter register operation succeeds. If the registration fails, the channel resource is freed, but the adapter array still holds the stale pointer. Subsequent cleanup or deregistration functions later dereference that pointer. This use‑after‑free can corrupt kernel memory, potentially causing a kernel crash or allowing an attacker to execute arbitrary code in kernel mode.

Affected Systems

Any Linux kernel build that includes the I2C ATR driver without the patch committed in the referenced kernel Git changes is affected. Because the advisory does not specify a particular kernel release, all releases containing the driver prior to the fix are subject to the flaw. Systems running kernel versions that implement the referenced commit are not vulnerable.

Risk and Exploitability

The CVSS score 5.5 indicates a medium severity. The EPSS score is less than 1% and the vulnerability is not listed in CISA KEV, so there is no known public exploitation. Based on the description, it is inferred that the likely attack vector requires a local or privileged process that can trigger a failed I2C adapter registration. If such a process exists, the resulting memory corruption could be leveraged for local privilege escalation or denial of service. The probability of exploitation is low, but the potential impact justifies prompt remediation.

Generated by OpenCVE AI on October 10, 2026 at 04:31 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the i2c ATR driver fix, such as any release after the commit referenced in the advisory.
  • If a kernel upgrade cannot be performed immediately, disable or unload the i2c ATR module to prevent new adapters from being registered.
  • After applying the patch or disabling the module, reboot the system to clear any stale references and monitor system logs for I2C‑related errors.

Generated by OpenCVE AI on October 10, 2026 at 04:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
History

Sat, 10 Oct 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 10 Oct 2026 00:30:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


Tue, 06 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: i2c: atr: fix dangling adapter pointer on add failure i2c_atr_add_adapter() stores atr->adapter[chan_id] before i2c_add_adapter() so that the I2C bus notifier can match child clients during registration. On failure the channel is freed but the slot was left pointing at freed memory, which can lead to use-after-free in i2c_atr_del_adapter() / cleanup and also block reuse with -EEXIST. Clear the slot on the i2c_add_adapter() error path before freeing chan.
Title i2c: atr: fix dangling adapter pointer on add failure
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-10-19T09:15:49.004Z

Reserved: 2026-09-25T10:25:14.326Z

Link: CVE-2026-98218

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:08.590

Modified: 2026-10-19T10:18:22.583

Link: CVE-2026-98218

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98218 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-10T04:45:07Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference