{"id":"CVE-2026-143247","summary":"drm/xe/svm: Preserve default PAT index when resetting VMA attributes","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/svm: Preserve default PAT index when resetting VMA attributes\n\nxe_vma_set_default_attributes() replaces the VMA attributes with a\ndefault structure. It sets pat_index to the saved default PAT index,\nbut leaves default_pat_index zero.\n\nWhen the saved default is non-zero, the two fields no longer match.\nxe_vma_has_default_mem_attrs() then reports that the reset VMA has\nnon-default attributes, triggering a warning in xe_vm_alloc_vma()\nduring SVM garbage collection. A later reset also uses the incorrect\nzero value.\n\nPreserve default_pat_index when restoring the default attributes.\n\n(cherry picked from commit ce155027427a0c76be173f19f911b414d9d686bc)","modified":"2026-12-03T11:01:50.073053262Z","published":"2026-12-03T09:20:57.605Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143247.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2680ef1aca7d9d556dbacfbac0bb1f1087ad21e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e800602296e8668b4cf143fc12d7cee4b31e64aa"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143247.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143247"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4a938d3886d6dd29a54a2e6ebc03b6c2b7509ebf"},{"fixed":"2680ef1aca7d9d556dbacfbac0bb1f1087ad21e0"},{"fixed":"e800602296e8668b4cf143fc12d7cee4b31e64aa"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143247.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143247.json"}}],"schema_version":"1.9.2"}