What’s Vulnerable › Vulnerabilities
CVE-2025-38421: platform/x86/amd: pmf: Use device managed allocations
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-25 · updated 2026-10-21
- Weakness: CWE-415
Description
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.
Affected products
- Linux kernel: from 6.12.23 before 6.13; from 6.13.11 before 6.14; from 6.14.1 before 6.15.4; 6.14, 6.14-rc7, 6.16-rc1, 6.16-rc2 — fixed in 6.13, 6.14, 6.15.4
How to fix
Upgrade to a fixed version: Linux kernel 6.13, 6.14, 6.15.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0d10b532f861253c283863522d59d099fcb0796d
- https://git.kernel.org/stable/c/d6a38e1a82d2f9abd0bae84a354654bccb8389f6
- https://git.kernel.org/stable/c/d9db3a941270d92bbd1a6a6b54a10324484f2f2d
Get alerted when CVE-2025-38421 or the next vulnerability affects your stack