Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139417

published

platform/x86/amd/pmc: clear devm-managed pointers on remove to prevent stale reuse

Published
30 Nov 2026, 13:34:33 UTC
Updated
30 Nov 2026, 13:34:33 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to < 5c165afce641c5f5621ea61f46d5f72b8a81cdd0 · 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to < 3933c18b616acfb790e4dd3157c6aee6fe4d83ec · 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to < d7d78fc750c15b23864848c0f06b038e825c5584 · 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to < c9ba86f5411730ebd333d94b9e1aa8f652dc743f · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to < 5c165afce641c5f5621ea61f46d5f72b8a81cdd0 (affected · git)156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to < 3933c18b616acfb790e4dd3157c6aee6fe4d83ec (affected · git)156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to < d7d78fc750c15b23864848c0f06b038e825c5584 (affected · git)156ec4731cb22b06c08e27debc1ef9f16f4bbb5e to < c9ba86f5411730ebd333d94b9e1aa8f652dc743f (affected · git)Default: unaffected Linux · cna
Linux Linux 5.11 (affected)0 to < 5.11 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

platform/x86/amd/pmc: clear devm-managed pointers on remove to prevent stale reuse

Provenance

Schema
5.2
Searchable
yes
Content hash
7f2d94f9d21514dfdc8213b6a461282d41af98c3494e82e94001640855bf68c1
Ingested
30 Nov 2026, 13:42:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected