{"id":"CVE-2026-143247","state":"PUBLISHED","title":"drm/xe/svm: Preserve default PAT index when resetting VMA attributes","description":"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)","publishedAt":"2026-12-03T09:20:57.605Z","updatedAt":"2026-12-03T09:20:57.605Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4a938d3886d6dd29a54a2e6ebc03b6c2b7509ebf","status":"affected","lessThan":"2680ef1aca7d9d556dbacfbac0bb1f1087ad21e0","versionType":"git"},{"version":"4a938d3886d6dd29a54a2e6ebc03b6c2b7509ebf","status":"affected","lessThan":"e800602296e8668b4cf143fc12d7cee4b31e64aa","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/xe_svm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/xe_svm.c"]}],"references":["https://git.kernel.org/stable/c/2680ef1aca7d9d556dbacfbac0bb1f1087ad21e0","https://git.kernel.org/stable/c/e800602296e8668b4cf143fc12d7cee4b31e64aa"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143247.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143247","state":"PUBLISHED","datePublished":"2026-12-03T09:20:57.605Z","dateUpdated":"2026-12-03T09:20:57.605Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.362Z"},"containers":{"cna":{"title":"drm/xe/svm: Preserve default PAT index when resetting VMA attributes","descriptions":[{"lang":"en","value":"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)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4a938d3886d6dd29a54a2e6ebc03b6c2b7509ebf","status":"affected","lessThan":"2680ef1aca7d9d556dbacfbac0bb1f1087ad21e0","versionType":"git"},{"version":"4a938d3886d6dd29a54a2e6ebc03b6c2b7509ebf","status":"affected","lessThan":"e800602296e8668b4cf143fc12d7cee4b31e64aa","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/xe_svm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/xe_svm.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2680ef1aca7d9d556dbacfbac0bb1f1087ad21e0"},{"url":"https://git.kernel.org/stable/c/e800602296e8668b4cf143fc12d7cee4b31e64aa"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:57.605Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}