Description
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)
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
4a938d3886d6dd29a54a2e6ebc03b6c2b7509ebf to < 2680ef1aca7d9d556dbacfbac0bb1f1087ad21e0affected4a938d3886d6dd29a54a2e6ebc03b6c2b7509ebf to < e800602296e8668b4cf143fc12d7cee4b31e64aaaffected
Linux Linux
Default version status: affected
7.0affected0 to < 7.0unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected