CVE-2025-38353
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
25/07/2025
Last modified:
25/07/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/xe: Fix taking invalid lock on wedge<br />
<br />
If device wedges on e.g. GuC upload, the submission is not yet enabled<br />
and the state is not even initialized. Protect the wedge call so it does<br />
nothing in this case. It fixes the following splat:<br />
<br />
[] xe 0000:bf:00.0: [drm] device wedged, needs recovery<br />
[] ------------[ cut here ]------------<br />
[] DEBUG_LOCKS_WARN_ON(lock->magic != lock)<br />
[] WARNING: CPU: 48 PID: 312 at kernel/locking/mutex.c:564 __mutex_lock+0x8a1/0xe60<br />
...<br />
[] RIP: 0010:__mutex_lock+0x8a1/0xe60<br />
[] mutex_lock_nested+0x1b/0x30<br />
[] xe_guc_submit_wedge+0x80/0x2b0 [xe]