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, 14.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b, 6.13.11, 6.16
- Linux Kernel — versions 6.14, 6.16