PT-2026-163458
CVE-2026-139417
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