Skip to main content

Linux Kernel EUVDEUVD-2026-25459

| CVE-2026-31566 HIGH
Use After Free (CWE-416)
2026-04-24 Linux GHSA-j5m6-wgmm-m7m9
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to local system
  2. Delivery
    Access /dev/kfd device
  3. Exploit
    Submit crafted GPU compute job
  4. Execution
    Trigger race in fence management
  5. Persist
    Corrupt kernel memory
  6. Impact
    Execute code at kernel privilege level

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local authenticated access to a Linux system with AMD GPU hardware where the amdgpu kernel driver with KFD (Kernel Fusion Driver) support is loaded and enabled. The attacker must have permissions to access the /dev/kfd device node and submit GPU compute jobs through the KFD interface, typically requiring membership in the 'video' or 'render' system groups or equivalent GPU access permissions. Exploitation requires triggering the specific code path in amdgpu_amdkfd_submit_ib() that submits indirect buffers and winning a race condition between fence reference release and wait operations. Limits on exploitation: requires AMD GPU hardware (not present on Intel/NVIDIA-only systems), requires KFD functionality enabled (not default on all distributions), requires local authenticated access (not remotely exploitable as indicated by CVSS AV:L), and requires precise timing to exploit the race condition reliably.

Impact

Real-world exploitation risk is low despite the high CVSS 7.8 score. The CVSS vector (AV:L/AC:L/PR:L/UI:N) indicates local access with low privileges required and low attack complexity, suggesting the vulnerability is technically straightforward to trigger for authenticated local users. However, multiple factors significantly constrain practical risk: EPSS score of 0.02% (7th percentile) indicates security researchers assess actual exploitation probability as very low, no public exploit code has been identified, CISA has not listed this in KEV indicating no confirmed active exploitation, and the vulnerability requires specific AMD GPU hardware with KFD enabled and an attacker already having local authenticated access to submit GPU compute jobs. The use-after-free could theoretically allow kernel memory corruption leading to privilege escalation or information disclosure, but exploitation requires precise timing to win the race condition between fence release and the wait call. Patches are available across all supported stable kernel branches (6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0), significantly reducing exposure window. This is primarily a defense-in-depth fix rather than an emergency patch scenario. Organizations running AMD GPUs in multi-tenant environments (cloud, HPC clusters) or with untrusted local users should prioritize patching during normal maintenance windows. Single-user workstations face negligible risk.

Exploit ScenarioDerived

A local authenticated attacker with access to submit GPU compute workloads on a system with AMD GPU hardware triggers the race condition by repeatedly submitting jobs through the KFD interface while monitoring kernel memory state. By winning the race between dma_fence_put() and dma_fence_wait() in amdgpu_amdkfd_submit_ib(), the attacker causes the kernel to dereference freed fence memory, potentially corrupting kernel memory structures or leaking sensitive kernel data, leading to privilege escalation or information disclosure. No public proof-of-concept exists at time of analysis.

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

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

Alert me

AnalysisAIv1 – Apr 27, 2026

Use-after-free in Linux kernel AMD GPU driver allows local authenticated users to potentially execute arbitrary code, escalate privileges, or cause denial of service. The amdgpu_amdkfd_submit_ib() function in the AMD KFD (Kernel Fusion Driver) prematurely releases a DMA fence reference before waiting on it, creating a race condition where the fence memory may be freed before use. Vendor-released patches are available for multiple stable kernel branches (6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0). EPSS exploitation probability is very low at 0.02% (7th percentile), and no public exploit or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade to patched Linux kernel versions: 6.1.168 or later for the 6.1.x series, 6.6.131 or later for 6.6.x, 6.12.80 or later for 6.12.x, 6.18.21 or later for 6.18.x, 6.19.11 or later for 6.19.x, or 7.0 or later for the 7.x series. Upstream fixes are available in kernel.org stable repository commits bc7760c107dc, e23602eb0779, 138e42be35ff, 39820864eacd, 42d248726a08, and 7150850146eb. For systems that cannot immediately patch, a compensating control is to blacklist or prevent loading of the amdgpu kernel module (add 'blacklist amdgpu' to /etc/modprobe.d/blacklist.conf), though this disables AMD GPU functionality entirely and renders GPU-dependent workloads inoperable. Alternatively, restrict access to /dev/kfd device node to only trusted users via udev rules, limiting who can submit GPU compute jobs through the KFD interface, though this may break legitimate HSA/ROCm applications. Full advisory details are available at https://nvd.nist.gov/vuln/detail/CVE-2026-31566 and kernel.org stable Git repository. No workarounds provide complete protection without functional trade-offs.

