# CVE-2024-50030: drm/xe/ct: prevent UAF in send_recv()

- 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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-10-21T19:39:33.127Z
- Modified: 2026-08-05T11:41:06.500Z
- Weaknesses: CWE-416
- 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/ct: prevent UAF in send_recv()

Ensure we serialize with completion side to prevent UAF with fence going
out of scope on the stack, since we have no clue if it will fire after
the timeout before we can erase from the xa. Also we have some dependent
loads and stores for which we need the correct ordering, and we lack the
needed barriers. Fix this by grabbing the ct->lock after the wait, which
is also held by the completion side.

v2 (Badal):
 - Also print done after acquiring the lock and seeing timeout.

(cherry picked from commit 52789ce35c55ccd30c4b67b9cc5b2af55e0122ea)

(As written by CVE List.)

## Affected

- Linux Linux: from dd08ebf6c3525a7ea2186e636df064ea47281987 before 8ed7dd4c55e4fb21531a9645aeb66a30eaf43a46; from dd08ebf6c3525a7ea2186e636df064ea47281987 before db7f92af626178ba59dbbcdd5dee9ec24a987a88; 6.8 (not affected: before 6.8; from 6.11.4 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.8 before 6.11.4; 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 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/8ed7dd4c55e4fb21531a9645aeb66a30eaf43a46> (patch)
- <https://git.kernel.org/stable/c/db7f92af626178ba59dbbcdd5dee9ec24a987a88> (patch)

## Sources

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

---

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