KernelScan.io

HIGH Introduced in 6.8

xe ContestedVMA NULL-Deref

CVE-2026-98510

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI4.7MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: drm/xe/vm: nuke PTs only after unlinking contested VMAs In xe_vm_close_and_put(), external-BO VMAs are queued on the contested list for deferred destruction via xe_vma_destroy_unlocked(). However, xe_vm_pt_destroy() was previously invoked before processing contested VMAs, destroying vm->pt_root while those VMAs were still linked to their respective buffer objects (vm_bo->list.gpuva). If a concurrent thread evicts one of those shared buffer objects, xe_bo_trigger_rebind() holding only bo->resv walks the BO's VMAs and, in fault mode, calls xe_vm_invalidate_vma() -> xe_pt_zap_ptes(). Because vm->pt_root[tile->id] is already NULL, dereferencing pt->level causes a NULL ptr deref. Fix this by deferring xe_vm_free_scratch() and xe_vm_pt_destroy() until after all contested VMAs have been unlinked and destroyed. User is reporting hitting a NULL ptr deref in xe_pt_zap_ptes(), which could be explained by this race. (cherry picked from commit c2863648959489767f08892fd6e90577d2ea0b6a)

02

Engine v0.9.0

Risk summary

A race condition in the Intel Xe GPU driver allows a local user with GPU access to trigger a kernel NULL pointer dereference during VM teardown, causing a kernel panic and denial of service. The bug is reachable from unprivileged contexts including containers with GPU device passthrough.

Affecteddrivers/gpu/drm/xe/xe_vm.c (Xe GPU driver)

Vulnerability analysis

During virtual memory teardown in the Xe driver, page tables are destroyed before contested VMAs (VMAs backed by external buffer objects shared across VMs) are unlinked from their buffer objects. This creates a race window where a concurrent thread evicting a shared buffer object can walk the buffer's VMA list and attempt to invalidate page tables that have already been freed and nulled, resulting in a NULL pointer dereference in xe_pt_zap_ptes(). The fix reorders the teardown sequence to unlink and destroy all contested VMAs first, then destroy the page tables, eliminating the race. Any local user with access to the Xe GPU device node (typically via video/render group membership) can trigger this, including containerized workloads with GPU passthrough.

03

BranchIntroducedFixed inPatch commit
6.126.86.12.11270fddc065ac8
6.186.86.18.55ba678c2b02e0
7.26.87.2.9bddaa5e4094c
mainline6.87.324a22fb3c731
cip/6.126.86.12.112-cip3370fddc065ac8

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33