CVE-2026-98510
7.8 HIGHPublished 2026-10-18 · Updated 2026-10-24
AI risk analysis
- Summary
- A race condition in the Linux kernel's xe DRM driver allows a local attacker with low privileges to trigger a NULL pointer dereference during page-table destruction when contested VMAs are still linked to buffer objects, leading to a system crash.
- Exploitability
- Exploitation requires local access and low privileges (PR:L), with the attacker needing to trigger concurrent eviction and VMA unlinking operations on shared buffer objects.
- Blast radius
- Successful exploitation causes a kernel panic (system crash), denying service to all users on the affected system; no privilege escalation or data theft is directly implied by this flaw.
- Detection
- Look for kernel oops messages containing 'NULL pointer dereference' and 'xe_pt_zap_ptes' in dmesg or /var/log/kern.log during concurrent VM operations involving xe DRM devices.
- Prioritized remediation
- Apply the patch from commit c2863648959489767f08892fd6e90577d2ea0b6a, which defers page-table destruction until after contested VMAs are unlinked; if running a kernel prior to the fix's inclusion, upgrade to Linux kernel 6.12.3 or later.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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)
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.