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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.002 (4.3th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 4th percentile — 4.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-38421: held from 0.002 to 0.002.

EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000

Affected products

  • Linux — versions 3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b, 6.13.11, 6.16
  • 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.