CVE-2025-38421: platform/x86/amd: pmf: Use device managed allocations
Vulnerability summary
CVE-2025-38421 is a high (CVSS 7.8) Double Free vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 16 · Related 15Timeline
- 25-07-2025PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
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 metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
Increase +0.07 pp
From 0.17% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu120 products
- linuxAll versions (No fix recorded) | < 6.8.0-151.151
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1070.76
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard5 products
- linux-aws-6.12< 6.12.78-r0 | < 6.12.66-r0 | < 6.12.65-r0 | < 6.12.65-r2 | < 6.12.77-r0 | < 6.12.76-r0 | < 6.12.68-r1 | < 6.12.62-r0 | < 6.12.74-r1 | < 6.12.67-r0 | < 6.12.77-r2 | < 6.12.80-r0 | < 6.12.72-r0 | < 6.12.63-r0 | < 6.12.62-r1 | < 6.12.65-r1 | < 6.12.72-r1 | < 6.12.74-r0 | < 6.12.70-r0 | < 6.12.68-r0 | < 6.12.62-r2 | < 6.12.77-r1 | < 6.12.60-r4 | < 6.12.71-r0 | < 6.12.69-r0
- linux-azure-6.12< 6.12.71-r0 | < 6.12.62-r2 | < 6.12.65-r1 | < 6.12.72-r0 | < 6.12.63-r0 | < 6.12.70-r0 | < 6.12.60-r4 | < 6.12.65-r3 | < 6.12.76-r0 | < 6.12.77-r2 | < 6.12.66-r0 | < 6.12.62-r1 | < 6.12.67-r0 | < 6.12.68-r0 | < 6.12.65-r4 | < 6.12.78-r0 | < 6.12.60-r3 | < 6.12.74-r1 | < 6.12.77-r0 | < 6.12.77-r1 | < 6.12.80-r0 | < 6.12.65-r2 | < 6.12.69-r0 | < 6.12.62-r0 | < 6.12.74-r0
- linux-gcp-6.12< 6.12.77-r1 | < 6.12.74-r1 | < 6.12.69-r0 | < 6.12.62-r1 | < 6.12.78-r0 | < 6.12.77-r0 | < 6.12.70-r0 | < 6.12.72-r0 | < 6.12.62-r2 | < 6.12.65-r0 | < 6.12.80-r0 | < 6.12.74-r0 | < 6.12.77-r2 | < 6.12.62-r0 | < 6.12.68-r0 | < 6.12.65-r2 | < 6.12.76-r0 | < 6.12.63-r0 | < 6.12.60-r4 | < 6.12.68-r1 | < 6.12.60-r3 | < 6.12.66-r0 | < 6.12.71-r0 | < 6.12.67-r0 | < 6.12.65-r1
- linux-qemu-6.12< 6.12.78-r0 | < 6.12.74-r0 | < 6.12.74-r1 | < 6.12.65-r2 | < 6.12.70-r0 | < 6.12.69-r0 | < 6.12.65-r1 | < 6.12.77-r0 | < 6.12.80-r0 | < 6.12.67-r0 | < 6.12.72-r0 | < 6.12.71-r0 | < 6.12.77-r1 | < 6.12.68-r0 | < 6.12.66-r0 | < 6.12.76-r0 | < 6.12.77-r2
- linux-vmware-6.12< 6.12.77-r0 | < 6.12.77-r1 | < 6.12.71-r0 | < 6.12.68-r1 | < 6.12.66-r0 | < 6.12.74-r0 | < 6.12.80-r0 | < 6.12.78-r0 | < 6.12.76-r0 | < 6.12.65-r2 | < 6.12.68-r0 | < 6.12.74-r1 | < 6.12.72-r0 | < 6.12.65-r1 | < 6.12.67-r0 | < 6.12.69-r0 | < 6.12.70-r0 | < 6.12.77-r2
Debian2 products
- linuxAll versions (No fix recorded) | < 6.12.115-2 | < 6.16.3-1
- linux-6.12< 6.12.115-2~deb12u1
Linux2 products
- linux≥ e70b4b8f93d7fcf8ee063a1d1f18782c4da3d335, < d6a38e1a82d2f9abd0bae84a354654bccb8389f6 | ≥ 5b1122fc4995f308b21d7cfc64ef9880ac834d20, < 0d10b532f861253c283863522d59d099fcb0796d | ≥ 5b1122fc4995f308b21d7cfc64ef9880ac834d20, < d9db3a941270d92bbd1a6a6b54a10324484f2f2d | 3ed60e51ffdbfef14169bd967e21a6ba5e5ff42b | ≥ 6.12.23, < 6.12.114 | ≥ 6.13.11, < 6.14 | 6.14
- linux_kernelEOL≥ 6.12.23, < 6.13 | ≥ 6.13.11, < 6.14 | ≥ 6.14.1, < 6.15.4 | 6.14 | 6.14:rc7 | 6.16:rc1 | 6.16:rc2
4 vendors · 129 products