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

i2c: amd-mp2: Unregister callback on adapter add failure

amd_mp2_register_cb() stores the platform I2C context in the MP2 PCI
driver's callback table before the adapter is registered. If
i2c_add_adapter() fails, probe returns and devres frees the context,
but the PCI driver can still dereference the stale pointer from its IRQ
and system-sleep callbacks.

Unregister the callback before returning the adapter registration error.
Published: 2026-08-28
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use‑After‑Free in kernel leading to potential memory corruption or arbitrary code execution
Action: Apply patch
AI Analysis

Impact

The vulnerability allows a kernel use‑after‑free when the amd‑mp2 driver registers an I2C adapter. The driver stores a platform I2C context before the adapter registration succeeds. If i2c_add_adapter() fails, the context is freed, yet the driver’s IRQ and sleep callbacks may still dereference the stale pointer. This stale reference can corrupt kernel memory or cause a crash, potentially allowing an attacker to execute arbitrary code with kernel privileges.

Affected Systems

All Linux kernel installations that include the amd‑mp2 PCI driver and I2C subsystem. No specific kernel version is listed in the data, so any kernel containing the affected code path is at risk.

Risk and Exploitability

The likely attack vector is a local kernel context where an attacker can load the amd‑mp2 driver and trigger an adapter add that fails, leading to the use‑after‑free. Based on the description, it is inferred that an attacker who can run privileged kernel code could exploit this to gain higher privileges or crash the system. The EPSS score is < 1%, indicating a very low but nonzero probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The CVSS score is 7.8, indicating a high severity, and use‑after‑free in the kernel typically leads to memory corruption or arbitrary code execution. The attack path relies on a failed adapter registration, a scenario that can occur during driver initialization or dynamic device probing.

Generated by OpenCVE AI on September 1, 2026 at 14:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that contains the commit that removes the callback before returning on adapter registration failure
  • If an immediate kernel upgrade is not possible, disable the amd‑mp2 driver and any I2C devices that rely on it to eliminate the vulnerable code path
  • Implement monitoring or logging for i2c_add_adapter failures and enforce that no user‑space process can force adapter addition failures in a mixed‑mode environment

Generated by OpenCVE AI on September 1, 2026 at 14:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
History

Tue, 01 Sep 2026 12:15:00 +0000

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

None

threat_severity

Moderate


Sat, 29 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 29 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 29 Aug 2026 06: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'}


Fri, 28 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 28 Aug 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 28 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: i2c: amd-mp2: Unregister callback on adapter add failure amd_mp2_register_cb() stores the platform I2C context in the MP2 PCI driver's callback table before the adapter is registered. If i2c_add_adapter() fails, probe returns and devres frees the context, but the PCI driver can still dereference the stale pointer from its IRQ and system-sleep callbacks. Unregister the callback before returning the adapter registration error.
Title i2c: amd-mp2: Unregister callback on adapter 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-08-29T06:22:06.613Z

Reserved: 2026-08-26T14:34:25.783Z

Link: CVE-2026-80680

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:53.350

Modified: 2026-08-29T07:16:50.370

Link: CVE-2026-80680

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-28T00:00:00Z

Links: CVE-2026-80680 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T15:00:11Z

Weaknesses