platform/x86/amd: pmf: Use device managed allocations
CVE-2025-38421 · published 25 Jul 2025
How serious is it
- Severity: high, CVSS score 7.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2025-38421?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Linux Linux: e70b4b8f93d7fcf8ee063a1d1f18782c4da3d335 to < d6a38e1a82d2f9abd0bae84a354654bccb8389f6, 5b1122fc4995f308b21d7cfc64ef9880ac834d20 to < 0d10b532f861253c283863522d59d099fcb0796d, 5b1122fc4995f308b21d7cfc64ef9880ac834d20 to < d9db3a941270d92bbd1a6a6b54a10324484f2f2d, 3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b
- Linux Linux: 6.14
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
In the Linux kernel, the following vulnerability has been resolved:
platform/x86/amd: pmf: Use device managed allocations
If setting up smart PC fails for any reason then this can lead to
a double free when unloading amd-pmf. This is because dev->buf was
freed but never set to NULL and is again freed in amd_pmf_remove().
To avoid subtle allocation bugs in failures leading to a double free
change all allocations into device managed allocations.
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- git.kernel.org/stable/c/d6a38e1a82d2f9abd0bae84a354654bccb8389f6
- git.kernel.org/stable/c/0d10b532f861253c283863522d59d099fcb0796d
- git.kernel.org/stable/c/d9db3a941270d92bbd1a6a6b54a10324484f2f2d
Merged from CVE List. Last updated 25 Oct 2026. All vulnerabilities · RSS · JSON