drm/xe/dma-buf: fix UAF with retry loop
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.1%
exploitation probability
0.1%top 96% of all CVEs
observed exploitation
nono source reports it
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)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://access.redhat.com/security/cve/CVE-2026-52950https://bugzilla.redhat.com/show_bug.cgi?id=2492318https://git.kernel.org/stable/c/155a372a1cc50fa93387c5d3cdfd614a61e1afd1https://git.kernel.org/stable/c/39fdac6be02eb7c3460518c1c4085f75f935c4cehttps://git.kernel.org/stable/c/827062952ed9bdf4220466c1f05ce452d04bdedfhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52950.json