Linux Kernel DRM xe: DMAbuf attachment leak fixed
CVE-2026-46201 Published on May 28, 2026
drm/xe: Fix dma-buf attachment leak in xe_gem_prime_import()
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)
Products Associated with CVE-2026-46201
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version dd08ebf6c3525a7ea2186e636df064ea47281987 and below d394669e194936d7ce15284a24a5ae334c4c5b74 is affected.
- Version dd08ebf6c3525a7ea2186e636df064ea47281987 and below 0afa8b1ef582ecf6fb04097fd356f8741e5005ed is affected.
- Version dd08ebf6c3525a7ea2186e636df064ea47281987 and below eea1e10f8d99c0f04deef707c99705b94bba3b78 is affected.
- Version dd08ebf6c3525a7ea2186e636df064ea47281987 and below 111ab678471bf1f90d078d5513bb086b70596c3c is affected.
- Version 6.8 is affected.
- Before 6.8 is unaffected.
- Version 6.12.90, <= 6.12.* is unaffected.
- Version 6.18.32, <= 6.18.* is unaffected.
- Version 7.0.9, <= 7.0.* is unaffected.
- Version 7.1-rc2, <= * is unaffected.