drm/xe/ct: prevent UAF in send_recv()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8ed7dd4c55e4fb21531a9645aeb66a30eaf43a46 and Kernel db7f92af626178ba59dbbcdd5dee9ec24a987a88.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.8, >=dd08ebf6c3525a7ea2186e636df064ea47281987 <8ed7dd4c55e4fb21531a9645aeb66a30eaf43a46, >=dd08ebf6c3525a7ea2186e636df064ea47281987 <db7f92af626178ba59dbbcdd5dee9ec24a987a88 | 8ed7dd4c55e4fb21531a9645aeb66a30eaf43a46, db7f92af626178ba59dbbcdd5dee9ec24a987a88 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket