CVE 7.8 HIGH

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

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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)

Basic Information

ID CVE-2026-46201
Source Linux
Published May 28, 2026 at 09:40
Modified May 30, 2026 at 10:49

Affected Product

Vendor Linux
Product Linux
Version dd08ebf6c3525a7ea2186e636df064ea47281987
Affected Versions Linux Linux dd08ebf6c3525a7ea2186e636df064ea47281987
Linux Linux dd08ebf6c3525a7ea2186e636df064ea47281987
Linux Linux dd08ebf6c3525a7ea2186e636df064ea47281987
Linux Linux dd08ebf6c3525a7ea2186e636df064ea47281987
Linux Linux 6.8

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.