# CVE-2024-49943: drm/xe/guc_submit: add missing locking in wedged_fini

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2024-10-21T18:02:01.794Z
- Modified: 2026-08-05T11:40:36.495Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 8ed9aaae39f39130b7a3eb2726be05d7f64b344c before d88f9bab7e62dd0dbe983fa70cf040042a60cc84; from 8ed9aaae39f39130b7a3eb2726be05d7f64b344c before 790533e44bfc7af929842fccd9674c9f424d4627; 6.11 (not affected: before 6.11; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.11 before 6.11.3; 6.12

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d88f9bab7e62dd0dbe983fa70cf040042a60cc84> (patch)
- <https://git.kernel.org/stable/c/790533e44bfc7af929842fccd9674c9f424d4627> (patch)

## Sources

- CVE List: [CVE-2024-49943](https://www.cve.org/CVERecord?id=CVE-2024-49943), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-49943](https://nvd.nist.gov/vuln/detail/CVE-2024-49943), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-49943 · Whole record: https://cve.day/CVE-2024-49943.json · Rebuilt by cve.day 2026-11-25T22:58:47.056Z
