drm/xe: Fix dma-buf attachment leak in xe_gem_prime_import()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.90, 6.18.32, 7.0.9
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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)
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From dd08ebf6c3525a7ea2186e636df064ea47281987 · fixed in d394669e194936d7ce15284a24a5ae334c4c5b74; From dd08ebf6c3525a7ea2186e636df064ea47281987 · fixed in 0afa8b1ef582ecf6fb04097fd356f8741e5005ed; From dd08ebf6c3525a7ea2186e636df064ea47281987 · fixed in eea1e10f8d99c0f04deef707c99705b94bba3b78; From dd08ebf6c3525a7ea2186e636df064ea47281987 · fixed in 111ab678471bf1f90d078d5513bb086b70596c3c
- Linux Linux
6.8
- KernelLinux
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