CVE-2025-40166: Linux kernel · drm/xe/guc: Check GuC running state before deregistering exec queue In normal
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to address this issue by checking the GuC running state before deregistering exec queues and releasing resources directly if GuC is not running. Users should apply the updated kernel version containing this patch once available. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisories for the official fix and update guidance.
Description
A vulnerability in the Linux kernel's drm/xe/guc driver was resolved that could lead to improper cleanup of exec queue resources if the driver is forced to unbind while the exec queue is still running. This occurs because the driver may attempt to deregister an exec queue after the GuC (Graphics microcontroller) has stopped and communication is disabled, preventing proper resource cleanup and causing errors. The fix ensures resources are released directly when the GuC is not running.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40166 (opens in a new tab)
- git.kernel.org/stable/c/2c6e5904c5bdbac8e0eadee40f70c42bb83f6dc6 (opens in a new tab)
- git.kernel.org/stable/c/9f64b3cd051b825de0a2a9f145c8e003200cedd5 (opens in a new tab)
- git.kernel.org/stable/c/fa708415566bbe5361c935645107319f8edc8dc1 (opens in a new tab)