Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98310 Overview
CVE-2026-98310 is a Linux kernel vulnerability in the drm/xe graphics driver's shrinker subsystem. The function __xe_shrinker_walk() walks the SYSTEM and TT (Translation Table) LRU (Least Recently Used) lists without holding a runtime Power Management (PM) reference. When memory reclaim shrinks a buffer object (bo) outside system memory, it invalidates the object's GPU mappings. That path requires the device to be resumed, so while the device is runtime suspended the page table zap triggers a kernel assertion and the TLB (Translation Lookaside Buffer) invalidation returns -ENODEV.
Critical Impact
Memory reclaim against a runtime-suspended Xe GPU triggers a kernel warning and failed TLB invalidation, resulting in driver state corruption and potential denial of service.
Affected Products
- Linux kernel drm/xe graphics driver
- Systems using Intel Xe GPU devices with runtime power management
- Non-fault-mode virtual memory contexts within the Xe driver
Discovery Timeline
- 2026-10-06 - CVE CVE-2026-98310 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-98310
Vulnerability Analysis
The defect lives in the Xe DRM (Direct Rendering Manager) driver's shrinker callback path. When the kernel is under memory pressure, do_shrink_slab() invokes xe_shrinker_scan(), which calls __xe_shrinker_walk() to iterate buffer objects on the SYSTEM and TT LRU lists. Shrinking a buffer object stored outside system memory invalidates its GPU mappings. That invalidation requires an active device, but the walker does not acquire a runtime PM reference before touching non-system LRUs.
If the device is runtime suspended at that moment, xe_bo_move_notify() reaches the page table zap, trips the assertion at drivers/gpu/drm/xe/xe_bo.c:770, and the subsequent TLB invalidation fails with -ENODEV. The kernel log shows a warning backtrace through xe_bo_shrink, __xe_shrinker_walk, xe_shrinker_scan, do_shrink_slab, and drop_caches_sysctl_handler.
The issue is reachable only on a non-fault-mode virtual machine (vm), because a fault-mode vm requires Long Running (LR) mode, which already holds a runtime PM reference for the vm's lifetime.
Root Cause
The root cause is a missing runtime PM reference acquisition before shrinker code walks memory types other than XE_PL_SYSTEM. The non-fault-mode path introduced by commit 4e7ebff69aed performs device-dependent operations during reclaim without ensuring the device is resumed. This is a resource state synchronization defect in the Xe driver's reclaim path.
Attack Vector
Triggering the condition requires inducing memory reclaim while the Xe GPU is runtime suspended and a non-fault-mode vm holds buffer objects on non-system LRUs. The reporter reproduced the warning with the IGT (Intel GPU Tools) test igt@xe_madvise@dontneed-before-exec while the GPU was runtime suspended. Writing to /proc/sys/vm/drop_caches under similar conditions can also drive the shrinker into this path. The issue is a local kernel-state fault rather than a remote attack vector.
No verified exploit code is published. See the upstream fix commits for implementation detail: Kernel Git Commit #985862b and Kernel Git Commit #b7f4d25.
Detection Methods for CVE-2026-98310
Indicators of Compromise
- Kernel warning referencing xe_bo_move_notify+0x1fc/0x450 [xe] at drivers/gpu/drm/xe/xe_bo.c:770
- Call stack containing xe_bo_shrink, __xe_shrinker_walk, xe_shrinker_scan, and do_shrink_slab
- TLB invalidation errors returning -ENODEV from the Xe driver while the GPU is runtime suspended
Detection Strategies
- Monitor dmesg and /var/log/kern.log for WARNING entries originating from the xe module during memory pressure or drop_caches events
- Correlate GPU runtime PM state transitions with shrinker activity to surface races between reclaim and device suspend
- Flag repeated -ENODEV returns from Xe TLB invalidation routines as a signal of the pre-patch code path
Monitoring Recommendations
- Collect kernel ring buffer telemetry from Linux endpoints running Xe-capable Intel GPUs and forward it to a centralized log store
- Alert on kernel stack traces that include both xe_shrinker_scan and xe_bo_move_notify
- Track kernel package versions on affected hosts to confirm backported fixes land on the deployed stable branches
How to Mitigate CVE-2026-98310
Immediate Actions Required
- Update the Linux kernel to a version containing the backported fix referenced by the upstream commits
- Inventory hosts running the xe driver module and prioritize patching workstations and servers with Intel Xe GPUs
- Validate that distribution vendors have shipped the stable backport before relying on the fix
Patch Information
The fix takes a runtime PM reference before walking any memory type other than XE_PL_SYSTEM and stops the walk if the reference cannot be acquired. It reuses the shrinker's existing acquire path, which resumes the device directly where reclaim permits or queues the PM worker for a later scan. The walk now also stops once the scan target is met, so a satisfied scan does not wake the device. The condition is gated on xe_device_is_l2_flush_optimized(), matching the condition under which xe_bo_trigger_rebind() issues the invalidation for non-fault-mode vms. The upstream commits are available at Kernel Git Commit #985862b and Kernel Git Commit #b7f4d25.
Workarounds
- Disable Xe GPU runtime power management on affected hosts until the patched kernel is deployed
- Avoid aggressive memory reclaim operations such as writes to /proc/sys/vm/drop_caches on vulnerable systems
- Restrict execution of GPU stress and madvise test workloads on unpatched kernels
# Verify kernel version and xe module presence
uname -r
lsmod | grep -w xe
# Inspect dmesg for the shrinker warning signature
dmesg -T | grep -E 'xe_shrinker_scan|xe_bo_move_notify|__xe_shrinker_walk'
# Temporary workaround: keep the GPU from entering runtime suspend
# (replace 0000:00:02.0 with the actual Xe PCI address)
echo on | sudo tee /sys/bus/pci/devices/0000:00:02.0/power/control
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

