Description
In the Linux kernel, the following vulnerability has been resolved:

drm/xe/pt: Reset current_op in xe_pt_update_ops_init()

xe_pt_update_ops_init() fails to reset current_op to 0. On the
vm_bind path, ops_execute() calls xe_pt_update_ops_prepare() inside
the xe_validation_guard() / drm_exec_until_all_locked() loop. When
that loop retries due to lock contention or OOM eviction
(drm_exec_retry_on_contention() / xe_validation_retry_on_oom()),
xe_pt_update_ops_prepare() runs again on the same vops, and each
call to bind_op_prepare() increments current_op without resetting it.

After N retries current_op exceeds the array size allocated by
xe_vma_ops_alloc(), causing an out-of-bounds write into
SLUB-poisoned memory and a subsequent UAF crash in
xe_migrate_update_pgtables_cpu() when reading the corrupted pt_op->bind.

Also reset needs_svm_lock and needs_invalidation which are derived in
the same prepare pass and would otherwise cause wrong migrate ops
selection and redundant TLB invalidation on retry.

Fix this by resetting current_op, needs_svm_lock and needs_invalidation
in xe_pt_update_ops_init().

v2 (Matt):
- Add details in commit message.
- Add Fixes tag and Cc to stable@vger.kernel.org

(cherry picked from commit 046045543e530605c441063535e7dca0075369a6)
Published: 2026-08-10
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability involves the DRM Xe passthrough module in the Linux kernel. The xe_pt_update_ops_init() function fails to reset the current_op counter to zero during initialization. When a virtual machine bind operation is retried because of lock contention or an out‑of‑memory eviction, xe_pt_update_ops_prepare() is invoked again on the same vops, and bind_op_prepare() increments current_op without clearing it. After enough retries, current_op grows beyond the size of the array allocated by xe_vma_ops_alloc(), producing an out‑of‑bounds write into SLUB‑poisoned memory—an instance of CWE‑787—and a subsequent use‑after‑free crash in xe_migrate_update_pgtables_cpu(). The effect is a kernel panic, providing a local denial‑of‑service path; no arbitrary code execution is described by the available information.

Affected Systems

Linux kernel releases that include the drm/xe/pt subsystem and do not contain commit 046045543e530605c441063535e7dca0075369a6 are affected. This covers all distributions that ship a kernel with the Xe DRM module enabled. The vulnerability may surface only when the module is loaded and a VM binding operation is performed repeatedly in a kernel with lock contention or OOM conditions; systems that have disabled or removed the xe DRM module are not impacted.

Risk and Exploitability

The CVSS score is 7.8, indicating a substantial impact. The EPSS score is below 1 %, suggesting that public exploitation is unlikely at present. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attacker must have privileged local access to the kernel or the ability to load kernel modules, which is typically restricted to root. The primary risk is a deterministic kernel crash that results in service interruption, rather than direct privilege escalation or data exfiltration.

Generated by OpenCVE AI on August 14, 2026 at 00:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to a kernel version that incorporates commit 046045543e530605c441063535e7dca0075369a6.
  • If an immediate kernel upgrade is not feasible, unload or disable the xe DRM module to eliminate the vulnerable code path.
  • Reboot the system after applying the patch or disabling the module so that the corrected kernel code is in use.

Generated by OpenCVE AI on August 14, 2026 at 00:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

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


Thu, 13 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-416

Wed, 12 Aug 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Important


Mon, 10 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-416

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/xe/pt: Reset current_op in xe_pt_update_ops_init() xe_pt_update_ops_init() fails to reset current_op to 0. On the vm_bind path, ops_execute() calls xe_pt_update_ops_prepare() inside the xe_validation_guard() / drm_exec_until_all_locked() loop. When that loop retries due to lock contention or OOM eviction (drm_exec_retry_on_contention() / xe_validation_retry_on_oom()), xe_pt_update_ops_prepare() runs again on the same vops, and each call to bind_op_prepare() increments current_op without resetting it. After N retries current_op exceeds the array size allocated by xe_vma_ops_alloc(), causing an out-of-bounds write into SLUB-poisoned memory and a subsequent UAF crash in xe_migrate_update_pgtables_cpu() when reading the corrupted pt_op->bind. Also reset needs_svm_lock and needs_invalidation which are derived in the same prepare pass and would otherwise cause wrong migrate ops selection and redundant TLB invalidation on retry. Fix this by resetting current_op, needs_svm_lock and needs_invalidation in xe_pt_update_ops_init(). v2 (Matt): - Add details in commit message. - Add Fixes tag and Cc to stable@vger.kernel.org (cherry picked from commit 046045543e530605c441063535e7dca0075369a6)
Title drm/xe/pt: Reset current_op in xe_pt_update_ops_init()
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:01:56.847Z

Reserved: 2026-07-30T09:28:09.378Z

Link: CVE-2026-68264

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:15.257

Modified: 2026-08-17T05:18:28.860

Link: CVE-2026-68264

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-68264 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T00:30:03Z

Weaknesses