CVE-2026-52950
published high CVSS 3.1 · 7.8drm/xe/dma-buf: fix UAF with retry loop
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxeb289a5f6cc668853f9b2ea6aca04afe58ed11c7 to < 39fdac6be02eb7c3460518c1c4085f75f935c4ce · eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 to < 827062952ed9bdf4220466c1f05ce452d04bdedf · eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 to < 155a372a1cc50fa93387c5d3cdfd614a61e1afd1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.33 through 6.18.* (unaffected · semver) · 7.0.10 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Red Hat Enterprise Linux | 10 | kernel0:6.12.0-211.37.1.el10_2 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 9 | kernel0:5.14.0-687.30.1.el9_8 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-211.37.1.el10_2 | ELSA-2026-42919 |
Show 101 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 6, 7, 8 | kernel | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 7, 8 | kernel-rt | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 9 | kernel-rt | Affected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | RHEL-10 | kernelaarch64 | Advisory build | 6.12.0-211.37.1.el10_2 | RHSA-2026:42919 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-687.30.1.el9_8 | ELSA-2026-45192 |
| Red Hat Enterprise Linux | RHEL-10 | kernelppc64le | Advisory build | 6.12.0-211.37.1.el10_2 | RHSA-2026:42919 |
| Red Hat Enterprise Linux | RHEL-10 | kernels390x | Advisory build | 6.12.0-211.37.1.el10_2 | RHSA-2026:42919 |
| Red Hat Enterprise Linux | RHEL-10 | kernelsrc | Advisory build | 6.12.0-211.37.1.el10_2 | RHSA-2026:42919 |
| Red Hat Enterprise Linux | RHEL-10 | kernelx86_64 | Advisory build | 6.12.0-211.37.1.el10_2 | RHSA-2026:42919 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-rtaarch64 | Advisory build | 6.12.0-211.37.1.el10_2 | RHSA-2026:42919 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-rtx86_64 | Advisory build | 6.12.0-211.37.1.el10_2 | RHSA-2026:42919 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-687.30.1.el9_8 | RHSA-2026:45192 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-687.30.1.el9_8 | RHSA-2026:45192 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-687.30.1.el9_8 | RHSA-2026:45192 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-687.30.1.el9_8 | RHSA-2026:45192 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-687.30.1.el9_8 | RHSA-2026:45192 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtaarch64 | Advisory build | 5.14.0-687.30.1.el9_8 | RHSA-2026:45192 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-687.30.1.el9_8 | RHSA-2026:45192 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.37.1.el10_2 | ALSA-2026:42919 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.37.1.el10_2 | ALSA-2026:42919 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-687.30.1.el9_8 | ALSA-2026:45192 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-211.37.1.el10_2 | ELSA-2026-42919 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-211.37.1.el10_2 | ELSA-2026-42919 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-211.37.1.el10_2 | ELSA-2026-42919 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-211.37.1.el10_2 | ELSA-2026-42919 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-211.37.1.el10_2 | ELSA-2026-42919 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-211.37.1.el10_2 | ELSA-2026-42919 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-211.37.1.el10_2 | ELSA-2026-42919 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.37.1.el10_2 | ELSA-2026-42919 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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)
A flaw was found in the Linux kernel, specifically within the drm/xe/dma-buf component. This Use-After-Free (UAF) vulnerability occurs due to an issue in a retry loop, where a buffer object is prematurely freed on error. An attacker could potentially exploit this to cause memory corruption, leading to system instability or, in some cases, arbitrary code execution.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Reachable through the local DRM_IOCTL_PRIME_FD_TO_HANDLE ioctl on an Intel Xe DRM device by importing a dma-buf FD into the Xe driver. This is a local syscall/ioctl path, not a network, adjacent, or physical attack surface. AC:L - The UAF arises from attacker-triggerable retry/error handling in the dma-buf import path; a local attacker can repeatedly import dma-bufs and create contention/pressure to exercise the retry loop. No condition appears to require an uncontrollable victim action or rare external state. PR:L - The ioctl is DRM_RENDER_ALLOW and Xe supports render nodes, with no CAP_SYS_ADMIN, DRM master, or authentication gate in the path. The attacker needs only local access to the DRM render device and a dma-buf FD, so this is low privilege. UI:N - No victim user action is required once the attacker has local access to the device node. The attacker can invoke the ioctl and drive the relevant dma-buf operations directly. S:U - The bug corrupts kernel DRM/Xe memory from within the same kernel security authority. It does not inherently cross a VM, IOMMU, or other separate security scope boundary. C:H - This is a kernel heap use-after-free involving a freed xe_bo/GEM object that can later be reused through cleanup or dma-buf move-notify paths. Such UAF memory corruption is defensibly capable of producing kernel memory disclosure. I:H - The stale xe_bo/GEM pointer can be used after free in object/refcount and move-notify handling, giving a plausible kernel heap corruption primitive. Under the requested scoring rule, this supports arbitrary modification or code execution impact. A:H - Even without full exploitation, the UAF can dereference or operate on freed/corrupted kernel objects and crash the kernel. Related Xe dma-buf fixes reported NULL dereferences and crashes in similar paths.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.0 | high | redhat-SADP · adp | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 to < 39fdac6be02eb7c3460518c1c4085f75f935c4ce (affected · git)eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 to < 827062952ed9bdf4220466c1f05ce452d04bdedf (affected · git)eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 to < 155a372a1cc50fa93387c5d3cdfd614a61e1afd1 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.33 through 6.18.* (unaffected · semver)7.0.10 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Red Hat | Red Hat Enterprise Linux 10 | 0:6.12.0-211.37.1.el10_2 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | 0:5.14.0-687.30.1.el9_8 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-825 Expired Pointer Dereference
- CWE-825 CWE-825 Expired Pointer Dereference
References
8- 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
- RHBZ#2492318 https://bugzilla.redhat.com/show_bug.cgi?id=2492318
- https://git.kernel.org/stable/c/155a372a1cc50fa93387c5d3cdfd614a61e1afd1
- https://git.kernel.org/stable/c/39fdac6be02eb7c3460518c1c4085f75f935c4ce
- https://git.kernel.org/stable/c/827062952ed9bdf4220466c1f05ce452d04bdedf
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52950.json
Provider assertions
3Linux · cna
drm/xe/dma-buf: fix UAF with retry loop
redhat-SADP · adp
kernel: drm/xe/dma-buf: fix UAF with retry loop
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 90fcfbd98013cba4dceed8ab4dc30b9c01a93b85ee4659569a0d9ff2148ec19a
- Ingested
- 19 Oct 2026, 19:58:04 UTC
- Source record
- Official CVE record