CVE-2026-52950
7.8high
drm/xe/dma-buf: fix UAF with retry loop
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 before 39fdac6be02eb7c3460518c1c4085f75f935c4ce, from eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 before 827062952ed9bdf4220466c1f05ce452d04bdedf, from eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 before 155a372a1cc50fa93387c5d3cdfd614a61e1afd1, 6.18 Not affected: before 6.18, from 6.18.33 up to 6.18.*, from 7.0.10 up to 7.0.*, from 7.1 up to * | CVE List |
| kernel | Not specified Not affected: from 0:6.12.0-211.37.1.el10_2 before *, from 0:5.14.0-687.30.1.el9_8 before * | CVE List |
| kernel-rt | Not specified | CVE List |
| linux linux_kernel | from 6.18 before 6.18.33, from 6.19 before 7.0.10, 7.1 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADP | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
References
| https://git.kernel.org/stable/c/39fdac6be02eb7c3460518c1c4085f75f935c4ce | patch | |
| https://git.kernel.org/stable/c/827062952ed9bdf4220466c1f05ce452d04bdedf | patch | |
| https://git.kernel.org/stable/c/155a372a1cc50fa93387c5d3cdfd614a61e1afd1 | patch | |
| https://access.redhat.com/security/cve/CVE-2026-52950 | third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2492318 | issue-tracking, third-party-advisory | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52950.json | third-party-advisory | |
| https://access.redhat.com/errata/RHSA-2026:42919 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2026:45192 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-52950 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-52950 changed 2026-10-19 | Public domain |