CVE-2026-52950 drm/xe/dma-buf: fix UAF with retry loop
A use-after-free vulnerability in the Linux kernel's Xe GPU driver allows attackers to potentially execute arbitrary code or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-52950?
CVE-2026-52950 is a high-severity use after free vulnerability in Linux kernel, published on 24 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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)
Which versions are affected by CVE-2026-52950?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-52950?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-52950 being exploited?
There is no known exploitation of CVE-2026-52950 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-52950, DEBIAN-CVE-2026-52950, GHSA-mp35-p2hc-v59q, UBUNTU-CVE-2026-52950.