Affected VersionsENISA

Linux 9ae55f030dc523fc4dc6069557e4a887ea815453 <7150850146ebfa4ca998f653f264b8df6f7f85be
Linux patch: 6.12.80
Linux 9ae55f030dc523fc4dc6069557e4a887ea815453 <e23602eb0779760544314ed3905fa6a89a4e4070
Linux 9ae55f030dc523fc4dc6069557e4a887ea815453 <bc7760c107dc08ef3e231d72c492e67b0a86848b
Linux 9ae55f030dc523fc4dc6069557e4a887ea815453 <138e42be35ff2ce6572ae744de851ea286cf3c69
Linux patch: 6.18.21
Linux patch: 0
Linux 6.0
Linux 9ae55f030dc523fc4dc6069557e4a887ea815453 <42d248726a0837640452b71c5a202ca3d35239ec
Linux patch: 6.19.11
Linux patch: 6.1.168
Linux 9ae55f030dc523fc4dc6069557e4a887ea815453 <39820864eacd886f1a6f817414fb8f9ea3e9a2b4
Linux patch: 7.0
Linux patch: 6.6.131

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

This vulnerability affects the AMD GPU kernel driver's DMA (Direct Memory Access) fence management in the amdkfd (AMD Kernel Fusion Driver) component. DMA fences are synchronization primitives used to track GPU job completion in the Direct Rendering Manager (DRM) subsystem. The vulnerable code path occurs in amdgpu_amdkfd_submit_ib() when submitting Indirect Buffers to the GPU. The function obtains a fence object from amdgpu_ib_schedule() with an initial reference count, then calls dma_fence_put() (decrementing the reference) before dma_fence_wait() (blocking until fence signals). If the put operation releases the last reference, the fence structure is freed from memory while the pointer is still held. The subsequent dma_fence_wait() then dereferences freed memory, constituting a classic use-after-free condition. This represents a temporal memory safety violation where object lifetime management is incorrectly ordered. The affected code path is specific to AMD GPU hardware when processing compute workloads through the KFD interface, which provides GPU access to HSA (Heterogeneous System Architecture) applications. The vulnerability was introduced in commit 9ae55f030dc523fc4dc6069557e4a887ea815453 and fixed across multiple stable kernel branches.

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
SUSE HIGH

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

Lifecycle Timeline

4
Patch released
Apr 27, 2026 - 20:32 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:35 nvd
HIGH 7.8

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix fence put before wait in amdgpu_amdkfd_submit_ib

amdgpu_amdkfd_submit_ib() submits a GPU job and gets a fence from amdgpu_ib_schedule(). This fence is used to wait for job completion.

Currently, the code drops the fence reference using dma_fence_put() before calling dma_fence_wait().

If dma_fence_put() releases the last reference, the fence may be freed before dma_fence_wait() is called. This can lead to a use-after-free.

Fix this by waiting on the fence first and releasing the reference only after dma_fence_wait() completes.

Fixes the below: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:697 amdgpu_amdkfd_submit_ib() warn: passing freed memory 'f' (line 696)

(cherry picked from commit 8b9e5259adc385b61a6590a13b82ae0ac2bd3482)

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel AMD GPU driver (CVE-2026-31566) allows authenticated local users to execute arbitrary code or escalate privileges through a race condition in the AMD KFD component. Organizations running AMD GPUs on affected kernel versions face elevated privilege escalation risk, particularly in multi-tenant environments or systems where local user access is granted; patching is straightforward and should be prioritized for systems requiring high security assurance.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, restrict local user account creation and enforce strict access controls limiting local shell access to AMD GPU-equipped systems; monitor kernel logs for amdgpu_amdkfd_submit_ib() errors or GPU memory faults that may indicate exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

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.0%
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

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

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: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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