Linux Kernel DRM XE DMA-Buf Attachment Leak Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's Direct Rendering Manager (DRM) for Intel GPUs, specifically within the XE driver. The issue arises in the 'xe_gem_prime_import()' function, where a failure in 'xe_dma_buf_init_obj()' does not properly detach a DMA buffer attachment, leading to a resource leak. This vulnerability affects the Linux kernel stable tree.

Impact

The vulnerability causes a memory leak by failing to release a DMA buffer attachment when an error occurs, potentially leading to increased memory usage and degradation of system performance over time.

Reproduction

The vulnerability can be reproduced by importing a DMA buffer using the 'xe_gem_prime_import()' function in the Intel XE DRM driver. If the 'xe_dma_buf_init_obj()' function fails, the DMA buffer attachment is not detached, creating a leak. This scenario can be triggered by simulating a failure in the DMA buffer initialization process.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The fixed version is included in the Linux kernel stable tree.

Added: May 28, 2026, 11:33 AM
Updated: May 28, 2026, 11:33 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
9.7
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.