Skip to main content

Linux Kernel EUVDEUVD-2026-39235

| CVE-2026-53144 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-06-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-6wmm-rq3j-5c47
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local session on AMD GPU system
  2. Delivery
    Access /dev/kfd device node
  3. Exploit
    Issue KFD_IOC_SET_DEBUG_TRAP ioctl with num_queues > 0 and NULL queue_array_ptr
  4. Execution
    get_queue_ids() returns NULL unchecked by IS_ERR()
  5. Persist
    q_array_invalidate() dereferences NULL pointer
  6. Impact
    Kernel panic forces system reboot

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires: (1) the target system must have AMD GPU hardware installed and the amdkfd kernel module loaded - systems without AMD GPUs are completely unaffected; (2) the attacker must have read-write access to /dev/kfd, which on most Linux distributions is granted to users in the 'render' or 'video' group, or to users running AMD GPU compute workloads; (3) the attacker must be able to invoke the KFD_IOC_SET_DEBUG_TRAP ioctl. No root or administrator privileges are required - CVSS PR:L confirms low-privilege local access is sufficient. Limiting factors: requires physical or network-authenticated local session, AMD GPU hardware presence, and device node access. The vulnerability cannot be triggered remotely. A NULL usr_queue_id_array paired with num_queues == 0 is a deliberate no-op and does not trigger the bug, limiting the invalid condition to the specific combination of non-zero num_queues with a NULL pointer.

Impact

The CVSS 5.5 base score with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately reflects a local, low-complexity denial-of-service vulnerability with no data exposure. Real-world risk is further bounded by the hardware prerequisite: only systems with AMD GPUs where the amdkfd module is loaded are exposed, narrowing the realistic attack surface considerably compared to the kernel's overall deployment footprint. The EPSS of 0.17% at the 6th percentile aligns with these constraints - this is not a target for opportunistic mass exploitation. There is no CISA KEV listing and no public POC code has been identified. The primary concern is insider threat or local privilege abuse scenarios in multi-tenant AMD GPU compute environments (e.g., HPC clusters, AI training infrastructure) where users share access to /dev/kfd. The impact is a hard kernel panic with no recovery short of reboot, making availability the sole concern. For systems without AMD GPU hardware or where amdkfd is not loaded, risk is zero.

Exploit ScenarioDerived

A local user on an AMD GPU-equipped Linux system - such as a shared HPC node or GPU compute server - opens /dev/kfd and issues the KFD_IOC_SET_DEBUG_TRAP ioctl with the num_queues field set to any non-zero value while setting queue_array_ptr to zero (NULL). The kernel's get_queue_ids() returns NULL, the IS_ERR() check in the caller passes silently, and the subsequent q_array_invalidate() loop immediately dereferences the NULL pointer on its first iteration, producing an unrecoverable kernel oops or panic and forcing a system reboot. No public POC has been identified, but the trigger condition is fully specified in the upstream commit message, making independent derivation straightforward.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 07, 2026

NULL pointer dereference in the Linux kernel's drm/amdkfd subsystem allows a local low-privileged user to trigger a kernel panic by invoking the kfd_ioctl_set_debug_trap() ioctl with a non-zero num_queues value and a NULL queue_array_ptr. The root flaw is that get_queue_ids() returns NULL in this case rather than ERR_PTR(-EINVAL), and both callers check only IS_ERR() - since IS_ERR(NULL) evaluates false, execution proceeds to q_array_invalidate(), which immediately dereferences the NULL pointer while iterating, crashing the kernel. No public exploit has been identified and the EPSS score of 0.17% (6th percentile) confirms low observed exploitation probability, though the trigger path is mechanically simple for any user with /dev/kfd access.

RemediationAI

The primary remediation is to upgrade the Linux kernel to a version containing the backported fix: 6.6.143, 6.12.94, 6.18.36, 7.0.13, or 7.1 stable, as published at https://git.kernel.org/stable/. Distribution maintainers for Debian, RHEL, Ubuntu, SUSE, and others are expected to incorporate these stable-branch fixes into their kernel update streams. If immediate kernel upgrade is not feasible on AMD GPU compute systems, administrators can restrict access to the /dev/kfd device node using udev rules or file system permissions (e.g., removing world-read/write from the kfd device or limiting access via a dedicated group) to prevent unprivileged users from invoking the vulnerable ioctl. This workaround breaks legitimate GPU compute workloads for restricted users and must be weighed against operational needs. Alternatively, unloading the amdkfd module (rmmod amdkfd) eliminates the attack surface entirely but disables all AMD GPU compute functionality.

Affected VersionsENISA

