Description
In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: allow partial RX URB allocation to succeed When es58x_alloc_rx_urbs() fails to allocate the requested number of URBs but succeeds in allocating some, it returns an error code. This causes es58x_open() to return early, skipping the cleanup label 'free_urbs', which leads to the anchored URBs being leaked. As pointed out by maintainer Vincent Mailhol, the driver is designed to handle partial URB allocation gracefully. Therefore, partial allocation should not be treated as a fatal error. Modify es58x_alloc_rx_urbs() to return 0 if at least one URB has been allocated, restoring the intended behavior and preventing the leak in es58x_open().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
8537257874e949a59c834cecfd5a063e11b64b0b to < 97250eb05e4b6afe787290e8fd97d0675116c61baffected8537257874e949a59c834cecfd5a063e11b64b0b to < aec888f44853584b5a7cd01249806030cf94a73daffected8537257874e949a59c834cecfd5a063e11b64b0b to < 611e839d2d552416b498ed5593e10670f61fcd4daffected8537257874e949a59c834cecfd5a063e11b64b0b to < ba45e3d6b02c97dbb4578fbae7027fd66f3caa10affected8537257874e949a59c834cecfd5a063e11b64b0b to < 6c5124a60989051799037834f0a1a4b428718157affected8537257874e949a59c834cecfd5a063e11b64b0b to < b1979778e98569c1e78c2c7f16bb24d76541ab00affected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected5.15.199 to ≤ 5.15.*unaffected6.1.162 to ≤ 6.1.*unaffected6.6.122 to ≤ 6.6.*unaffected6.12.67 to ≤ 6.12.*unaffected6.18.7 to ≤ 6.18.*unaffected6.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/97250eb05e4b6afe787290e8fd97d0675116c61b ↗
- https://git.kernel.org/stable/c/aec888f44853584b5a7cd01249806030cf94a73d ↗
- https://git.kernel.org/stable/c/611e839d2d552416b498ed5593e10670f61fcd4d ↗
- https://git.kernel.org/stable/c/ba45e3d6b02c97dbb4578fbae7027fd66f3caa10 ↗
- https://git.kernel.org/stable/c/6c5124a60989051799037834f0a1a4b428718157 ↗
- https://git.kernel.org/stable/c/b1979778e98569c1e78c2c7f16bb24d76541ab00 ↗
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html ↗