---
id: CVE-2025-38356
title: 'drm/xe/guc: Explicitly exit CT safe mode on unwind'
summary: |-
  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 abl…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 09b286950f2911615694f4a1ff491efe9ed5eeba <
    6d0b588614c43d6334b2d7a70a99f31f7b14ecc0
  - >-
    Linux >= 09b286950f2911615694f4a1ff491efe9ed5eeba <
    f161e905b08ae8a513c5a36a10e3163e9920cfe6
  - >-
    Linux >= 09b286950f2911615694f4a1ff491efe9ed5eeba <
    ad40098da5c3b43114d860a5b5740e7204158534
  - Linux 6.11
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:55:22.480684Z'
published: '2025-07-25'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:02:35.153Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-38356'
references:
  - url: 'https://git.kernel.org/stable/c/6d0b588614c43d6334b2d7a70a99f31f7b14ecc0'
  - url: 'https://git.kernel.org/stable/c/f161e905b08ae8a513c5a36a10e3163e9920cfe6'
  - url: 'https://git.kernel.org/stable/c/ad40098da5c3b43114d860a5b5740e7204158534'
tags:
  - cve.org
epss: 0.00187
epssPercentile: 0.08304
ingestedAt: '2026-11-05T22:38:31.961Z'
---

## Overview

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)

## Affected

- `Linux >= 09b286950f2911615694f4a1ff491efe9ed5eeba < 6d0b588614c43d6334b2d7a70a99f31f7b14ecc0`
- `Linux >= 09b286950f2911615694f4a1ff491efe9ed5eeba < f161e905b08ae8a513c5a36a10e3163e9920cfe6`
- `Linux >= 09b286950f2911615694f4a1ff491efe9ed5eeba < ad40098da5c3b43114d860a5b5740e7204158534`
- `Linux 6.11`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
