NetSight
high7.8

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 …

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 6.12.23 before 6.13
from 6.13.11 before 6.14
from 6.14.1 before 6.15.4
Versions 6.14, 6.16

Weakness classification

References