---
id: CVE-2026-80680
title: |-
  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 adapte…
summary: |-
  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 adapte…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
published: '2026-08-28'
updated: '2026-08-29'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80680'
references:
  - url: 'https://git.kernel.org/stable/c/1883a09a37fed497b9efacf736c23624a472246b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2f7789b3a9628819ebf90bcba8f9da3c139f8687'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4786d4d70dcd1e6b7e044f2348e00f201947b69c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/82048795242f04275a3f49ffc66ad851b6120954'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8bf719659406e4a1b56d441e0c7da2085d891d96'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9142a3dcff0d80a3a24ce159aee19ddc869d9784'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b7c2c5c8868737926410b93d1223ada17625ead3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cf107c5983dc70fcf932a305581a5f976d908ff1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00129
epssPercentile: 0.02907
ingestedAt: '2026-08-30T04:47:10.372Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
