Re: [PATCH] usb: core: prevent double URB enqueue causing list corruption
From: Greg KH
Date: Fri Oct 31 2025 - 09:59:27 EST
On Fri, Oct 31, 2025 at 07:20:32PM +0530, vsshingne wrote:
> Prevents the same URB from being enqueued twice on the same endpoint,
> which could lead to list corruption detected by list_debug.c.
>
> This was observed in syzbot reports where URBs were re-submitted
> before completion, triggering 'list_add double add' errors.
>
> Adding a check to return if the URB is already on a queue
> prevents this corruption.
>
> Signed-off-by: vsshingne <vaibhavshingne66@xxxxxxxxx>
> ---
> drivers/usb/core/hcd.c | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
Please do not send patches multiple times, in invalid formats.