CVE-2026-90064: drm/xe: Reject page faults from non-fault-mode scratch VMs
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Reject page faults from non-fault-mode scratch VMs
Having scratch enabled does not make a VM capable of handling recoverable page faults. Allowing scratch VMs through the ASID lookup also admits dma-fence mode VMs.
If such a VM faults on an already valid VMA, the handler reports success without fixing the fault, causing the GPU to retry indefinitely.
Only allow fault-mode VMs through the ASID lookup. Fault-mode VMs using scratch remain supported, while faults from 3D VMs are rejected.
(cherry picked from commit bfb24a06405b652d37831f3fb66b71d33a6605de)
The Linux kernel CVE team has assigned CVE-2026-90064 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.1 with commit ad9843aac91a1eda12912a4922042ea04cfc29dc and fixed in 7.2.6 with commit 905d648e97ef3a291f71a935a7fab0133f27f0f7 Issue introduced in 7.1 with commit ad9843aac91a1eda12912a4922042ea04cfc29dc and fixed in 7.3-rc1 with commit 5e977521d21717edb8e91d004434697d6e3f248c
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90064
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/xe/xe_pagefault.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/905d648e97ef3a291f71a935a7fab0133f27f0f7 https://git.kernel.org/stable/c/5e977521d21717edb8e91d004434697d6e3f248c