CVE-2026-80680 PUBLISHED

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

Assigner: Linux
Reserved: 26.08.2026 Published: 28.08.2026 Updated: 28.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 529766e0a0114438887382a68d97341fbf8349fb to 9142a3dcff0d80a3a24ce159aee19ddc869d9784 (excl.)
  • affected from 529766e0a0114438887382a68d97341fbf8349fb to 2f7789b3a9628819ebf90bcba8f9da3c139f8687 (excl.)
  • affected from 529766e0a0114438887382a68d97341fbf8349fb to 4786d4d70dcd1e6b7e044f2348e00f201947b69c (excl.)
  • affected from 529766e0a0114438887382a68d97341fbf8349fb to b7c2c5c8868737926410b93d1223ada17625ead3 (excl.)
  • affected from 529766e0a0114438887382a68d97341fbf8349fb to cf107c5983dc70fcf932a305581a5f976d908ff1 (excl.)
  • affected from 529766e0a0114438887382a68d97341fbf8349fb to 1883a09a37fed497b9efacf736c23624a472246b (excl.)
  • affected from 529766e0a0114438887382a68d97341fbf8349fb to 8bf719659406e4a1b56d441e0c7da2085d891d96 (excl.)
  • affected from 529766e0a0114438887382a68d97341fbf8349fb to 82048795242f04275a3f49ffc66ad851b6120954 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.2 is affected
  • unaffected from 0 to 5.2 (excl.)
  • unaffected from 5.10.265 to 5.10.* (incl.)
  • unaffected from 5.15.216 to 5.15.* (incl.)
  • unaffected from 6.1.183 to 6.1.* (incl.)
  • unaffected from 6.6.151 to 6.6.* (incl.)
  • unaffected from 6.12.103 to 6.12.* (incl.)
  • unaffected from 6.18.44 to 6.18.* (incl.)
  • unaffected from 7.1.8 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References