In the Linux kernel, the following vulnerability has been resolved: drm/xe/svm: Preserve default PAT index when resetting VMA attributes xe_vma_set_default_attributes() replaces the VMA attributes with a default structure. It sets pat_index to the saved default PAT index, but leaves default_pat_index zero. When the saved default is non-zero, the two fields no longer match. xe_vma_has_default_mem_attrs() then reports that the reset VMA has non-default attributes, triggering a warning in xe_vm_alloc_vma() during SVM garbage collection. A later reset also uses the incorrect zero value. Preserve default_pat_index when restoring the default attributes. (cherry picked from commit ce155027427a0c76be173f19f911b414d9d686bc)
https://git.kernel.org/stable/c/e800602296e8668b4cf143fc12d7cee4b31e64aa
https://git.kernel.org/stable/c/2680ef1aca7d9d556dbacfbac0bb1f1087ad21e0