CVE-2025-40166 - drm/xe/guc: Check GuC running state before deregistering exec queue
CVE ID : CVE-2025-40166 Published : Nov. 12, 2025, 11:15 a.m. | 1 hour, 30 minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: drm/xe/guc: Check GuC running state before deregistering exec queue In normal operation, a registered exec queue is disabled and deregistered through the GuC, and freed only after the GuC confirms completion. However, if the driver is forced to unbind while the exec queue is still running, the user may call exec_destroy() after the GuC has already been stopped and CT communication disabled. In this case, the driver cannot receive a response from the GuC, preventing proper cleanup of exec queue resources. Fix this by directly releasing the resources when GuC is not running. Here is the failure dmesg log: