CVE-2026-72358
published high CVSS 3.1 · 7.8drm/xe/pt: prevent invalid cursor access for purged BOs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxad9843aac91a1eda12912a4922042ea04cfc29dc to < 2b6b3f98d0e93856bee38699b783c71cb0e9d67f · ad9843aac91a1eda12912a4922042ea04cfc29dc to < 8a0fb57675be578c4db19deb4298ed08a70f0f1a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe/pt: prevent invalid cursor access for purged BOs During a page table walk for binding, xe_pt_stage_bind() explicitly skips initializing the xe_res_cursor for purged BOs, treating them similarly to NULL VMAs by only setting the cursor size. However, xe_pt_hugepte_possible() and xe_pt_scan_64K() did not check if the BO was purged before attempting to walk the cursor using xe_res_dma() and xe_res_next(). Because the cursor was left uninitialized for purged BOs, this falls through and triggers warnings like: WARNING: drivers/gpu/drm/xe/xe_res_cursor.h:274 at xe_res_next Fix this by explicitly checking if the BO is purged in both xe_pt_hugepte_possible() and xe_pt_scan_64K(), returning early just as we do for NULL VMAs, avoiding the invalid cursor accesses entirely. As a precaution, also zero-initialize the cursor in xe_pt_stage_bind() to ensure we don't pass garbage data into the page table walkers if we ever hit a similar edge case in the future. (cherry picked from commit 4c7b9c6ece32440e5a435a92076d049450cd2d2e)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Exploitation requires local ioctl access to the Intel Xe DRM render node (/dev/dri/renderD*) via XE_VM_BIND and XE_MADVISE to drive purged-buffer page-table rebinds through xe_pt_stage_bind(); this path is not reachable over the network or without local GPU device access. AC:L - An attacker controls the full trigger sequence—marking BOs DONTNEED via madvise, inducing memory pressure to purge backing store, and forcing rebind—so the uninitialized-cursor walk is reliably reachable without races or conditions outside attacker influence. PR:L - Only standard unprivileged local access to the DRM render node is required (typical render/video group membership on desktops, cloud GPU instances, and shared workstations); no real root/CAP_SYS_ADMIN and user namespaces do not grant additional reach. UI:N - No victim or administrator interaction is needed; the attacker drives the entire sequence through their own DRM ioctls and deliberate memory-pressure to purge and rebind their own mapped buffer objects. S:U - Impact is kernel memory corruption and denial-of-service within the same OS security boundary (potential local privilege escalation), not a VM escape, IOMMU/DMA boundary bypass, or cross-tenant isolation break. C:H - xe_pt_hugepte_possible() and xe_pt_scan_64K() read uninitialized xe_res_cursor stack fields via xe_res_dma()/xe_res_next() on purged BOs, constituting kernel memory corruption that can leak adjacent stack/heap data or skew page-table decisions. I:H - Garbage cursor mem_type/node pointers drive buddy-allocator list traversal during page-table walks, enabling kernel heap metadata corruption and potential arbitrary write or control-flow hijack primitives beyond the intended safe NULL/scratch PTE rebind path. A:H - Invalid cursor traversal triggers XE_WARN_ON in xe_res_next and can dereference corrupt buddy-list pointers during purged-BO rebind, causing kernel warnings, oops, or panic and denying GPU and system availability.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ad9843aac91a1eda12912a4922042ea04cfc29dc to < 2b6b3f98d0e93856bee38699b783c71cb0e9d67f (affected · git)ad9843aac91a1eda12912a4922042ea04cfc29dc to < 8a0fb57675be578c4db19deb4298ed08a70f0f1a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
drm/xe/pt: prevent invalid cursor access for purged BOs
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7f2e1510d3e19ab31e4cae618c0b2f73eed2dd55cf6fa4107b21c9adb3d5add0
- Ingested
- 23 Sep 2026, 09:29:56 UTC
- Source record
- Official CVE record