CVE-2025-38421

HIGH

Linux Kernel < 6.13 - Double Free

Title source: rule
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0003
EPSS Percentile 8.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-415
Status published
Products (4)
linux/Kernel 6.14.0 - 6.15.4linux
linux/linux_kernel 6.14 (2 CPE variants)
linux/linux_kernel 6.16 rc1 (2 CPE variants)
linux/linux_kernel 6.12.23 - 6.13
Published Jul 25, 2025
Tracked Since Feb 18, 2026