{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-80680",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-80680"
  ],
  "published": "2026-08-28T06:53:24Z",
  "summary": "i2c: amd-mp2: Unregister callback on adapter add failure",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: amd-mp2: Unregister callback on adapter add failure\n\namd_mp2_register_cb() stores the platform I2C context in the MP2 PCI\ndriver's callback table before the adapter is registered. If\ni2c_add_adapter() fails, probe returns and devres frees the context,\nbut the PCI driver can still dereference the stale pointer from its IRQ\nand system-sleep callbacks.\n\nUnregister the callback before returning the adapter registration error.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.183",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-80680"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9142a3dcff0d80a3a24ce159aee19ddc869d9784"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2f7789b3a9628819ebf90bcba8f9da3c139f8687"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4786d4d70dcd1e6b7e044f2348e00f201947b69c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b7c2c5c8868737926410b93d1223ada17625ead3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/cf107c5983dc70fcf932a305581a5f976d908ff1"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1883a09a37fed497b9efacf736c23624a472246b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8bf719659406e4a1b56d441e0c7da2085d891d96"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/82048795242f04275a3f49ffc66ad851b6120954"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-29T06:25:05Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The flaw is in AMD MP2 platform-driver probe teardown and PCI IRQ/system-sleep callbacks, reachable only via local suspend/resume or MP2 hardware interrupts on affected Ryzen laptops; there is no network, Bluetooth, or userspace I2C ioctl path to the stale callback table.\nAC:L - Once i2c_add_adapter() fails the dangling busses[] pointer is deterministic; an attacker can force that registration failure with memory pressure or driver rebind on modular builds, then reliably trigger the UAF through system suspend or MP2 IRQ without uncontrollable races.\nPR:L - After the flawed probe error path leaves the stale callback registered, local users can invoke system suspend via logind/systemctl without init-namespace root, and MP2 IRQs can fire from the already-enabled bus; per CNA guidance Low is used when probe/bind privilege gating is ambiguous.\nUI:N - Exploitation requires no separate victim action; the attacker triggers suspend themselves or relies on automatic MP2 hardware interrupts from an enabled bus, without needing another user to mount filesystems or open files.\nS:U - Impact is host-kernel heap corruption and privilege escalation from stale callback dereference; it does not cross VM, IOMMU, or sandbox security boundaries.\nC:H - The IRQ handler writes into freed amd_i2c_common memory and invokes cmd_completion from the stale object; this UAF provides attacker-influenced heap reuse and arbitrary kernel read primitives per kernel CNA UAF guidance.\nI:H - Suspend/resume and IRQ paths call function pointers through the freed amd_i2c_common structure, enabling control-flow hijack and heap corruption consistent with exploitable UAF write primitives.\nA:H - Stale callback dereference in IRQ or system-sleep paths causes kernel oops/panic and loss of availability; UAF heap corruption can also hang or crash affected AMD MP2 systems on every suspend or interrupt."
    }
  }
}
