# CVE-2025-38356: drm/xe/guc: Explicitly exit CT safe mode on unwind

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 11% of CVEs (2026-11-30)
- Published: 2025-07-25T12:47:27.803Z
- Modified: 2026-11-05T21:18:28.727Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

drm/xe/guc: Explicitly exit CT safe mode on unwind

During driver probe we might be briefly using CT safe mode, which
is based on a delayed work, but usually we are able to stop this
once we have IRQ fully operational.  However, if we abort the probe
quite early then during unwind we might try to destroy the workqueue
while there is still a pending delayed work that attempts to restart
itself which triggers a WARN.

This was recently observed during unsuccessful VF initialization:

 [ ] xe 0000:00:02.1: probe with driver xe failed with error -62
 [ ] ------------[ cut here ]------------
 [ ] workqueue: cannot queue safe_mode_worker_func [xe] on wq xe-g2h-wq
 [ ] WARNING: CPU: 9 PID: 0 at kernel/workqueue.c:2257 __queue_work+0x287/0x710
 [ ] RIP: 0010:__queue_work+0x287/0x710
 [ ] Call Trace:
 [ ]  delayed_work_timer_fn+0x19/0x30
 [ ]  call_timer_fn+0xa1/0x2a0

Exit the CT safe mode on unwind to avoid that warning.

(cherry picked from commit 2ddbb73ec20b98e70a5200cb85deade22ccea2ec)

(As written by CVE List.)

## Affected

- Linux Linux: from 09b286950f2911615694f4a1ff491efe9ed5eeba before 6d0b588614c43d6334b2d7a70a99f31f7b14ecc0; from 09b286950f2911615694f4a1ff491efe9ed5eeba before f161e905b08ae8a513c5a36a10e3163e9920cfe6; from 09b286950f2911615694f4a1ff491efe9ed5eeba before ad40098da5c3b43114d860a5b5740e7204158534; 6.11 (not affected: before 6.11; from 6.12.37 up to 6.12.*; from 6.15.5 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.11 before 6.12.37; from 6.13 before 6.15.5; 6.16

## References

- <https://git.kernel.org/stable/c/6d0b588614c43d6334b2d7a70a99f31f7b14ecc0> (patch)
- <https://git.kernel.org/stable/c/f161e905b08ae8a513c5a36a10e3163e9920cfe6> (patch)
- <https://git.kernel.org/stable/c/ad40098da5c3b43114d860a5b5740e7204158534> (patch)

## Sources

- CVE List: [CVE-2025-38356](https://www.cve.org/CVERecord?id=CVE-2025-38356), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38356](https://nvd.nist.gov/vuln/detail/CVE-2025-38356), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38356 · Whole record: https://cve.day/CVE-2025-38356.json · Rebuilt by cve.day 2026-11-25T22:59:01.662Z
