CVE-2025-38421 Details
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.
A vulnerability in the Linux kernel's platform/x86/amd PMF management has been addressed. The issue arose because, during the setup of smart PC, a failure could lead to a double free error when unloading the amd-pmf module. This occurred because the buffer was freed but not set to NULL, allowing it to be freed again in the removal process. To prevent such allocation errors and potential double free scenarios, all memory allocations have been transitioned to device managed allocations.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0d10b532f861253c283863522d59d099fcb0796d | kernel.org | Patch |
| https://git.kernel.org/stable/c/d6a38e1a82d2f9abd0bae84a354654bccb8389f6 | kernel.org | |
| https://git.kernel.org/stable/c/d9db3a941270d92bbd1a6a6b54a10324484f2f2d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-415 | Double Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 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 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 21, 2026 | CVE Modified | kernel.org |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 19, 2025 | Initial Analysis | [email protected] |
| Jul 25, 2025 | New CVE Received | kernel.org |