CVE-2026-143247: drm/xe/svm: Preserve default PAT index when resetting VMA attributes
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/svm: Preserve default PAT index when resetting VMA attributes
xevmasetdefaultattributes() replaces the VMA attributes with a default structure. It sets patindex to the saved default PAT index, but leaves defaultpatindex zero.
When the saved default is non-zero, the two fields no longer match. xevmahasdefaultmemattrs() then reports that the reset VMA has non-default attributes, triggering a warning in xevmallocvma() during SVM garbage collection. A later reset also uses the incorrect zero value.
Preserve defaultpatindex when restoring the default attributes.
(cherry picked from commit ce155027427a0c76be173f19f911b414d9d686bc)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- 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 ce155027427a0c76be173f19f911b414d9d686bc
Event History
Frequently Asked Questions
What systems are affected in practice?
The issue is in the Linux kernel drm/xe SVM code path. It is relevant where xe virtual memory areas are reset and SVM garbage collection runs with a non-zero saved default PAT index.
What is the observable impact?
A reset VMA can be incorrectly identified as having non-default memory attributes. This triggers a warning in xe_vm_alloc_vma() during SVM garbage collection, and later resets can reuse the incorrect zero default PAT index.
How can I tell whether the issue is occurring?
Look for warnings from xe_vm_alloc_vma() during SVM garbage collection. The condition is associated with VMA attribute resets where the saved default PAT index is non-zero.
What does the fix change?
The fix preserves default_pat_index when restoring default VMA attributes, keeping it consistent with pat_index and preventing subsequent resets from using zero incorrectly.