Skip to main content

Linux Kernel CVE-2025-38355

MEDIUM
2025-07-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local privileged access to the host
  2. Delivery
    Trigger xe driver probe/VF initialization failure
  3. Exploit
    Device unwind drains GGTT workqueue after MMIO/GSM unmap
  4. Execution
    Worker writes to unmapped GGTT PTE
  5. Impact
    Kernel page fault (Oops), denial of service

Vulnerability Assessment

Exploitation Conditions

Requires the Intel xe DRM driver to be in use (newer Intel GPUs) and, per the description, the SR-IOV Virtual Function (VF) initialization/unwind path: the crash arises when the dedicated ggtt->wq workqueue still has pending GGTT node removals that are drained during managed-drm teardown (ggtt_fini_early) after managed-device teardown has already run mmio_fini and unmapped the MMIO/GSM mapping. Limiting factors: exploitation is local only (AV:L), needs the privileges to initiate device probe/teardown (driver bind/unbind or VF creation is a root-level operation), depends on a failing initialization and a specific devres unwind ordering that an attacker does not directly control, and is confined to affected 6.16 release-candidate kernels running the xe driver; impact is limited to denial of service with no data exposure or modification.

Impact

All available signals point to a low-to-moderate, availability-only issue rather than a priority threat. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5 MEDIUM) describes a local, authenticated denial-of-service with no confidentiality or integrity impact - consistent with the description, which is a kernel NULL/invalid-pointer page fault (Oops) in the drm/xe GGTT node-removal worker during device unwind. EPSS is 0.19% (8th percentile), which is very low and aligns with the absence of any exploitation signal: the CVE is NOT in CISA KEV, and the only references provided are three kernel.org patch commits - no PoC or exploit reference is supplied, so this is no public exploit identified at time of analysis. The vuln.today decision label is 'this_month', i.e. routine patching, not act_now/emergency. One caveat on the vector: the crash is triggered along a device-teardown path that follows a failed Virtual Function (VF) initialization and depends on the ordering of managed-device vs managed-drm unwinding - this is not a straightforwardly attacker-controlled low-complexity trigger, so the real-world exploitability is narrower than AC:L/PR:L suggests (see assessed vector). Net: a genuine stability/robustness fix for a narrow Intel-GPU driver code path, not a widespread-exploitation priority.

Exploit ScenarioDerived

On a system using the Intel xe GPU driver with SR-IOV, a locally privileged operation that causes VF probe to fail triggers device unwind; because the dedicated ggtt->wq workqueue is drained only during managed-drm teardown - potentially after the MMIO/GSM mapping has already been unmapped by managed-device teardown - the pending ggtt_node_remove_work_func worker writes to an already-unmapped GGTT PTE and causes a kernel page fault (Oops), crashing the machine. No public exploit identified at time of analysis; the references provided are patch commits only, and realistic triggering requires the specific failed-initialization and teardown-ordering conditions rather than arbitrary attacker input.

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 – Nov 05, 2026

Local denial of service in the Linux kernel's Intel 'xe' DRM driver, where the driver's managed-resource teardown drains pending GGTT node-removal work items only after the MMIO/GSM mapping has already been unmapped, so the workqueue touches unmapped registers and faults. The issue was observed on the SR-IOV Virtual Function probe failure/unwind path (probe failing with -62) on 6.16 release-candidate kernels, and results in a kernel oops rather than data exposure or corruption; the impact is availability only. No public exploit code was identified and there is no KEV listing; EPSS is very low (0.19%, 8th percentile), and the kernel-side resolution has already been merged upstream and backported to stable branches, though exploitation requires local access with the privileges needed to trigger device probe/teardown or VF creation.

RemediationAI

