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 xe_vm_add_compute_exec_queue() 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)
https://git.kernel.org/stable/c/eccbc888a5e140dda2e1edbf2bf39dcb3e3d9ccb
https://git.kernel.org/stable/c/b52dcc698250e08eabdc4554a6fdb4d6f909133f
https://git.kernel.org/stable/c/6f87a6fb3e8d10c956508c8d6c7caee45358ee56
https://git.kernel.org/stable/c/570da59019c13ddb780ab23ba784c079eb5373b1