CVE-2025-38421

Severity CVSS v4.0:
Pending analysis
Type:
CWE-415 Double Free
Publication date:
25/07/2025
Last modified:
19/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> platform/x86/amd: pmf: Use device managed allocations<br /> <br /> If setting up smart PC fails for any reason then this can lead to<br /> a double free when unloading amd-pmf. This is because dev-&gt;buf was<br /> freed but never set to NULL and is again freed in amd_pmf_remove().<br /> <br /> To avoid subtle allocation bugs in failures leading to a double free<br /> change all allocations into device managed allocations.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.12.23 (including) 6.13 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13.11 (including) 6.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.14.1 (including) 6.15.4 (excluding)
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:*:*:*:*:*:*