{"schema":"threatline.record/2","record":{"id":"CVE-2026-98510","aliases":[],"summary":"drm/xe/vm: nuke PTs only after unlinking contested VMAs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/vm: nuke PTs only after unlinking contested VMAs\n\nIn xe_vm_close_and_put(), external-BO VMAs are queued on the contested\nlist for deferred destruction via xe_vma_destroy_unlocked(). However,\nxe_vm_pt_destroy() was previously invoked before processing contested\nVMAs, destroying vm->pt_root while those VMAs were still linked to their\nrespective buffer objects (vm_bo->list.gpuva).\n\nIf a concurrent thread evicts one of those shared buffer objects,\nxe_bo_trigger_rebind() holding only bo->resv walks the BO's VMAs and, in\nfault mode, calls xe_vm_invalidate_vma() -> xe_pt_zap_ptes(). Because\nvm->pt_root[tile->id] is already NULL, dereferencing pt->level causes a\nNULL ptr deref.\n\nFix this by deferring xe_vm_free_scratch() and xe_vm_pt_destroy() until\nafter all contested VMAs have been unlinked and destroyed.\n\nUser is reporting hitting a NULL ptr deref in xe_pt_zap_ptes(), which\ncould be explained by this race.\n\n(cherry picked from commit c2863648959489767f08892fd6e90577d2ea0b6a)","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98510","source_modified_at":"2026-10-19T09:20:49.169Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc","lessThan":"70fddc065ac80845ffd33095b3635d59883cf7e6","status":"affected","versionType":"git"},{"version":"b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc","lessThan":"ba678c2b02e0d36b53deb5a6d5e5ea044d36def7","status":"affected","versionType":"git"},{"version":"b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc","lessThan":"bddaa5e4094c134452c29e20a26c4718827e4cb1","status":"affected","versionType":"git"},{"version":"b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc","lessThan":"24a22fb3c731474b68e986af6804db450fb88617","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98510","source_modified_at":"2026-10-19T09:20:49.169Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.8","status":"affected"},{"version":"0","lessThan":"6.8","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.55","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98510","source_modified_at":"2026-10-19T09:20:49.169Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"70fddc065ac80845ffd33095b3635d59883cf7e6","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98510","source_modified_at":"2026-10-19T09:20:49.169Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"24a22fb3c731474b68e986af6804db450fb88617","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.002,"percentile":0.09331,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:17:20.805Z","modified_at":"2026-10-19T09:20:49.169Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98510","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:20:49.169Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98510","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/70fddc065ac80845ffd33095b3635d59883cf7e6"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/ba678c2b02e0d36b53deb5a6d5e5ea044d36def7"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/bddaa5e4094c134452c29e20a26c4718827e4cb1"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/24a22fb3c731474b68e986af6804db450fb88617"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:20:49.169Z","content_hash":"f51ea79016adfab419a50407560e25c1000405d50836c26713232b15e422e836"}}
