# CVE-2026-46201: drm/xe: Fix dma-buf attachment leak in xe_gem_prime_import()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-02)
- Published: 2026-05-28T09:40:17.964Z
- Modified: 2026-10-19T20:18:38.117Z
- Weaknesses: CWE-401, CWE-772
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from dd08ebf6c3525a7ea2186e636df064ea47281987 before d394669e194936d7ce15284a24a5ae334c4c5b74; from dd08ebf6c3525a7ea2186e636df064ea47281987 before 0afa8b1ef582ecf6fb04097fd356f8741e5005ed; from dd08ebf6c3525a7ea2186e636df064ea47281987 before eea1e10f8d99c0f04deef707c99705b94bba3b78; from dd08ebf6c3525a7ea2186e636df064ea47281987 before 111ab678471bf1f90d078d5513bb086b70596c3c; 6.8 (not affected: before 6.8; from 6.12.90 up to 6.12.*; from 6.18.32 up to 6.18.*; from 7.0.9 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.8 before 6.12.90; from 6.13 before 6.18.32; from 6.19 before 7.0.9; 7.1

## References

- <https://git.kernel.org/stable/c/d394669e194936d7ce15284a24a5ae334c4c5b74> (patch)
- <https://git.kernel.org/stable/c/0afa8b1ef582ecf6fb04097fd356f8741e5005ed> (patch)
- <https://git.kernel.org/stable/c/eea1e10f8d99c0f04deef707c99705b94bba3b78> (patch)
- <https://git.kernel.org/stable/c/111ab678471bf1f90d078d5513bb086b70596c3c> (patch)

## Sources

- CVE List: [CVE-2026-46201](https://www.cve.org/CVERecord?id=CVE-2026-46201), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-46201](https://nvd.nist.gov/vuln/detail/CVE-2026-46201), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-46201 · Whole record: https://cve.day/CVE-2026-46201.json · Rebuilt by cve.day 2026-11-25T22:59:22.866Z
