Linux kernel Intel Xe driver: dma-buf attachment leaked when GEM prime import fails
Impact
When xe_dma_buf_init_obj() fails during xe_gem_prime_import(), the attachment created by dma_buf_dynamic_attach() is never detached. The failed import leaves a dangling attachment on the exporter's attachment list while the importing buffer object has already been freed, so the exporter can later walk into state that no longer belongs to anyone. On a node with Intel Data Center GPUs this matters where buffers are shared across drivers or processes - a tenant that can repeatedly fail an import accumulates stale attachments and can push the GPU driver into an inconsistent state that only a reboot clears. The record establishes the leak and the error-path ordering; it does not demonstrate a working use-after-free, so do not read this as proven code execution.
Who can reach it
Local, authenticated. A user or container holding a /dev/dri render node on an Intel Xe GPU who can trigger a failing prime (dma-buf) import. No network path.
What to do
Move to a fixed stable kernel and reboot the affected GPU nodes. Only hosts running the drm/xe driver for Intel GPUs are in scope; NVIDIA and AMD fleets are not. There is no runtime mitigation beyond withholding render-node access from untrusted workloads, which usually defeats the point of the node.
References
Related entries
- Linux kernel DRM GEM framebuffer helper: integer wrap lets an undersized buffer pass the size guardCVE-2026-46209 · Linux kernel drm/gem (drm_gem_fb_init_with_funcs sub-sampled plane size check)High
- Linux kernel amdgpu display core (DC/DM) (drm/amd/display): An out-of-bounds access in the amdgpu display core (DC/DM)CVE-2026-46263 · Linux kernel amdgpu display core (DC/DM) (drm/amd/display)High
- Linux kernel amdgpu user-mode queues (doorbell submission path) (drm/amdgpu/userq): A correctness defect in the amdgpuCVE-2026-46311 · Linux kernel amdgpu user-mode queues (doorbell submission path) (drm/amdgpu/userq)High
- TensorRT-LLM: RCE via insecure deserialization on model loadCVE-2026-47472 · TensorRT-LLMHigh
- NVIDIA Linux GPU driver: read-only memory permissions are not preserved, allowing unprivileged writesCVE-2026-47489 · NVIDIA GPU Display Driver for Linux (kernel mode layer, memory permission handling)High
- NVIDIA Linux GPU driver: mapping stays usable after the backing memory is freed and reusedCVE-2026-47491 · NVIDIA GPU Display Driver for Linux (kernel mode layer, memory resource release)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.