CVE-2026-139417
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Affected | — |
| sid | linux |
Fixed | 7.3.6-1 |
| forky | linux |
Fixed | 7.3.6-1 |
| bookworm | linux |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | 5.11 | |
References
- https://git.kernel.org/stable/c/3933c18b616acfb790e4dd3157c6aee6fe4d83ec
- https://git.kernel.org/stable/c/5c165afce641c5f5621ea61f46d5f72b8a81cdd0
- https://git.kernel.org/stable/c/c9ba86f5411730ebd333d94b9e1aa8f652dc743f
- https://git.kernel.org/stable/c/d7d78fc750c15b23864848c0f06b038e825c5584
- https://security-tracker.debian.org/tracker/CVE-2026-139417
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.