{"id":"CVE-2026-72362","state":"PUBLISHED","title":"drm/xe/pt: Fix NULL pointer dereference in xe_pt_zap_ptes_entry()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/pt: Fix NULL pointer dereference in xe_pt_zap_ptes_entry()\n\nThe page-table walk framework may pass a NULL *child pointer for\nunpopulated entries. xe_pt_zap_ptes_entry() called container_of(*child)\nbefore checking for NULL, then dereferenced the result, causing a crash.\n\nMove the container_of() call after a NULL guard, so the function returns\nearly instead of proceeding with an invalid pointer. XE_WARN_ON is kept\nto help root cause the issue, but we now bail instead of crashing the\ndriver.\n\nv2: Comment that triggering XE_WARN_ON is unexpected behavior (Matt Brost)\n\n(cherry picked from commit b9297d19d9df5d4b6c994648570c5dcd1cac68ff)","publishedAt":"2026-08-15T05:56:01.414Z","updatedAt":"2026-08-17T05:13:13.207Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd08ebf6c3525a7ea2186e636df064ea47281987","status":"affected","lessThan":"ff330ce16c846b70164ff0eb544c81219d4c5c08","versionType":"git"},{"version":"dd08ebf6c3525a7ea2186e636df064ea47281987","status":"affected","lessThan":"78b1074966d290d4517f42bc81e13c4349368d12","versionType":"git"},{"version":"dd08ebf6c3525a7ea2186e636df064ea47281987","status":"affected","lessThan":"d94b9922b2ae5ee6e900f8da0bd537b251c6110c","versionType":"git"},{"version":"dd08ebf6c3525a7ea2186e636df064ea47281987","status":"affected","lessThan":"3feeb667197bd58a17f4edfdbcad249ffcb3c864","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/xe_pt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","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_pt.c"]}],"references":["https://git.kernel.org/stable/c/ff330ce16c846b70164ff0eb544c81219d4c5c08","https://git.kernel.org/stable/c/78b1074966d290d4517f42bc81e13c4349368d12","https://git.kernel.org/stable/c/d94b9922b2ae5ee6e900f8da0bd537b251c6110c","https://git.kernel.org/stable/c/3feeb667197bd58a17f4edfdbcad249ffcb3c864"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72362.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72362","state":"PUBLISHED","datePublished":"2026-08-15T05:56:01.414Z","dateUpdated":"2026-08-17T05:13:13.207Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.921Z"},"containers":{"cna":{"title":"drm/xe/pt: Fix NULL pointer dereference in xe_pt_zap_ptes_entry()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/pt: Fix NULL pointer dereference in xe_pt_zap_ptes_entry()\n\nThe page-table walk framework may pass a NULL *child pointer for\nunpopulated entries. xe_pt_zap_ptes_entry() called container_of(*child)\nbefore checking for NULL, then dereferenced the result, causing a crash.\n\nMove the container_of() call after a NULL guard, so the function returns\nearly instead of proceeding with an invalid pointer. XE_WARN_ON is kept\nto help root cause the issue, but we now bail instead of crashing the\ndriver.\n\nv2: Comment that triggering XE_WARN_ON is unexpected behavior (Matt Brost)\n\n(cherry picked from commit b9297d19d9df5d4b6c994648570c5dcd1cac68ff)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd08ebf6c3525a7ea2186e636df064ea47281987","status":"affected","lessThan":"ff330ce16c846b70164ff0eb544c81219d4c5c08","versionType":"git"},{"version":"dd08ebf6c3525a7ea2186e636df064ea47281987","status":"affected","lessThan":"78b1074966d290d4517f42bc81e13c4349368d12","versionType":"git"},{"version":"dd08ebf6c3525a7ea2186e636df064ea47281987","status":"affected","lessThan":"d94b9922b2ae5ee6e900f8da0bd537b251c6110c","versionType":"git"},{"version":"dd08ebf6c3525a7ea2186e636df064ea47281987","status":"affected","lessThan":"3feeb667197bd58a17f4edfdbcad249ffcb3c864","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/xe_pt.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","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_pt.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ff330ce16c846b70164ff0eb544c81219d4c5c08"},{"url":"https://git.kernel.org/stable/c/78b1074966d290d4517f42bc81e13c4349368d12"},{"url":"https://git.kernel.org/stable/c/d94b9922b2ae5ee6e900f8da0bd537b251c6110c"},{"url":"https://git.kernel.org/stable/c/3feeb667197bd58a17f4edfdbcad249ffcb3c864"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:13:13.207Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}