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)
Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme ve üretici referansları için kaynak kaydı inceleyin.

