drm/xe/dma-buf: fix UAF with retry loop
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 155a372a1cc50fa93387c5d3cdfd614a61e1afd1, Kernel 39fdac6be02eb7c3460518c1c4085f75f935c4ce and Kernel 827062952ed9bdf4220466c1f05ce452d04bdedf.
In the Linux kernel, the following vulnerability has been resolved: drm/xe/dma-buf: fix UAF with retry loop Retry doesn't work here, since bo will be freed on error, leading to UAF. However, now that we do the alloc & init before the attach, we can now combine this as one unit and have the init do the alloc for us. This should make the retry safe. Reported by Sashiko. v2: Fix up the error unwind (CI) (cherry picked from commit 479669418253e0f27f8cf5db01a731352ea592e7)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.18, >=eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 <155a372a1cc50fa93387c5d3cdfd614a61e1afd1, >=eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 <39fdac6be02eb7c3460518c1c4085f75f935c4ce, >=eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 <827062952ed9bdf4220466c1f05ce452d04bdedf | 155a372a1cc50fa93387c5d3cdfd614a61e1afd1, 39fdac6be02eb7c3460518c1c4085f75f935c4ce, 827062952ed9bdf4220466c1f05ce452d04bdedf |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket