Skip to main content

Linux Kernel CVE-2025-40166

HIGH
2025-11-12 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
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 to Xe GPU host
  2. Delivery
    Start GPU exec queue via driver
  3. Exploit
    Force driver unbind or VF migration
  4. Execution
    GuC stopped, CT disabled
  5. Persist
    Call exec_destroy on running queue
  6. Impact
    Resource cleanup fails, kernel state corrupted

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access to a host running the Linux kernel's Intel Xe GPU driver with an active (registered, still-running) GuC exec queue, plus the ability to reach the specific teardown path: destroying the exec queue (exec_destroy) after the GuC has already been stopped and CT communication disabled - concretely a forced driver unbind of the Xe device or an SR-IOV VF migration that brings CT down. Limiting factors: the attacker needs local low-privilege access (CVSS PR:L), the affected Intel Xe GPU/driver must be present and in use, and the vulnerable sequence is timing- and configuration-dependent rather than reachable against a default idle system, which substantially narrows realistic exploitation.

Impact

The signals are internally consistent and point to a genuine but low-urgency, local-only issue. The CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H yields 7.8 (High) driven by local access with low privileges and no user interaction, with high impact ratings that in practice reflect kernel-state corruption and denial of service (kernel warnings, leaked GPU resources) rather than a demonstrated confidentiality breach. EPSS is 0.03% (9th percentile) - extremely low exploitation probability - and there is no CISA KEV listing and no known POC, so this is not a weaponized threat. Note a discrepancy worth flagging: the vendor tags label this 'Information Disclosure,' yet the description and dmesg evidence describe a resource-leak / cleanup failure on driver unbind, not data exposure; the C:H rating should be treated as an upper bound and verified against the actual code path. Realistically, triggering requires a specific and somewhat unusual sequence (destroying an exec queue after GuC shutdown, e.g. forced unbind or VF migration), so this is best prioritized as a routine kernel stability/hardening fix rather than an emergency patch.

Exploit ScenarioDerived

A local user with access to the Intel Xe GPU device forces the driver to unbind (or induces an SR-IOV VF migration) while an exec queue is still running, then calls exec_destroy(); the driver blocks on a GuC response that never comes and leaks the exec queue's GuC ID and VRAM resources, leaving the kernel in an unclean state and emitting WARNING/ERROR traces. No public exploit is identified at time of analysis, and the local, low-privilege attack vector plus specific timing/teardown requirements make reliable exploitation for anything beyond local disruption unlikely.

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

AnalysisAIv3 – Jul 30, 2026

Improper resource cleanup in the Linux kernel's Intel Xe DRM driver (drm/xe/guc) lets a local user trigger a memory-management fault when destroying a GPU exec queue after the GuC firmware has already been stopped - for example during a forced driver unbind. Because the driver waits for a GuC response that can never arrive, exec queue resources are never freed, leaving the GuC ID manager and VRAM manager in an unclean state and producing kernel WARNING/ERROR traces. The upstream fix (cherry-picked from commit 9b42321a02c5) releases the resources directly when the GuC is not running; EPSS is very low (0.03%) and there is no public exploit identified at time of analysis.

Earlier versions of this analysis (2)
v2 Jul 30, 2026 - 08:51 cvss changed CVSS 7.8

Local privilege escalation and denial-of-service risk in the Linux kernel's Intel Xe DRM GuC (GraphicsSC Micro Controller) driver arises from a use-after-free / resource-leak condition when an exec queue is destroyed after the GuC has been stopped and CT communication disabled. Affected are systems running Intel discrete/integrated GPUs with the xe driver where a forced driver unbind races with a still-running exec queue, triggering a GuC ID manager leak and a WARNING in ttm_vram_mgr_fini. EPSS is negligible (0.03%) and there is no public exploit identified at time of analysis; the fix has been merged upstream and shipped via Ubuntu advisories.

v1 Mar 28, 2026 - 19:21

In the Linux kernel, the following vulnerability has been resolved: drm/xe/guc: Check GuC running state before deregistering exec queue In normal operation, a registered exec queue is disabled and.

RemediationAI

Apply the kernel update containing the fix; upstream fix available via stable commits 2c6e5904c5bd, 9f64b3cd051b, and fa708415566b (from commit 9b42321a02c50a12b2beb6ae9469606257fbecea), and a released patched version is available per vendor/distro advisories. Ubuntu users should update to the fixed kernel packages described in USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1) and USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1) and reboot into the patched kernel. As a compensating control until patched, restrict which local users can trigger the vulnerable path: limit access to GPU device nodes and avoid forced driver unbind operations (e.g., do not run 'echo ... > unbind' on the Xe PCI device or hot-remove the GPU) while exec queues are active, and in virtualization deployments avoid or carefully sequence SR-IOV VF migration on affected hosts - with the trade-off that this constrains GPU hot-plug and live-migration workflows. These mitigations reduce exposure but do not eliminate the underlying cleanup defect, so patching remains the durable fix.

