# CVE-2026-68384: drm/xe/vf: Fix VF CCS attach/detach race with in-flight BO moves

> 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.14% (percentile 2, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-08-10T12:04:03.240Z
- **Modified:** 2026-10-19T22:17:16.087Z

## Who should check

- Anyone running Linux \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 35ba43b541117bfb595e4b807ba447cf4335cc7d; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< f2ebfd5cc87f1393a30c8b8b0a6c20cb22cffa97; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 56441f9e08ad68697295b8835266d2bc48ab59b5
- Anyone running Linux 6.18

## Description

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

drm/xe/vf: Fix VF CCS attach/detach race with in-flight BO moves

xe\_bo\_move() attaches VF CCS read/write batch buffers (BBs) to a BO
after it transitions NULL/SYSTEM -\> TT, and detaches them after it
transitions TT -\> SYSTEM. Both operations were done synchronously on
the CPU immediately after building the move's copy/clear fence,
without waiting for that fence to signal. This creates two races with
VF migration:

- Attach happens too late relative to the copy job it is meant to
  protect. If the copy job is submitted before the CCS BBs are
  attached, a VF migration event that pauses execution mid-copy can
  observe partially copied CCS metadata without the attach state
  needed to correctly save/restore it.

- Detach happens too early relative to the copy job that moves data
  out of TT. The CCS BBs are torn down right after the copy fence is
  obtained, while the actual blit may still be in flight. A VF
  migration event that pauses execution mid-copy can then race the
  save/restore path against the still-running blit, and the CCS BBs
  it would need to make sense of the paused state have already been
  removed.

Fix both races:

- Move the attach call to before the copy/clear job is submitted, so
  the CCS BBs are already registered by the time the copy runs. On
  attach failure, unwind and bail out of the move. xe\_migrate\_ccs\_rw\_copy()
  now takes the destination resource explicitly, since bo-\>ttm.resource
  is not updated to the new resource until after the move commits.

- Detach only after explicitly waiting for the copy fence to signal,
  instead of tearing down the CCS BBs immediately after obtaining it.

While here, also fix xe\_sriov\_vf\_ccs\_attach\_bo() to properly unwind and
propagate errors: the per-context loop previously never broke out on
error, silently discarding earlier failures. Unwind by clearing each
attached context directly via xe\_migrate\_ccs\_rw\_copy\_clear() instead of
reusing xe\_sriov\_vf\_ccs\_detach\_bo(), which requires both contexts to be
attached before it will clean up either one.

(cherry picked from commit d45ad0aa7a1eb5d7288b5ed948b05695611dc39e)

## Affected and fixed versions

- Linux: \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 35ba43b541117bfb595e4b807ba447cf4335cc7d; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< f2ebfd5cc87f1393a30c8b8b0a6c20cb22cffa97; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 56441f9e08ad68697295b8835266d2bc48ab59b5 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 56441f9e08ad68697295b8835266d2bc48ab59b5 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-68384. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68384.md
Affected: Linux >= 864690cf4dd62482b6dd049d82c509886c904303, < 35ba43b541117bfb595e4b807ba447cf4335cc7d; >= 864690cf4dd62482b6dd049d82c509886c904303, < f2ebfd5cc87f1393a30c8b8b0a6c20cb22cffa97; >= 864690cf4dd62482b6dd049d82c509886c904303, < 56441f9e08ad68697295b8835266d2bc48ab59b5; Linux 6.18
Fixed in: Linux 35ba43b541117bfb595e4b807ba447cf4335cc7d, Linux 56441f9e08ad68697295b8835266d2bc48ab59b5

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-68384 being exploited?

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

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

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

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

Linux \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 35ba43b541117bfb595e4b807ba447cf4335cc7d; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< f2ebfd5cc87f1393a30c8b8b0a6c20cb22cffa97; \>= 864690cf4dd62482b6dd049d82c509886c904303, \< 56441f9e08ad68697295b8835266d2bc48ab59b5; Linux 6.18.

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

Yes. Fixed in Linux 35ba43b541117bfb595e4b807ba447cf4335cc7d, Linux 56441f9e08ad68697295b8835266d2bc48ab59b5. Upgrade Linux to 56441f9e08ad68697295b8835266d2bc48ab59b5 or later.

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

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/35ba43b541117bfb595e4b807ba447cf4335cc7d>
- other: <https://git.kernel.org/stable/c/f2ebfd5cc87f1393a30c8b8b0a6c20cb22cffa97>
- other: <https://git.kernel.org/stable/c/56441f9e08ad68697295b8835266d2bc48ab59b5>

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

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