CVE-2026-72358

drm/xe/pt: prevent invalid cursor access for purged BOs

Published Aug 15, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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)

Analysis

AI-generated

Technical impact

Based on the description, it is inferred that the flaw in the Linux kernel’s DRM Xe driver allows an uninitialized cursor structure to be accessed when a buffer object has been purged. During a page‑table walk the driver reads garbage data from this cursor, triggering kernel warnings and potentially causing an undefined fault or crash, which compromises system stability.

Affected Systems

The vulnerability is confined to the Linux kernel’s DRM Xe subsystem, specifically the code within drivers/gpu/drm/xe. Every kernel version that does not contain the commit that adds explicit checks for purged buffer objects and zero‑initializes the cursor is affected.

Risk and Exploitability

Based on the description, it is inferred that the attack could be launched locally by an attacker who can manipulate GPU buffer objects, potentially requiring local privileges. The EPSS score is less than 1% and the vulnerability is not listed in CISA KEV, indicating a low probability of exploitation. The CVSS score of 7.8 classifies the vulnerability as high severity, while the likely attack vector is local exploitation via the GPU driver. Although no exploits are currently known, the potential for a kernel crash warrants immediate remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes commit 4c7b9c6ece, which implements checks for purged buffer objects and zero‑initializes the cursor structure.
  • If an immediate kernel upgrade is not feasible, reboot the system after applying any available GPU driver updates to clear stale purged buffer objects and reset the state of the DRM subsystem.
  • If neither upgrading nor rebooting can be performed, consider restricting Xe GPU acceleration to trusted processes or disabling Xe acceleration entirely to reduce the attack surface.

Generated by OpenCVE AI on August 22, 2026 at 05:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Weaknesses CWE-457
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-457
Type Values Removed Values Added
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)
Title drm/xe/pt: prevent invalid cursor access for purged BOs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-665

    Improper Initialization

  • CWE-824

    Access of Uninitialized Pointer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:43 AM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Aug 17, 2026, 6:18 AM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM