Skip to main content

Linux Kernel CVE-2025-40334

HIGH
2025-12-09 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.3
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Gain local access with GPU device permissions
  2. Delivery
    Open amdgpu render node
  3. Exploit
    Submit userq with invalid buffer VA/size
  4. Execution
    Kernel references unmapped/out-of-bounds memory
  5. Impact
    Leak kernel memory or crash driver

Vulnerability Assessment

Exploitation Conditions

Requires local access to a host with an AMD GPU and permission to open the amdgpu DRM/render device nodes (/dev/dri/render* or /dev/dri/card*), plus use of the kernel's userq (user queue) GPU submission path - the attacker must be able to submit a user queue with an attacker-controlled buffer virtual address and size. Limiting factors: exploitation is local only (AV:L, no remote reach), needs low but non-zero privileges (PR:L - a valid local user or GPU-enabled container, not fully unauthenticated), and only affects systems that actually have AMD GPU hardware running a kernel version that exposes userq support; hosts without AMD GPUs or where users cannot open render nodes are not exploitable.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H, base 7.3) describes a locally-exploitable, low-complexity flaw requiring only low privileges and no user interaction - realistic for any local user or containerized workload with access to the /dev/dri render nodes. However, the low EPSS score (0.19%, 9th percentile), absence of KEV listing, and no public PoC indicate this is not currently a widespread exploitation target; it reads as a defense-in-depth kernel hardening fix rather than an actively weaponized bug. There is mild tension between the signals: the vendor tag labels this 'Information Disclosure' (pointing to a read/leak primitive), yet the CVSS assigns I:H and A:H, implying corruption and crash potential from the unvalidated address - the true integrity/availability impact should be confirmed against the commit rather than assumed. Overall this is a genuine local privilege-boundary issue worth patching in the normal kernel update cycle, but not an emergency for internet-facing exposure since it cannot be reached remotely.

Exploit ScenarioDerived

A low-privileged local user, or a compromised process inside a GPU-enabled container, opens the amdgpu render node and submits a user queue referencing a buffer with a crafted virtual address and size that does not correspond to a valid GPU VM mapping. Because the driver does not validate the mapping, the kernel/GPU dereferences memory outside the intended region, potentially leaking kernel or other-process memory or crashing the driver. No public PoC is currently identified, and exploitation requires local GPU device access with low complexity.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 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 memory-safety flaw in the Linux kernel's AMD GPU (amdgpu) driver allows an authenticated local user to submit a user queue (userq) whose buffer virtual address and size are not validated against a legitimate VM mapping. Because the driver failed to confirm the userq object resides in a valid GPU virtual-memory mapping before use, a low-privileged process with GPU device access could reference out-of-bounds or unmapped memory, tagged as an information-disclosure issue with additional integrity and availability impact. No public exploit identified at time of analysis; EPSS is low (0.19%, 9th percentile), consistent with a local-only kernel driver bug rather than a mass-exploited network flaw.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the kernel update that includes commits 5a577de86c4a1c67ca405571d6ef84e65c6897d1 and 9e46b8bb0539d7bc9a9e7b3072fa4f6082490392 (https://git.kernel.org/stable/c/5a577de86c4a1c67ca405571d6ef84e65c6897d1 and https://git.kernel.org/stable/c/9e46b8bb0539d7bc9a9e7b3072fa4f6082490392), which add validation of the userq buffer virtual address and size. Track your distribution's security advisory for the exact patched package version rather than building from these commits directly. As a compensating control on multi-tenant or untrusted-local hosts where patching must wait, restrict access to the GPU render/DRM device nodes by tightening permissions and group membership on /dev/dri/render* and /dev/dri/card* so untrusted users and containers cannot submit GPU work - the trade-off is that this breaks legitimate GPU-accelerated workloads (compute, rendering, ML) for those users. Also avoid exposing GPU passthrough to untrusted VMs or containers until patched.

Affected ProductsAI

The Linux kernel amdgpu driver is affected on builds that include the userq (user queue) submission path for AMD GPUs. No exact vulnerable version range or CPE string is provided in the source data; the two upstream references are stable-tree git commits at git.kernel.org (5a577de86c4a1c67ca405571d6ef84e65c6897d1 and 9e46b8bb0539d7bc9a9e7b3072fa4f6082490392), indicating the fix was backported to one or more stable kernel series. Systems with AMD GPUs running a kernel that includes amdgpu userqueue support are the practical exposure; exact affected/fixed kernel version numbers should be confirmed from the distribution changelog or the stable-tree tags containing these commits.

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 amdgpu DRM (Direct Rendering Manager) kernel driver, which manages AMD Radeon/Instinct GPUs on Linux. Modern amdgpu exposes user queues (userq) that let userspace submit GPU work referencing buffer objects mapped into the GPU's per-process virtual address space (GPUVM). The defect is a missing validation step: before consuming a userq buffer, the driver did not verify that the supplied virtual address and size fall within a valid, currently-mapped VM range. This is a classic input-validation / bounds-checking weakness (conceptually CWE-20 Improper Input Validation combined with CWE-125 Out-of-Bounds Read; the input lists CWE as N/A), where trusting userspace-supplied addressing lets the kernel dereference memory outside the intended mapping. The fix adds explicit validation of the userq object's virtual address and size to ensure it is resident in a valid VM mapping.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.3 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
vuln.today AI 7.3 HIGH

Local GPU device access required (AV:L, PR:L); unvalidated VA enables out-of-bounds kernel memory read (C:H) and driver crash (A:H) with limited integrity impact (I:L).

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

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

DescriptionCVE.org

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

drm/amdgpu: validate userq buffer virtual address and size

It needs to validate the userq object virtual address to determine whether it is residented in a valid vm mapping.

Executive ViewAI

Why It Matters

A memory-safety vulnerability in the Linux kernel's AMD GPU (amdgpu) driver allows authenticated local users with GPU device access to read, modify, or crash GPU memory. Organizations running AMD GPU compute or graphics workloads on shared Linux systems face potential exposure of GPU-processed data and GPU service disruption.

Business Impact: High
Compensating Controls

Until vendor patch available: restrict GPU device file permissions to prevent unprivileged user access; audit current GPU device group membership and remove unnecessary accounts; implement audit logging for GPU device access attempts; consider migrating non-essential GPU workloads to air-gapped or single-user systems; enable kernel logging to detect potential exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
Linux kernel with amdgpu driver spans a vast Linux install base
Data Quality
4 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 No
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

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