Use After Free in Linux
CVE-2026-52950
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)
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 7.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions eb289a5f6cc668853f9b2ea6aca04afe58ed11c7, 6.18, 0
- Linux Kernel — versions 7.1
Weakness classification (CWE)
References
- git.kernel.org/stable/c/155a372a1cc50fa93387c5d3cdfd614a61e1afd1 (Patch)
- git.kernel.org/stable/c/39fdac6be02eb7c3460518c1c4085f75f935c4ce (Patch)
- git.kernel.org/stable/c/827062952ed9bdf4220466c1f05ce452d04bdedf (Patch)
- access.redhat.com/security/cve/CVE-2026-52950 (Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52950.json (Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:42919
- access.redhat.com/errata/RHSA-2026:45192