Skip to main content
VulnerabilityPublished

CVE-2026-139417: Linux kernel · platform/x86/amd/pmc: clear devm-managed pointers on remove to prevent stale reuse

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in d7d78fc750c15b23864848c0f06b038e825c5584 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 14:00 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in d7d78fc750c15b23864848c0f06b038e825c5584, c9ba86f5411730ebd333d94b9e1aa8f652dc743f, 3933c18b616acfb790e4dd3157c6aee6fe4d83ec +1

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade Linux kernel to d7d78fc750c15b23864848c0f06b038e825c5584, c9ba86f5411730ebd333d94b9e1aa8f652dc743f, 3933c18b616acfb790e4dd3157c6aee6fe4d83ec or 5c165afce641c5f5621ea61f46d5f72b8a81cdd0.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e, < d7d78fc750c15b23864848c0f06b038e825c5584
Fixed in
  • d7d78fc750c15b23864848c0f06b038e825c5584
LinuxLinuxAffected
  • ≥ 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e, < c9ba86f5411730ebd333d94b9e1aa8f652dc743f
Fixed in
  • c9ba86f5411730ebd333d94b9e1aa8f652dc743f
LinuxLinuxAffected
  • ≥ 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e, < 3933c18b616acfb790e4dd3157c6aee6fe4d83ec
Fixed in
  • 3933c18b616acfb790e4dd3157c6aee6fe4d83ec
LinuxLinuxAffected
  • ≥ 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e, < 5c165afce641c5f5621ea61f46d5f72b8a81cdd0
Fixed in
  • 5c165afce641c5f5621ea61f46d5f72b8a81cdd0
LinuxLinuxAffected
  • =5.11
Fixed in–

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.

References

Community reviews

Loading reviews…