Local kernel compromise via AMD PMF double free
Published Jul 25, 2025 · Updated Aug 5, 2026
Double free in the Linux kernel AMD PMF driver allows local users to compromise kernel confidentiality, integrity, and availability. A failed Smart PC setup frees dev->buf without clearing it, and amd_pmf_remove() frees the stale pointer again during driver unload. The trigger requires Smart PC setup to fail before amd-pmf is unloaded, after which kernel memory corruption can crash or compromise the host.
Summary
What happened
Double free in the Linux kernel AMD PMF driver allows local users to compromise kernel confidentiality, integrity, and availability. A failed Smart PC setup frees dev->buf without clearing it, and amd_pmf_remove() frees the stale pointer again during driver unload. The trigger requires Smart PC setup to fail before amd-pmf is unloaded, after which kernel memory corruption can crash or compromise the host.
The record
- CVE
- CVE-2025-38421
- Published
- Jul 25, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 25, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b
- Affected versionversion=5b1122fc4995f308b21d7cfc64ef9880ac834d20 <0d10b532f861253c283863522d59d099fcb0796d
- Affected versionversion=5b1122fc4995f308b21d7cfc64ef9880ac834d20 <d9db3a941270d92bbd1a6a6b54a10324484f2f2d
- Affected versionversion=6.12.23 <6.13
- Affected versionversion=6.13.11 <6.14
- Affected versionversion=6.14
- Affected versionversion=e70b4b8f93d7fcf8ee063a1d1f18782c4da3d335
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo