Vulnerability details

CVE-2025-38421

Linux Linux

platform/x86/amd: pmf: Use device managed allocations

CVSS 3.1
7.8High

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

CVSS scores

ScoreVersionSourceVector
7.8High 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Linux Linux 3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b CVEProject cvelistV5 (CNA)
Linux Linux 6.14 CVEProject cvelistV5 (CNA)
Linux Linux 5b1122fc4995f308b21d7cfc64ef9880ac834d20 ≤ v < 0d10b532f861253c283863522d59d099fcb0796d CVEProject cvelistV5 (CNA)
Linux Linux 5b1122fc4995f308b21d7cfc64ef9880ac834d20 ≤ v < d9db3a941270d92bbd1a6a6b54a10324484f2f2d CVEProject cvelistV5 (CNA)
Linux Linux 6.12.23 ≤ v < 6.12.114 CVEProject cvelistV5 (CNA)
Linux Linux 6.13.11 ≤ v < 6.14 CVEProject cvelistV5 (CNA)
Linux Linux e70b4b8f93d7fcf8ee063a1d1f18782c4da3d335 ≤ v < d6a38e1a82d2f9abd0bae84a354654bccb8389f6 CVEProject cvelistV5 (CNA)

References and advisories

3
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-07-25
Last updated
2026-10-21
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.23%
Probability of exploitation in 30 days
14.5%
Percentile (among all CVEs)

Weaknesses (CWE)

  • —