drm/xe/dma-buf: fix UAF with retry loop
- 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.18.33, 7.0.10
- 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/dma-buf: fix UAF with retry loop Retry doesn't work here, since bo will be freed on error, leading to UAF. However, now that we do the alloc & init before the attach, we can now combine this as one unit and have the init do the alloc for us. This should make the retry safe. Reported by Sashiko. v2: Fix up the error unwind (CI) (cherry picked from commit 479669418253e0f27f8cf5db01a731352ea592e7)
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 · fixed in 39fdac6be02eb7c3460518c1c4085f75f935c4ce; From eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 · fixed in 827062952ed9bdf4220466c1f05ce452d04bdedf; From eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 · fixed in 155a372a1cc50fa93387c5d3cdfd614a61e1afd1
- Linux Linux
6.18
- KernelLinux
From 6.18.0 · fixed in 6.18.33; From 6.19.0 · fixed in 7.0.10