# CVE-2026-68264: drm/xe/pt: Reset current\_op in xe\_pt\_update\_ops\_init()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-08-10T12:01:38.686Z
- **Modified:** 2026-10-19T21:17:59.927Z

## Who should check

- Anyone running Linux \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< be5c39730ab8f1dfe59983bf7d8e3705541d1fee; \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< 157b1e3384d7d37f59c0c2b2ff2af8f557db1daa; \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< 90e4fd331b980259c40118d05b89b0ec514e7c48; \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< 6384271ac1ac0099198d15df79212a19ebdb929d
- Anyone running Linux 6.12

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

## Affected and fixed versions

- Linux: \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< be5c39730ab8f1dfe59983bf7d8e3705541d1fee; \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< 157b1e3384d7d37f59c0c2b2ff2af8f557db1daa; \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< 90e4fd331b980259c40118d05b89b0ec514e7c48; \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< 6384271ac1ac0099198d15df79212a19ebdb929d (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 6384271ac1ac0099198d15df79212a19ebdb929d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68264. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68264.md
Affected: Linux >= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, < be5c39730ab8f1dfe59983bf7d8e3705541d1fee; >= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, < 157b1e3384d7d37f59c0c2b2ff2af8f557db1daa; >= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, < 90e4fd331b980259c40118d05b89b0ec514e7c48; >= e8babb280b5ef904df54b3a…
Fixed in: Linux 157b1e3384d7d37f59c0c2b2ff2af8f557db1daa, Linux 90e4fd331b980259c40118d05b89b0ec514e7c48, Linux 6384271ac1ac0099198d15df79212a19ebdb929d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68264 being exploited?

There is no confirmed exploitation: CVE-2026-68264 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68264?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-68264?

Linux \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< be5c39730ab8f1dfe59983bf7d8e3705541d1fee; \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< 157b1e3384d7d37f59c0c2b2ff2af8f557db1daa; \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< 90e4fd331b980259c40118d05b89b0ec514e7c48; \>= e8babb280b5ef904df54b3a90e5a7e3a9600c4a9, \< 6384271ac1ac0099198d15df79212a19ebdb929d; Linux 6.12.

### Is there a fix for CVE-2026-68264?

Yes. Fixed in Linux 157b1e3384d7d37f59c0c2b2ff2af8f557db1daa, Linux 90e4fd331b980259c40118d05b89b0ec514e7c48, Linux 6384271ac1ac0099198d15df79212a19ebdb929d. Upgrade Linux to 6384271ac1ac0099198d15df79212a19ebdb929d or later.

### How do I check if I'm affected by CVE-2026-68264?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/be5c39730ab8f1dfe59983bf7d8e3705541d1fee>
- other: <https://git.kernel.org/stable/c/157b1e3384d7d37f59c0c2b2ff2af8f557db1daa>
- other: <https://git.kernel.org/stable/c/90e4fd331b980259c40118d05b89b0ec514e7c48>
- other: <https://git.kernel.org/stable/c/6384271ac1ac0099198d15df79212a19ebdb929d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68264>

HTML: <https://flawdb.com/CVE-2026-68264> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68264>
