CVE-2026-143248: drm/xe: Rebind BOs evicted before the first LR queue
In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Rebind BOs evicted before the first LR queue
A VM bind can evict BOs before the first LR exec queue is added. There is no preempt fence to trigger at that point.
When the queue is added later, its new preempt fence is not triggered. The exec IOCTL does not validate or rebind BOs in preempt fence mode, and the rebind worker skips that work because no preempt fence is waiting. The first exec can then use stale mappings.
Trigger the new preempt fence in xevmaddcomputeexecqueue() when the VM has evicted BOs or pending rebinds. This keeps the queue suspended until the rebind worker validates the BOs and restores their mappings.
(cherry picked from commit 928ee5d4fb1f211aa361524801c15b54603fae52)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch 928ee5d4fb1f211aa361524801c15b54603fae52
Event History
Frequently Asked Questions
What sequence of events can lead to stale buffer-object mappings being used?
A VM bind must evict buffer objects before the first LR execution queue is added. If that queue is then added without triggering its new preemption fence, the first execution can proceed while the mappings remain stale.
What does the fix do to prevent the first execution from using stale mappings?
When the VM has evicted buffer objects or pending rebinds, adding a compute execution queue triggers the new preemption fence. The queue remains suspended until the rebind worker validates the buffer objects and restores their mappings.