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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*

History

19 Nov 2025, 18:59

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*
CWE CWE-415
References () https://git.kernel.org/stable/c/0d10b532f861253c283863522d59d099fcb0796d - () https://git.kernel.org/stable/c/0d10b532f861253c283863522d59d099fcb0796d - Patch
References () https://git.kernel.org/stable/c/d9db3a941270d92bbd1a6a6b54a10324484f2f2d - () https://git.kernel.org/stable/c/d9db3a941270d92bbd1a6a6b54a10324484f2f2d - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

Information

Published : 2025-07-25 15:15

Updated : 2025-11-19 18:59


NVD link : CVE-2025-38421

Mitre link : CVE-2025-38421

CVE.ORG link : CVE-2025-38421


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-415

Double Free