Affected ProductsAI

The Linux kernel is affected, specifically the Intel Xe DRM/GuC GPU driver (drivers/gpu/drm/xe). No single fixed kernel version is given as a release tag; the fix is delivered via stable-tree commits 2c6e5904c5bd, 9f64b3cd051b, and fa708415566b (backports of upstream commit 9b42321a02c5). Distribution-level coverage is available: Ubuntu addresses it in USN-8126-1 (https://ubuntu.com/security/notices/USN-8126-1) and USN-8125-1 (https://ubuntu.com/security/notices/USN-8125-1). NVD did not provide structured CPE data, so exact affected version ranges should be derived from the specific kernel branch each stable commit was applied to and from the Ubuntu advisories.

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 Intel Xe kernel-mode GPU driver's GuC (Graphics micro-Controller) submission backend. Normally an exec queue registered with the GuC is disabled and deregistered over the CT (command transport) mailbox, and its resources are freed only after the GuC firmware confirms completion. The bug is a state-handling defect: exec_destroy() assumes CT communication is live, but on a forced unbind (or during SR-IOV VF migration, per the v2 note) the GuC may already be stopped and CT disabled, so the confirmation never returns. This class of defect is a resource-lifecycle / cleanup-ordering error (leaked GuC ID and VRAM allocations, manifesting as the 'GUC ID manager unclean' error and the ttm_vram_mgr_fini WARNING). NVD did not assign a CWE (CWE: N/A), but functionally it aligns with improper release of resources / use-after-lifecycle-teardown. The fix uses xe_uc_fw_is_running() rather than xe_guc_ct_enabled() so that transient CT down/up cycles during VF migration are handled correctly.

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

Local low-priv access with a race/teardown-timing dependency (AC:H); impact is kernel-state corruption and resource-leak DoS (A:H, I:L), with no real confidentiality exposure (C:N).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/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 4.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
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jul 30, 2026 - 08:52 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 08:51 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.8 (HIGH)
Patch released
Mar 28, 2026 - 19:31 nvd
Patch available
CVE Published
Nov 12, 2025 - 11:15 nvd
N/A

DescriptionCVE.org

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

drm/xe/guc: Check GuC running state before deregistering exec queue

In normal operation, a registered exec queue is disabled and deregistered through the GuC, and freed only after the GuC confirms completion. However, if the driver is forced to unbind while the exec queue is still running, the user may call exec_destroy() after the GuC has already been stopped and CT communication disabled.

In this case, the driver cannot receive a response from the GuC, preventing proper cleanup of exec queue resources. Fix this by directly releasing the resources when GuC is not running.

Here is the failure dmesg log: " [ 468.089581] ---[ end trace 0000000000000000 ]--- [ 468.089608] pci 0000:03:00.0: [drm] *ERROR* GT0: GUC ID manager unclean (1/65535) [ 468.090558] pci 0000:03:00.0: [drm] GT0: total 65535 [ 468.090562] pci 0000:03:00.0: [drm] GT0: used 1 [ 468.090564] pci 0000:03:00.0: [drm] GT0: range 1..1 (1) [ 468.092716] ------------[ cut here ]------------ [ 468.092719] WARNING: CPU: 14 PID: 4775 at drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:298 ttm_vram_mgr_fini+0xf8/0x130 [xe] "

v2: use xe_uc_fw_is_running() instead of xe_guc_ct_enabled(). As CT may go down and come back during VF migration.

(cherry picked from commit 9b42321a02c50a12b2beb6ae9469606257fbecea)

Executive ViewAI

Why It Matters

CVE-2025-40166 affects Linux systems equipped with Intel Xe discrete GPUs, where improper resource cleanup can degrade system stability and cause memory leaks. The vulnerability requires local system access and poses a denial-of-service risk to workstations and development systems with Xe GPU hardware. A patch is available and should be prioritized for systems using this GPU technology.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Prevalence
Ubiquitous
Linux kernel is ubiquitous, though the Intel Xe driver path is narrower
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.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

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
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.1/baremetal-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Container suse/sl-micro/6.1/base-os-container:latest Container suse/sl-micro/6.1/kvm-os-container:latest Container suse/sl-micro/6.1/rt-os-container:latest Affected
Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected
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

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