CVE Catalog

CVE-2025-38421

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

In the amd-pmf driver (platform/x86/amd), memory allocations have been changed to device-managed to prevent a double free when smart PC setup fails. Previously, dev->buf was freed but not set to NULL, leading to a second free in amd_pmf_remove().

Risk Assessment

The organization may experience system crashes or instability when loading/unloading the amd-pmf module, especially on smart PC configuration errors, potentially leading to memory leaks or kernel panics.

Recommendation

It is recommended to update the Linux kernel to a version containing this fix to avoid double free and related issues.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS