i2c: amd-mp2: Unregister callback on adapter add failure (Linux Linux)

CVE-2026-80680
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 529766e0a0114438887382a68d97341fbf8349fb < 9142a3dcff0d80a3a24ce159aee19ddc869d9784 ; affected 529766e0a0114438887382a68d97341fbf8349fb < 2f7789b3a9628819ebf90bcba8f9da3c139f8687 ; affected 529766e0a0114438887382a68d97341fbf8349fb < 4786d4d70dcd1e6b7e044f2348e00f201947b69c ; affected 529766e0a0114438887382a68d97341fbf8349fb < b7c2c5c8868737926410b93d1223ada17625ead3 ; affected 529766e0a0114438887382a68d97341fbf8349fb < cf107c5983dc70fcf932a305581a5f976d908ff1 ; affected 529766e0a0114438887382a68d97341fbf8349fb < 1883a09a37fed497b9efacf736c23624a472246b
Linux · Linuxaffected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.151 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD