can: etas_es58x: es58x_read_bulk_callback(): fix RX buffer leak on URB resubmit failure
- 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 5.15.216, 6.1.183, 6.6.151, 6.12.103, 6.18.44, and 1 more
- 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
Summary
In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: es58x_read_bulk_callback(): fix RX buffer leak on URB resubmit failure es58x_read_bulk_callback() resubmits the RX URB after processing a received packet. If the resubmit succeeds, the URB remains anchored and will be handled by the normal RX path or by teardown. However, if usb_submit_urb() fails, the callback unanchors the URB and then returns directly. This skips the existing free_urb path, so the coherent transfer buffer allocated with usb_alloc_coherent() is not released. Reuse the existing free_urb path after a resubmit failure so that the RX coherent buffer is freed before leaving the callback.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5.15.203 · fixed in 5.15.216; From 6.1.167 · fixed in 6.1.183; From 6.6.130 · fixed in 6.6.151; From 6.12.77 · fixed in 6.12.103; From 6.18.17 · fixed in 6.18.44; From 6.19.7 · fixed in 6.20
- Linux Linux
7.0
References 7
git.kernel.org
- stable/c/c7ddf119544eea2d8409e12471c3f9f36ca02e3f
- stable/c/21da1a374769751546cc131e58a4d8bd968f57b2
- stable/c/0ef136ba052101243ba117a1aca6f4a4c3a81142
- stable/c/b85e5c310382803d27adf6fe6554d4208bc8951c
- stable/c/c311f17c261fd375ddf5755f2ebe1f022c19c5b0
- stable/c/19c6c8c6cd5dd14fab5fcd744584812a57cbb78d
- stable/c/7a0cf2b2497c757c3cb1286eddf2986abb0d387b