Linux 6.5
Linux patch: 7.0.13
Linux patch: 6.18.36
Linux patch: 7.1
Linux a70a93fa568b4f05aba548dadb673703eccf5480 <62bd09e23a23da70f9aae02748eba3e6bd93095d
Linux a70a93fa568b4f05aba548dadb673703eccf5480 <72e259a32084c42816152c346096d2edd4213e23
Linux a70a93fa568b4f05aba548dadb673703eccf5480 <e1965e8913cfbf17622ca12638e7a07f68ba0848
Linux a70a93fa568b4f05aba548dadb673703eccf5480 <daeceb0fe2a19651c58bbfa3d9d515ecb6ca8996
Linux patch: 6.12.94
Linux patch: 0
Linux a70a93fa568b4f05aba548dadb673703eccf5480 <2bd550b547deabef98bd3b017ff743b7c34d3a6d
Linux patch: 6.6.143

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

The AMD Kernel Fusion Driver (amdkfd) is the Linux kernel component that exposes AMD GPU compute queues to userspace via the DRM subsystem. The vulnerable code path is rooted in CWE-476 (NULL Pointer Dereference): get_queue_ids() was designed to return either a valid pointer or an ERR_PTR, but silently returns NULL when usr_queue_id_array is NULL and num_queues is non-zero. Because IS_ERR(NULL) == false in the Linux kernel error-pointer idiom, callers in suspend_queues() and related paths do not detect the invalid return. The subsequent call to q_array_invalidate() iterates num_queues times over the NULL q_array pointer, dereferencing it immediately and triggering a kernel BUG/panic. The fix, cherry-picked from upstream commit f165a82cdf503884bb1797771c61b2fcc72113d4, converts this invalid path to return ERR_PTR(-EINVAL) so existing IS_ERR() guards propagate the error correctly. Affected CPE: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*.

Know when the next one hits your stack

  • 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 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local /dev/kfd device access required (AV:L), ioctl trivially crafted (AC:L/PR:L), impact is pure kernel panic with no data exposure (A:H/C:N/I:N).

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jul 07, 2026 - 16:37 NVD
5.5 (MEDIUM)
Patch available
Jun 25, 2026 - 10:32 EUVD
CVE Published
Jun 25, 2026 - 09:16 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 25, 2026 - 09:16 nvd
MEDIUM 5.5

DescriptionNVD

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

drm/amdkfd: fix NULL dereference in get_queue_ids()

When usr_queue_id_array is NULL and num_queues is non-zero, get_queue_ids() returns NULL. The callers check only IS_ERR() on the return value; since IS_ERR(NULL) == false the check passes, and suspend_queues() calls q_array_invalidate() which immediately dereferences NULL while iterating num_queues times.

Userspace can trigger this via kfd_ioctl_set_debug_trap() by supplying num_queues > 0 with a zero queue_array_ptr, causing a kernel panic.

A NULL usr_queue_id_array with num_queues == 0 is a legitimate no-op (q_array_invalidate never executes, and resume_queues already guards all queue_ids dereferences behind a NULL check). Return ERR_PTR(-EINVAL) only when num_queues is non-zero and the pointer is absent; both callers already propagate IS_ERR() returns correctly to userspace.

(cherry picked from commit f165a82cdf503884bb1797771c61b2fcc72113d4)

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
AMD GPU systems common in workstations and HPC but not general servers
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Image SLES15-SP7-Azure-3P Image SLES15-SP7-Azure-Basic Image SLES15-SP7-Azure-Standard Image SLES15-SP7-HPC-Azure Affected
Image SLES15-SP7-BYOS-Azure Image SLES15-SP7-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-Aliyun Image SLES15-SP7-CHOST-BYOS-Azure Image SLES15-SP7-CHOST-BYOS-EC2 Image SLES15-SP7-CHOST-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-GDC Image SLES15-SP7-CHOST-BYOS-SAP-CCloud Image SLES15-SP7-EC2 Image SLES15-SP7-EC2-ECS-HVM Image SLES15-SP7-GCE Image SLES15-SP7-HPC-BYOS-Azure Image SLES15-SP7-HPC-BYOS-EC2 Image SLES15-SP7-HPC-BYOS-GCE Image SLES15-SP7-Hardened-BYOS-Azure Image SLES15-SP7-Hardened-BYOS-EC2 Image SLES15-SP7-Hardened-BYOS-GCE Image SLES15-SP7-SAPCAL-Azure Image SLES15-SP7-SAPCAL-EC2 Image SLES15-SP7-SAPCAL-GCE Affected
Image SLES15-SP7-SAP-Azure Image SLES15-SP7-SAP-Azure-3P Image SLES15-SP7-SAP-BYOS-Azure Image SLES15-SP7-SAP-BYOS-EC2 Image SLES15-SP7-SAP-BYOS-GCE Image SLES15-SP7-SAP-EC2 Image SLES15-SP7-SAP-GCE Image SLES15-SP7-SAP-Hardened-Azure Image SLES15-SP7-SAP-Hardened-BYOS-Azure Image SLES15-SP7-SAP-Hardened-BYOS-EC2 Image SLES15-SP7-SAP-Hardened-BYOS-GCE Image SLES15-SP7-SAP-Hardened-GCE Affected
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed

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