Re: [PATCH can v2 0/5] can: usb: fix URB memory leaks
From: Marc Kleine-Budde
Date: Fri Jan 16 2026 - 14:43:33 EST
On 16.01.2026 20:35:13, Marc Kleine-Budde wrote:
> An URB memory leak [1][2] was recently fixed in the gs_usb driver. The
> driver did not take into account that completed URBs are no longer
> anchored, causing them to be lost during ifdown. The memory leak was fixed
> by re-anchoring the URBs in the URB completion callback.
>
> Several USB CAN drivers are affected by the same error. Fix them
> accordingly.
>
> [1] https://lore.kernel.org/all/20260109135311.576033-3-mkl@xxxxxxxxxxxxxx/
> [2] https://lore.kernel.org/all/20260116-can_usb-fix-reanchor-v1-1-9d74e7289225@xxxxxxxxxxxxxx/
>
> Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
Applied to linux-can.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Attachment:
signature.asc
Description: PGP signature