What’s Vulnerable › Vulnerabilities
CVE-2026-52950: drm/xe/dma-buf: fix UAF with retry loop
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-24 · updated 2026-10-19
- Weakness: CWE-416
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)
Affected products
- Linux kernel: from 6.18 before 6.18.33; from 6.19 before 7.0.10; 7.1-rc1, 7.1-rc2, 7.1-rc3 — fixed in 6.18.33, 7.0.10
How to fix
Upgrade to a fixed version: Linux kernel 6.18.33, 7.0.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/155a372a1cc50fa93387c5d3cdfd614a61e1afd1
- https://git.kernel.org/stable/c/39fdac6be02eb7c3460518c1c4085f75f935c4ce
- https://git.kernel.org/stable/c/827062952ed9bdf4220466c1f05ce452d04bdedf
- https://access.redhat.com/errata/RHSA-2026:42919
- https://access.redhat.com/errata/RHSA-2026:45192
- https://access.redhat.com/security/cve/CVE-2026-52950
- https://bugzilla.redhat.com/show_bug.cgi?id=2492318
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52950.json
Get alerted when CVE-2026-52950 or the next vulnerability affects your stack