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)
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://git.kernel.org/stable/c/0afa8b1ef582ecf6fb04097fd356f8741e5005ed Patch
- https://git.kernel.org/stable/c/111ab678471bf1f90d078d5513bb086b70596c3c Patch
- https://git.kernel.org/stable/c/d394669e194936d7ce15284a24a5ae334c4c5b74 Patch
- https://git.kernel.org/stable/c/eea1e10f8d99c0f04deef707c99705b94bba3b78 Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 3
- CwesCWE-401 → CWE-401, CWE-772NVD modified 2026-10-19 20:18
- StatusAnalyzed → ModifiedNVD modified 2026-10-19 20:18
- First seenCVSS 7.8 · linuxNVD modified 2026-10-16 16:18
Affected (CPE criteria) 2
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
References 4
- https://git.kernel.org/stable/c/0afa8b1ef582ecf6fb04097fd356f8741e5005ed Patch
- https://git.kernel.org/stable/c/111ab678471bf1f90d078d5513bb086b70596c3c Patch
- https://git.kernel.org/stable/c/d394669e194936d7ce15284a24a5ae334c4c5b74 Patch
- https://git.kernel.org/stable/c/eea1e10f8d99c0f04deef707c99705b94bba3b78 Patch