What’s Vulnerable › Vulnerabilities
CVE-2024-49943: drm/xe/guc_submit: add missing locking in wedged_fini
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-08-04
- Weakness: CWE-667
Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe/guc_submit: add missing locking in wedged_fini Any non-wedged queue can have a zero refcount here and can be running concurrently with an async queue destroy, therefore dereferencing the queue ptr to check wedge status after the lookup can trigger UAF if queue is not wedged. Fix this by keeping the submission_state lock held around the check to postpone the free and make the check safe, before dropping again around the put() to avoid the deadlock. (cherry picked from commit d28af0b6b9580b9f90c265a7da0315b0ad20bbfd)
Affected products
- Linux kernel: from 6.11 before 6.11.3; 6.12-rc1 — fixed in 6.11.3
How to fix
Upgrade to a fixed version: Linux kernel 6.11.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/790533e44bfc7af929842fccd9674c9f424d4627
- https://git.kernel.org/stable/c/d88f9bab7e62dd0dbe983fa70cf040042a60cc84
Get alerted when CVE-2024-49943 or the next vulnerability affects your stack