CVE-2026-52950
Analyzed Analyzed - Analysis Complete

Use-After-Free in Linux Kernel DRM/XE DMA-BUF

Vulnerability report for CVE-2026-52950, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-24

Last updated on: 2026-07-14

Assigner: kernel.org

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)

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-24
Last Modified
2026-07-14
Generated
2026-07-15
AI Q&A
2026-06-24
EPSS Evaluated
2026-07-13
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.1
linux linux_kernel 7.1
linux linux_kernel 7.1
linux linux_kernel From 6.19 (inc) to 7.0.10 (exc)
linux linux_kernel From 6.18 (inc) to 6.18.33 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
CWE-825 The product dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Use-After-Free (UAF) issue in the Linux kernel's drm/xe/dma-buf component. The problem occurs because a retry loop attempts to reuse a buffer object (bo) that has already been freed on error, leading to unsafe memory access. The fix involves allocating and initializing the buffer object as a single unit before attaching it, making the retry process safe and preventing the UAF condition.

Impact Analysis

This Use-After-Free vulnerability can lead to memory corruption or crashes in the Linux kernel, potentially allowing attackers to execute arbitrary code or cause denial of service. Exploiting this flaw could compromise system stability and security.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-52950. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart