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)
https://git.kernel.org/stable/c/827062952ed9bdf4220466c1f05ce452d04bdedf
https://git.kernel.org/stable/c/39fdac6be02eb7c3460518c1c4085f75f935c4ce
https://git.kernel.org/stable/c/155a372a1cc50fa93387c5d3cdfd614a61e1afd1