CVE-2026-80680: i2c: amd-mp2: Unregister callback on adapter add failure

Published Aug 28, 2026
·
Updated

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

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

amdmp2registercb() stores the platform I2C context in the MP2 PCI driver's callback table before the adapter is registered. If i2caddadapter() 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Unregister the MP2 platform I2C/system-sleep callback before returning the adapter registration error when i2c_add_adapter() fails (i2c: amd-mp2: Unregister callback on adapter add failure).

Event History

Aug 28, 2026
CVE Published
via MITRE·06:52 AM
Data Sourced
via MITRE·06:52 AM
Description

Frequently Asked Questions

1

Under what condition can this issue be triggered?

The issue requires i2c_add_adapter() to fail after amd_mp2_register_cb() has stored the platform I2C context in the MP2 PCI driver's callback table. The subsequent IRQ or system-sleep callback can then dereference the stale context pointer.

2

What kernel activity can reach the stale pointer?

The stale pointer may be accessed through the MP2 PCI driver's IRQ callbacks or its system-sleep callbacks after adapter registration fails.

3

What does the fix change?

The fix unregisters the callback before returning the adapter-registration error. This prevents the PCI driver's callback table from retaining a pointer to context that devres will free.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203