Skip to main content

Linux Kernel CVE-2025-38421

HIGH
Double Free (CWE-415)
2025-07-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privileged access on AMD host
  2. Delivery
    Force amd-pmf Smart PC setup failure
  3. Exploit
    dev->buf freed but left dangling
  4. Execution
    Trigger amd-pmf module unload/remove
  5. Persist
    Second free corrupts kernel heap
  6. Impact
    Kernel panic (DoS) or potential privilege escalation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Exploitation requires local code execution on an AMD platform whose kernel loads the amd-pmf (Platform Management Framework) driver, and specifically depends on the Smart PC setup path failing so that dev->buf is freed without being nulled; the second free then occurs on the amd-pmf remove/unload path (amd_pmf_remove()). Limiting factors: the attack vector is local (AV:L) and requires low privileges (PR:L), the double free only manifests on the Smart PC initialization failure branch followed by a driver unload event rather than in normal default operation, and only AMD systems with amd-pmf present are affected - non-AMD hosts and systems without the driver loaded are not exposed.

Impact

CVSS 3.1 base is 7.8 (High) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - local attack vector, low complexity, low privileges, no user interaction, high impact to confidentiality, integrity and availability. However, these high impact ratings are the theoretical ceiling for a kernel heap double-free; the realistic and most reliable outcome is a kernel crash (denial of service), since the bug only triggers on the Smart PC setup failure path plus a subsequent driver unload, which is not attacker-controlled in default operation. EPSS is very low at 0.15% (5th percentile) and there is no KEV listing and no public exploit identified, all of which agree that mass or opportunistic exploitation is unlikely. The vendor-supplied 'Information Disclosure' tag conflicts with the actual defect class: this is a double-free/memory-corruption issue, not a straightforward info-leak - treat the tag as unreliable. Net assessment: a real but low-priority bug for most fleets, meaningful mainly on AMD endpoints where an attacker already has local low-privileged code execution and can influence driver load/unload.

Exploit ScenarioDerived

An attacker with local low-privileged access to an AMD-based Linux machine induces or waits for the amd-pmf Smart PC setup to fail, leaving dev->buf dangling, then triggers an amd-pmf module unload/reload so the stale pointer is freed a second time, corrupting kernel heap state. The most reliable result is a kernel panic (denial of service); with significant additional heap-grooming effort, memory corruption could theoretically be steered toward privilege escalation. No public proof-of-concept has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Local privilege escalation and denial of service in the Linux kernel's AMD Platform Management Framework (amd-pmf) driver stems from a double-free (CWE-415) triggered when Smart PC setup fails: dev->buf is freed but not nulled, then freed again during amd_pmf_remove(). The fix converts the driver's allocations to device-managed (devm_*) allocations. No public exploit identified at time of analysis, and EPSS probability is low (0.15%), consistent with a hard-to-reach local-only kernel bug affecting AMD systems on kernels around 6.14-6.16-rc.

RemediationAI

Patch available per vendor advisory: update to a Linux kernel build that includes the upstream commits 0d10b532f861253c283863522d59d099fcb0796d and d9db3a941270d92bbd1a6a6b54a10324484f2f2d, which switch the amd-pmf allocations to device-managed (devm_) allocations and eliminate the double free; on enterprise distributions apply the vendor kernel update that backports these commits (a released, tagged patched version is not independently confirmed from the provided data). If patching must be deferred on AMD systems, a specific compensating control is to prevent the vulnerable driver from loading - for example blacklist/unload the amd_pmf module (modprobe blacklist) on hosts that do not rely on AMD Smart PC / PMF power and thermal features; the trade-off is loss of AMD PMF-managed power, thermal and Smart PC functionality, which may affect battery life and performance tuning. As with any local-only kernel bug, also restrict local/interactive access to trusted users to reduce the population able to reach the code path. Reference the stable-tree commit URLs above for the exact code changes.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the amd-pmf driver under platform/x86/amd, which manages AMD's Platform Management Framework (Smart PC / power and thermal policy features) on AMD-based laptops and platforms. The root cause is CWE-415 (Double Free): during error handling of Smart PC initialization, the buffer dev->buf is released but the pointer is left dangling (not set to NULL), so the module-unload path amd_pmf_remove() frees the same allocation a second time. Double-free conditions corrupt kernel heap allocator metadata, which can cause crashes or, in some cases, be leveraged toward memory-corruption-based privilege escalation. The upstream remedy replaces manual kmalloc/kfree with devm_ (device-managed) allocations so the buffer lifetime is tied to the device and freed exactly once automatically.

