# CVE-2026-72358: drm/xe/pt: prevent invalid cursor access for purged BOs

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-08-15T05:55:58.783Z
- Modified: 2026-08-17T06:18:39.997Z
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from ad9843aac91a1eda12912a4922042ea04cfc29dc before 2b6b3f98d0e93856bee38699b783c71cb0e9d67f; from ad9843aac91a1eda12912a4922042ea04cfc29dc before 8a0fb57675be578c4db19deb4298ed08a70f0f1a; 7.1 (not affected: before 7.1; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/2b6b3f98d0e93856bee38699b783c71cb0e9d67f>
- <https://git.kernel.org/stable/c/8a0fb57675be578c4db19deb4298ed08a70f0f1a>

## Sources

- CVE List: [CVE-2026-72358](https://www.cve.org/CVERecord?id=CVE-2026-72358), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72358](https://nvd.nist.gov/vuln/detail/CVE-2026-72358), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72358 · Whole record: https://cve.day/CVE-2026-72358.json · Rebuilt by cve.day 2026-11-25T22:59:33.094Z
