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)
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Mon, 17 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Mon, 17 Aug 2026 06:00:00 +0000

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'}


Sat, 15 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Sat, 15 Aug 2026 06:00:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:43:16.546Z

Reserved: 2026-08-09T03:40:39.921Z

Link: CVE-2026-72358

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:09.243

Modified: 2026-08-17T06:18:39.997

Link: CVE-2026-72358

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72358 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T05:30:17Z

Weaknesses
  • CWE-665

    Improper Initialization

  • CWE-824

    Access of Uninitialized Pointer