Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
can: etas_es58x: es58x_read_bulk_callback(): fix RX buffer leak on URB resubmit failure

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.

Affected products

Linux
  • <b85e5c310382803d27adf6fe6554d4208bc8951c
  • ==7a0171b4921ad443fee5ed4fcb9d99fa4776edac
  • =<6.6.*
  • =<*
  • =<7.1.*
  • ==b8f9ca88253574638bcff38900a4c28d570b1919
  • <6.18.44
  • <6.2
  • <7.0
  • =<6.18.*
  • <0ef136ba052101243ba117a1aca6f4a4c3a81142
  • <6.20
  • <c311f17c261fd375ddf5755f2ebe1f022c19c5b0
  • <5.16
  • ==2185ea6e4ebcb61d1224dc7d187c59723cb5ad59
  • =<6.12.*
  • <7a0cf2b2497c757c3cb1286eddf2986abb0d387b
  • <19c6c8c6cd5dd14fab5fcd744584812a57cbb78d
  • <6.12.103
  • ==7.0
  • <6.6.151