The fix is a kernel update: apply the upstream change 'drm/xe: Process deferred GGTT node removals on device unwind' (commit 89d2835c3680ab1938e22ad81b1c9f8c686bd391) or the corresponding stable backports at https://git.kernel.org/stable/c/1b12f8dabbb8fd7d5a2611dd7bc5982ffbc2e5df, https://git.kernel.org/stable/c/5ab4eba9b26a93605b4f2f2b688d6ba818d7331d and https://git.kernel.org/stable/c/af2b588abe006bd55ddd358c4c3b87523349c475, which add a managed-device action that drains ggtt->wq of pending node removals before the MMIO/GSM mapping is released. Because the crash is only reached when an affected kernel runs the xe driver through a failing initialization and unwind (observed during SR-IOV VF probe failure), a compensating measure for systems that cannot update immediately is to avoid creating SR-IOV VFs and avoid driver unbind/rebind cycles on the xe device on 6.16-rc builds; the trade-off is loss of SR-IOV functionality and of driver-reload maintenance operations until the kernel is updated. Note that the failing unwind path is reached through privileged device operations, so no unprivileged mitigation is described in the available sources; the kernel update is the complete fix.

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 'xe' driver is Intel's DRM driver for its newer GPUs, and it relies on two layered resource-management schemes: managed-device (devres) actions and DRM-managed (drmm) actions, which are unwound in a defined but not identical order. GGTT (Graphics Translation Table) node removal is performed asynchronously through a dedicated workqueue, ggtt->wq, and during teardown the driver indirectly drains that queue from ggtt_fini_early, a DRM-managed release action. Because ggtt_fini_early can run later than the managed-device actions that already executed mmio_fini, the MMIO/GSM BAR mapping may be gone by the time the work item runs. The trace shows exactly this: after 'DEVRES REL ... mmio_fini' and the drmres release of ggtt_fini_early, the xe-ggtt-wq worker enters xe_ggtt_set_pte via xe_ggtt_clear / ggtt_node_remove and takes a supervisor write page fault on a not-present address (error_code 0x0002). The fix adds a managed-device action that explicitly drains the workqueue of pending node removals before MMIO/GSM mappings are released, correcting the teardown ordering rather than the PTE-writing code. No CWE identifier was assigned in the supplied data; the weakness class is an ordering/lifecycle defect in resource teardown that produces a use-after-unmap of device MMIO. The issue is confined to kernels carrying the affected xe teardown logic, matching CPE ranges that include the linux_kernel 6.16 rc1, rc2 and rc3 entries, and the unfolding requires a failing driver initialization (observed on VF probe) so the unwind path is reached.

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 4.1 MEDIUM

Local teardown path (AV:L); triggering needs privileged driver/VF teardown (PR:H) and depends on a failed-init plus unwind ordering not attacker-controlled (AC:H); crash only, so C:N/I:N/A:H.

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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

DescriptionNVD

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

drm/xe: Process deferred GGTT node removals on device unwind

While we are indirectly draining our dedicated workqueue ggtt->wq that we use to complete asynchronous removal of some GGTT nodes, this happends as part of the managed-drm unwinding (ggtt_fini_early), which could be later then manage-device unwinding, where we could already unmap our MMIO/GMS mapping (mmio_fini).

This was recently observed during unsuccessful VF initialization:

[ ] xe 0000:00:02.1: probe with driver xe failed with error -62 [ ] xe 0000:00:02.1: DEVRES REL ffff88811e747340 __xe_bo_unpin_map_no_vm (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e747540 __xe_bo_unpin_map_no_vm (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e747240 __xe_bo_unpin_map_no_vm (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e747040 tiles_fini (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e746840 mmio_fini (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e747f40 xe_bo_pinned_fini (16 bytes) [ ] xe 0000:00:02.1: DEVRES REL ffff88811e746b40 devm_drm_dev_init_release (16 bytes) [ ] xe 0000:00:02.1: [drm:drm_managed_release] drmres release begin [ ] xe 0000:00:02.1: [drm:drm_managed_release] REL ffff88810ef81640 __fini_relay (8 bytes) [ ] xe 0000:00:02.1: [drm:drm_managed_release] REL ffff88810ef80d40 guc_ct_fini (8 bytes) [ ] xe 0000:00:02.1: [drm:drm_managed_release] REL ffff88810ef80040 __drmm_mutex_release (8 bytes) [ ] xe 0000:00:02.1: [drm:drm_managed_release] REL ffff88810ef80140 ggtt_fini_early (8 bytes)

and this was leading to:

[ ] BUG: unable to handle page fault for address: ffffc900058162a0 [ ] #PF: supervisor write access in kernel mode [ ] #PF: error_code(0x0002) - not-present page [ ] Oops: Oops: 0002 [#1] SMP NOPTI [ ] Tainted: [W]=WARN [ ] Workqueue: xe-ggtt-wq ggtt_node_remove_work_func [xe] [ ] RIP: 0010:xe_ggtt_set_pte+0x6d/0x350 [xe] [ ] Call Trace: [ ] <TASK> [ ] xe_ggtt_clear+0xb0/0x270 [xe] [ ] ggtt_node_remove+0xbb/0x120 [xe] [ ] ggtt_node_remove_work_func+0x30/0x50 [xe] [ ] process_one_work+0x22b/0x6f0 [ ] worker_thread+0x1e8/0x3d

Add managed-device action that will explicitly drain the workqueue with all pending node removals prior to releasing MMIO/GSM mapping.

(cherry picked from commit 89d2835c3680ab1938e22ad81b1c9f8c686bd391)

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
newer Intel xe GPU driver path; affected CPEs are 6.16 release candidates
Data Quality
3 sources
Confidence: Low

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

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:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*

Vendor StatusVendor

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