7.8high
drm/xe/ct: prevent UAF in send_recv()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.8 before 6.11.4, 6.12 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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)
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/xe/ct: evitar UAF en send_recv() Asegurarnos de que serializamos con el lado de finalización para evitar que UAF con valla salga del ámbito en la pila, ya que no tenemos ni idea de si se activará después del tiempo de espera antes de que podamos borrar del xa. También tenemos algunas cargas y almacenamientos dependientes para los que necesitamos el orden correcto, y carecemos de las barreras necesarias. Arregla esto tomando el ct->lock después de la espera, que también está retenido por el lado de finalización. v2 (Badal): - También se imprime después de adquirir el bloqueo y ver el tiempo de espera. (seleccionado de el commit 52789ce35c55ccd30c4b67b9cc5b2af55e0122ea)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50030 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-50030 changed 2026-08-04 | Public domain |