Know when Amd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.3 MEDIUM

Local low-priv trigger via the Smart PC failure path plus an unload event raises complexity (AC:H); reliable impact is heap corruption/DoS with possible integrity impact, no direct confidentiality leak (C:N).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionNVD

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.

Executive ViewAI

Why It Matters

CVE-2025-38421 is a high-severity local privilege escalation vulnerability in the Linux kernel's AMD Platform Management Framework driver affecting AMD systems running kernels 6.14 through 6.16-rc. An attacker with existing system access could escalate privileges or trigger denial of service. With patch availability and low real-world exploitation probability (0.2% EPSS), the risk is manageable through timely kernel updates to affected deployments.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel is deployed across an enormous fraction of production environments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*

More in Amd

View all
CVE-2021-22986 CRITICAL POC
9.8 Mar 31

On BIG-IP versions 16.0.x before 16.0.1.1, 15.1.x before 15.1.2.1, 14.1.x before 14.1.4, 13.1.x before 13.1.3.6, and 12.

CVE-2026-46174 HIGH POC
8.8 May 28

Local privilege escalation and information disclosure in the Linux kernel on AMD Zen2 CPUs allows low-privileged users t

CVE-2020-6103 CRITICAL POC
9.9 Jul 20

An exploitable code execution vulnerability exists in the Shader functionality of AMD Radeon DirectX 11 Driver atidxx64.

CVE-2020-6102 CRITICAL POC
9.9 Jul 20

An exploitable code execution vulnerability exists in the Shader functionality of AMD Radeon DirectX 11 Driver atidxx64.

CVE-2020-6101 CRITICAL POC
9.9 Jul 20

An exploitable code execution vulnerability exists in the Shader functionality of AMD Radeon DirectX 11 Driver atidxx64.

CVE-2020-6100 CRITICAL POC
9.9 Jul 20

An exploitable memory corruption vulnerability exists in AMD atidxx64.dll 26.20.15019.19000 graphics driver. Rated criti

CVE-2018-6546 CRITICAL POC
9.8 Apr 13

plays_service.exe in the plays.tv service before 1.27.7.0, as distributed in AMD driver-installation packages and Gaming

CVE-2021-3653 HIGH POC
8.8 Sep 29

A flaw was found in the KVM's AMD code for supporting SVM nested virtualization. Rated high severity (CVSS 8.8), this vu

CVE-2020-12138 HIGH POC
8.8 Apr 27

AMD ATI atillk64.sys 5.11.9.0 allows low-privileged users to interact directly with physical memory by calling one of se

CVE-2019-5098 HIGH POC
8.6 Dec 05

An exploitable out-of-bounds read vulnerability exists in AMD ATIDXX64.DLL driver, version 26.20.13001.29010. Rated high

CVE-2015-7724 HIGH POC
7.8 Jun 07

AMD fglrx-driver before 15.9 allows local users to gain privileges via a symlink attack. Rated high severity (CVSS 7.8),

CVE-2015-7723 HIGH POC
7.8 Jun 07

AMD fglrx-driver before 15.7 allows local users to gain privileges via a symlink attack. Rated high severity (CVSS 7.8),

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected
SUSE Linux Enterprise High Availability Extension 16.0 Fixed
SUSE Linux Enterprise Server 16.0 Fixed
SUSE Linux Enterprise Server 16.1 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy