CVE-2026-143250: drm/xe/guc: Protect timeout handling from device unplug
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/guc: Protect timeout handling from device unplug
The GuC scheduler timeout callback accesses device and GT state while handling a timed-out job. Guard the callback with drmdeventer() and drmdevexit() so device unplug waits for in-flight timeout handling. If unplug has already started, mark the job with -ENODEV and return it to the scheduler for cleanup.
(cherry picked from commit 3e9a95f3df5b0f9de163c5ee4e4e287750ef9655)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Guard the GuC scheduler timeout callback with drm_dev_enter()/drm_dev_exit() so device unplug waits for in-flight handling; if unplug has started, mark the job with -ENODEV and return it to the scheduler for cleanup.
Event History
Frequently Asked Questions
What conditions are required to trigger this issue?
A GuC scheduler job must time out while the associated DRM device is being unplugged or has begun unplug processing. The vulnerable path is the timeout callback accessing device and GT state during that race.
What happens if unplug has already begun after the fix?
The timeout handler marks the timed-out job with -ENODEV and returns it to the scheduler for cleanup, rather than accessing device state. Device unplug also waits for any in-flight timeout handling to complete.
How can I determine whether a kernel includes the fix?
Check whether the kernel source includes the stable commits ae46556995d2c14397927e05310f9cbecdbaf9bf or 78945c8c44bb2cfd6e5d2f762535efce0cefb086, or the referenced upstream commit 3e9a95f3df5b0f9de163c5ee4e4e287750ef9655. The relevant code should protect the GuC scheduler timeout callback with drm_dev_enter() and drm_dev_exit().