# CVE-2024-50030: drm/xe/ct: prevent UAF in send\_recv()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-21 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-50030, DEBIAN-CVE-2024-50030
- Record: https://cvemate.com/vulnerability/CVE-2024-50030 · JSON: https://cvemate.com/vulnerability/CVE-2024-50030/json

## Description

```text
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)
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.229%, percentile 14.599%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 106)

- debian linux (Debian): \< 6.11.4-1
- ubuntu linux (Ubuntu): \< 6.8.0-56.58
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1025.27
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1027.29~22.04.1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1025.30
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.11 (Ubuntu): \< 6.11.0-1012.12~24.04.1

## References

- <https://git.kernel.org/stable/c/8ed7dd4c55e4fb21531a9645aeb66a30eaf43a46>
- <https://git.kernel.org/stable/c/db7f92af626178ba59dbbcdd5dee9ec24a987a88>
- <https://ubuntu.com/security/CVE-2024-50030>
- <https://www.cve.org/CVERecord?id=CVE-2024-50030>
- <https://git.kernel.org/linus/db7f92af626178ba59dbbcdd5dee9ec24a987a88>
- <https://ubuntu.com/security/notices/USN-7276-1>
- <https://ubuntu.com/security/notices/USN-7277-1>
- <https://ubuntu.com/security/notices/USN-7310-1>
- <https://ubuntu.com/security/notices/USN-7383-1>
- <https://ubuntu.com/security/notices/USN-7384-1>
- <https://ubuntu.com/security/notices/USN-7385-1>
- <https://ubuntu.com/security/notices/USN-7386-1>
- <https://ubuntu.com/security/notices/USN-7383-2>
- <https://ubuntu.com/security/notices/USN-7384-2>
- <https://ubuntu.com/security/notices/USN-7403-1>
- <https://ubuntu.com/security/notices/USN-7451-1>
- <https://ubuntu.com/security/notices/USN-7468-1>
- <https://ubuntu.com/security/notices/USN-7523-1>
- <https://ubuntu.com/security/notices/USN-7524-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-50030>

---

Data as of 2026-12-05T04:47:42.813Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
