# CVE-2026-68382: drm/xe/guc: Hold device ref until queue teardown completes

> 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.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-08-10T12:04:01.187Z
- **Modified:** 2026-10-19T22:17:15.773Z

## Who should check

- Anyone running Linux \>= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, \< 81f70f130eff985fb678d8b891c960381bc7e900; \>= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, \< 03d6f83979b0d75a0b0893dfe1735ec93facf515; \>= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, \< 9b7e60184f4b22e893d4ae95234d5f26261a430c; 272b0e78874586d6ccae04079d75b27b47705544; 421c74670b0f9d5c007f1276d3647aa58f407fde; \>= 6.10.14, \< 6.11; \>= 6.11.3, \< 6.12
- Anyone running Linux 6.12

## Description

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

drm/xe/guc: Hold device ref until queue teardown completes

GuC exec queue destruction can run asynchronously. If the final device
put happens from a destroy worker, drmm cleanup can end up draining
the same workqueue and deadlock.

Hold a drm\_device reference for the queue lifetime and drop it after
queue teardown completes. This keeps drmm cleanup from running while
async destroy work is still pending.

Move GuC destroy work to a module-lifetime Xe workqueue and flush it
on PCI remove so hot-unbind/rebind still waits for pending destroy work.

With queue-held device refs, guc\_submit\_sw\_fini() cannot run with live
GuC IDs. Replace the fini wait with an assertion and remove the unused
fini\_wq.

v2:
  - Rebase

v3:
  - Switch to queue-lifetime drm\_dev\_get()/drm\_dev\_put() model. (Matt)
  - Queue async teardown on system\_dfl\_wq instead of xe-\>destroy\_wq. (Matt)
  - Drop separate deferred drm\_dev\_put worker.
  - Remove stale drain\_workqueue(xe-\>destroy\_wq) from guc\_submit\_sw\_fini().

v4:
  - Replace the guc\_submit\_sw\_fini() wait with an assertion and remove
    the now-unused fini\_wq. (sashiko)

v5:
  - Move destroy work to a module-lifetime Xe workqueue instead of
    system\_dfl\_wq. (Matt)
  - Flush the module-lifetime destroy workqueue during PCI remove to
    preserve the old device-remove wait semantics.

v6:
  - Keep SVM pagemap destroy work on the per-device destroy\_wq to avoid
    letting it outlive the xe\_device/drm\_device. (Sashiko)
  - Use WQ\_MEM\_RECLAIM for xe-\>destroy\_wq because SVM pagemap destroy work
    can be queued from the reclaim path.

v7:
  - Drop the per-device xe-\>destroy\_wq and use the module-level destroy WQ
    for SVM pagemap destroy as well. (Matt)
  - Rename xe\_exec\_queue\_destroy\_wq\_\*() helpers to xe\_destroy\_wq\_\*()
    helpers because the WQ is no longer exec-queue specific. (Matt)

v8:
  - Rebase.

v9:
  - Keep SVM pagemap destroy work on the per-device WQ\_MEM\_RECLAIM
    destroy\_wq because it can be queued from reclaim and embeds
    the dev\_pagemap used by devres teardown. (Sashiko)
  - Keep the module-level destroy WQ GuC-only and drop WQ\_MEM\_RECLAIM
    from it.
  - Update the module-WQ kdoc to document the GuC/SVM split.

v10:
  - Keep xe-\>destroy\_wq per-cpu while adding WQ\_MEM\_RECLAIM to fix the
    workqueue allocation warning.

v11:
  - Drop the SVM pagemap destroy comment as it was revision-specific.
    (Thomas)

v12:
  - Rebase.

(cherry picked from commit da1124abac689cc2b1d8995e5f0a816f8a122edb)

## Affected and fixed versions

- Linux: \>= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, \< 81f70f130eff985fb678d8b891c960381bc7e900; \>= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, \< 03d6f83979b0d75a0b0893dfe1735ec93facf515; \>= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, \< 9b7e60184f4b22e893d4ae95234d5f26261a430c; 272b0e78874586d6ccae04079d75b27b47705544; 421c74670b0f9d5c007f1276d3647aa58f407fde; \>= 6.10.14, \< 6.11; \>= 6.11.3, \< 6.12 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-68382.md
Affected: Linux >= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, < 81f70f130eff985fb678d8b891c960381bc7e900; >= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, < 03d6f83979b0d75a0b0893dfe1735ec93facf515; >= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, < 9b7e60184f4b22e893d4ae95234d5f26261a430c; 272b0e78874586d6ccae04079d…
Fixed in: Linux 81f70f130eff985fb678d8b891c960381bc7e900, Linux 03d6f83979b0d75a0b0893dfe1735ec93facf515, Linux 9b7e60184f4b22e893d4ae95234d5f26261a430c, Linux 6.11, Linux 6.12

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

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

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

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

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

Linux \>= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, \< 81f70f130eff985fb678d8b891c960381bc7e900; \>= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, \< 03d6f83979b0d75a0b0893dfe1735ec93facf515; \>= 2d2be279f1ca9e7288282d4214f16eea8a727cdb, \< 9b7e60184f4b22e893d4ae95234d5f26261a430c; 272b0e78874586d6ccae04079d75b27b47705544; 421c74670b0f9d5c007f1276d3647aa58f407fde; \>= 6.10.14, \< 6.11; \>= 6.11.3, \< 6.12; Linux 6.12.

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

Yes. Fixed in Linux 81f70f130eff985fb678d8b891c960381bc7e900, Linux 03d6f83979b0d75a0b0893dfe1735ec93facf515, Linux 9b7e60184f4b22e893d4ae95234d5f26261a430c, Linux 6.11, Linux 6.12. Upgrade Linux to 6.12 or later.

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

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/81f70f130eff985fb678d8b891c960381bc7e900>
- other: <https://git.kernel.org/stable/c/03d6f83979b0d75a0b0893dfe1735ec93facf515>
- other: <https://git.kernel.org/stable/c/9b7e60184f4b22e893d4ae95234d5f26261a430c>

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

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