---
id: CVE-2025-38353
title: 'drm/xe: Fix taking invalid lock on wedge'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/xe: Fix taking invalid lock on wedge

  If device wedges on e.g. GuC upload, the submission is not yet enabled
  and the state is not even initialized. Protect the wedg…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= dd08ebf6c3525a7ea2186e636df064ea47281987 <
    a6d81b2d7037ef36163ad16459ed3fd17cb1b596
  - >-
    Linux >= dd08ebf6c3525a7ea2186e636df064ea47281987 <
    20eec7018e132a023f84ccbdf56b6c5b73d3094f
  - >-
    Linux >= dd08ebf6c3525a7ea2186e636df064ea47281987 <
    1e1981b16bb1bbe2fafa57ed439b45cb5b34e32d
  - Linux 6.8
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:55:14.234480Z'
published: '2025-07-25'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:02:34.669Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-38353'
references:
  - url: 'https://git.kernel.org/stable/c/a6d81b2d7037ef36163ad16459ed3fd17cb1b596'
  - url: 'https://git.kernel.org/stable/c/20eec7018e132a023f84ccbdf56b6c5b73d3094f'
  - url: 'https://git.kernel.org/stable/c/1e1981b16bb1bbe2fafa57ed439b45cb5b34e32d'
tags:
  - cve.org
epss: 0.00141
epssPercentile: 0.03487
ingestedAt: '2026-11-05T22:38:31.959Z'
---

## Overview

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

drm/xe: Fix taking invalid lock on wedge

If device wedges on e.g. GuC upload, the submission is not yet enabled
and the state is not even initialized. Protect the wedge call so it does
nothing in this case. It fixes the following splat:

	[] xe 0000:bf:00.0: [drm] device wedged, needs recovery
	[] ------------[ cut here ]------------
	[] DEBUG_LOCKS_WARN_ON(lock->magic != lock)
	[] WARNING: CPU: 48 PID: 312 at kernel/locking/mutex.c:564 __mutex_lock+0x8a1/0xe60
	...
	[] RIP: 0010:__mutex_lock+0x8a1/0xe60
	[]  mutex_lock_nested+0x1b/0x30
	[]  xe_guc_submit_wedge+0x80/0x2b0 [xe]

## Affected

- `Linux >= dd08ebf6c3525a7ea2186e636df064ea47281987 < a6d81b2d7037ef36163ad16459ed3fd17cb1b596`
- `Linux >= dd08ebf6c3525a7ea2186e636df064ea47281987 < 20eec7018e132a023f84ccbdf56b6c5b73d3094f`
- `Linux >= dd08ebf6c3525a7ea2186e636df064ea47281987 < 1e1981b16bb1bbe2fafa57ed439b45cb5b34e32d`
- `Linux 6.8`

## Remediation

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