Double Free in Linux

CVE-2025-38421

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.

Vulnerability class: Double Free

EPSS: 0.002 (5.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Linux — versions 3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b, 6.13.11, 6.16
  • Linux Linux_kernel — versions 6.14, 6.16

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-38421?
CVE-2025-38421 is a high-severity vulnerability in Linux, classified under Double Free. CVSS score: 7.8/10. Published 2025-07-25.
How severe is CVE-2025-38421?
High severity. CVSS v3 base score is 7.8 out of 10.