StraitOfVuln
Latest / CVE-2026-139417

CVE-2026-139417

Not yet scoredReceived
CVE.org ↗NVD ↗

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd/pmc: clear devm-managed pointers on remove to prevent stale reuse The driver stores its state in a single file-scope static struct amd_pmc_dev, which is reused on every bind. Its regbase, smu_virt_addr, stb_virt_addr and fch_virt_addr members are MMIO mappings created with devm_ioremap(). On unbind the driver core unmaps these mappings, but it does not clear the pointers in the static struct. Since the struct is not freed, the members keep pointing at the now-unmapped addresses. On the next bind, the probe path re-maps a region only when its pointer is still NULL, so the stale pointer is reused and the following memcpy_fromio()/ioread32() touches freed MMIO, causing use-after-unmap crash. Clear these pointers in amd_pmc_remove() so the next probe re-maps them instead of reusing stale ones.

Details

CVE ID
CVE-2026-139417
Published / updated
30 Nov 2026, 14:19 UTC · last modified 30 Nov 2026, 14:19 UTC
Severity
Not yet scored by NVD
CVSS score
—
Affected vendor
Linux
Affected products
Linux
Affected versions
Linux: 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to before 5c165afce641c5f5621ea61f46d5f72b8a81cdd0, 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to before 3933c18b616acfb790e4dd3157c6aee6fe4d83ec, 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to before d7d78fc750c15b23864848c0f06b038e825c5584, 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to before c9ba86f5411730ebd333d94b9e1aa8f652dc743f
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Linux 5c165afce641c5f5621ea61f46d5f72b8a81cdd0, Linux 3933c18b616acfb790e4dd3157c6aee6fe4d83ec, Linux d7d78fc750c15b23864848c0f06b038e825c5584, Linux c9ba86f5411730ebd333d94b9e1aa8f652dc743f
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.20% probability of exploitation in the next 30 days · 10% percentile (03 Dec 2026)
Weakness
—
Remediation
See the vendor advisory below.
Source (CNA)
416baaa9-dc9f-4396-8d5f-8c081fb06d67