CVE-2025-38421: Double free in Linux kernel AMD PMF driver
- Vendor
- Linux
CVE-2025-38421 is a double-free vulnerability in the Linux kernel's AMD Platform Management Framework (amd-pmf) driver. When Smart PC setup fails, error handling frees dev->buf without setting the pointer to NULL. Subsequent driver unloading invokes amd_pmf_remove(), which frees the same buffer again. This can corrupt kernel memory and cause a kernel crash. The fix converts allocations to device-managed allocations to prevent duplicate cleanup.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The double free can cause kernel memory corruption, a kernel crash, and denial of service. SUSE assesses the vulnerability as locally exploitable with low privileges, with integrity and availability impacts and potential confidentiality impact. Arbitrary code execution and privilege escalation are not established by the vulnerability-specific information.
Mitigation
If you can’t patch tonight, do this now.
No specific temporary workaround is documented. Apply the applicable kernel security update and reboot.
Remediation
Patch, then assume compromise.
Install a distribution-supported kernel update containing the fix titled "platform/x86/amd: pmf: Use device managed allocations", then reboot into the updated kernel. Debian stable (trixie) includes the fix in linux version 6.12.115-2. For affected SUSE products, install the applicable security update; fixed packages are primarily based on version 6.12.0-160000.6.1 or later, depending on the product. Ubuntu users should install the applicable kernel updates identified by USN-9173-1 or USN-9174-1. Rebuild and reinstall third-party kernel modules where required by a kernel ABI change.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-38421 exploited in the wild?
- Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-38421?
- As of Nov 19, 2026, Mallory has found no public exploit for CVE-2025-38421.
- Is there a patch for CVE-2025-38421?
- Install a distribution-supported kernel update containing the fix titled "platform/x86/amd: pmf: Use device managed allocations", then reboot into the updated kernel. Debian stable (trixie) includes the fix in linux version 6.12.115-2.
- What products are affected by CVE-2025-38421?
- Linux Kernel.
- How severe is CVE-2025-38421?
- CVE-2025-38421 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.24% (15th percentile) as of Nov 19, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.