Files
linux/drivers/usb/misc
Felix Gu 33cfe0709b usb: misc: usbio: Fix URB memory leak on submit failure
When usb_submit_urb() fails in usbio_probe(), the previously allocated
URB is never freed, causing a memory leak.

Fix this by jumping to err_free_urb label to properly release the URB
on the error path.

Fixes: 121a0f839d ("usb: misc: Add Intel USBIO bridge driver")
Cc: stable <[email protected]>
Signed-off-by: Felix Gu <[email protected]>
Reviewed-by: Oliver Neukum <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2026-04-02 09:36:36 +02:00
..
…
…
…
…
…
…
…
2026-02-23 20:25:07 +01:00