CVE-2026-52950
NoneCVSS
—
EPSS
0.2%
Published
Jun 24, 2026
CISA due date
—
Cloudanix analysis
A flaw in some Linux graphics driver code could let someone already on the machine crash it or possibly gain more control, so affected systems should be updated.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Privilege Gain
- Component
- OS kernel
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
This is a use-after-free flaw in the Linux kernel Direct Rendering Manager xe driver dma-buf attach/retry error path. When an attach operation fails and retry logic is exercised, a buffer object can be freed while later code still references it. At a technical level, this can lead to kernel memory corruption, kernel crash, or potentially privilege escalation if an attacker can reliably trigger the faulty path and shape kernel memory. The practical attack surface is local: exploitation generally requires the ability to interact with the affected DRM/GPU device interfaces exposed by the kernel.
Why it matters to the business
Systems running affected Linux kernels with the xe DRM driver enabled may be exposed to local denial-of-service risk and, in a worst case, local privilege escalation. This is not currently listed in CISA KEV, has very low EPSS, and has no reported public exploit maturity in the supplied data, so broad internet-scale exploitation is unlikely; however, Linux kernel flaws can become high-impact on shared workstations, GPU-enabled servers, build hosts, VDI platforms, and multi-user compute environments where untrusted local users or workloads can access GPU device nodes.
How an attack unfolds
An attacker first needs local code execution or an already-running workload on a system using the affected Linux kernel xe DRM driver. The attacker interacts with DRM/dma-buf interfaces, typically through device nodes such as GPU render or card devices, and attempts to force an attach operation into an error condition that enters the vulnerable retry path. Because the retry path may reference a buffer object after it has been freed, the attacker can trigger a kernel use-after-free. The most reliable outcome is likely a kernel oops, panic, GPU driver failure, or system instability. With additional exploitation work, heap grooming, and favorable kernel configuration, the same primitive may be investigated for local privilege escalation, although no public exploit maturity is indicated by the provided data.
How to fix it
Upgrade to a Linux kernel version that includes the upstream fix for the xe dma-buf retry-loop use-after-free, associated with commit 479669418253e0f27f8cf5db01a731352ea592e7 or the corresponding vendor backport. Because no product-specific fixed versions were provided, use distribution vendor advisories and kernel changelogs to identify the first fixed package for each deployed distribution. If immediate patching is not possible, reduce exposure by restricting local access to GPU DRM device nodes, limiting membership in groups that can access /dev/dri devices, disabling or unloading the xe driver where operationally feasible, and preventing untrusted workloads from running on affected GPU-enabled systems.
How to confirm the fix worked
Confirm the running kernel package includes the vendor backport or upstream commit that fixes the xe dma-buf attach retry logic. Validate using distribution package metadata, vendor security advisories, kernel changelogs, or source inspection for the relevant drm/xe/dma-buf changes. On hosts, verify the active kernel after reboot with uname -a and confirm the patched package is the booted kernel, not merely installed. Check whether the xe driver is loaded with lsmod or equivalent tooling, and confirm whether DRM device nodes are present under /dev/dri/. For mitigation validation, verify that untrusted users and services cannot access GPU render/card nodes unless explicitly required.
Typical attack path
- Obtain local code execution on a Linux system using an affected kernel and the xe DRM driver.
- Confirm access to DRM/GPU device interfaces, such as render or card device nodes under /dev/dri/.
- Invoke DRM/dma-buf operations that exercise xe dma-buf attach handling.
- Force or race an error condition that causes the vulnerable retry logic to run.
- Trigger the use-after-free when code references a buffer object that has already been freed.
- Cause kernel instability or denial of service, or attempt further kernel heap manipulation to pursue privilege escalation.
How to detect it
Look for evidence of attempted or successful triggering in kernel and system logs rather than network telemetry, because this is a local kernel driver flaw. Useful sources include journald, dmesg, /var/log/kern.log, /var/log/messages, kernel crash dumps, pstore/ramoops, auditd logs, and endpoint telemetry showing access to /dev/dri devices. Search for kernel oops, panic, general protection fault, slab or KASAN use-after-free reports, GPU reset messages, and xe/drm/dma-buf related stack traces around the same time as local user sessions, container starts, GPU workload execution, or suspicious binaries. If crash dumps are available, inspect call traces for drm/xe dma-buf attach paths and retry/error-unwind behavior. Because no known public exploit indicators or threat actors were provided, absence of these artifacts does not prove non-exploitation; it only reduces suspicion.
- /dev/dri/renderD
- /dev/dri/card
- xe
- drm/xe
- dma-buf
- dma_buf
- use-after-free
- KASAN: use-after-free
- BUG: KASAN: use-after-free
- general protection fault
- kernel BUG
- Oops:
- Kernel panic
- GPU HANG
- drm:xe
- xe_dma_buf
- dma_buf_attach
- 479669418253e0f27f8cf5db01a731352ea592e7
What your security team should do
- Prioritize patching GPU-enabled Linux systems, multi-user servers, developer workstations, VDI hosts, and shared compute platforms where untrusted local users or containers may access /dev/dri devices.
- Track vendor kernel advisories for the exact fixed package versions and confirm patched kernels are actually booted after maintenance windows.
- Temporarily restrict access to DRM/GPU device nodes for nonessential users and workloads until patched.
- Review container, sandbox, and workload configurations to ensure GPU devices are not passed through to untrusted workloads unnecessarily.
- Monitor kernel logs for xe, dma-buf, DRM, GPU hangs, kernel oopses, or panic events that may indicate attempts to trigger the vulnerable path.
- Treat unexplained local crashes on affected GPU-enabled systems as potentially security-relevant and preserve kernel logs, crash dumps, and audit logs for investigation.
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|