[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025103118-smugness-estimator-d5be@gregkh>
Date: Fri, 31 Oct 2025 14:59:07 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: vsshingne <vaibhavshingne66@...il.com>
Cc: skhan@...uxfoundation.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: core: prevent double URB enqueue causing list
corruption
On Fri, Oct 31, 2025 at 07:17:39PM +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 -EEXIST if the URB is already on a queue
> prevents this corruption.
This text makes no sense at all, it does not describe what this patch
does in any way. Please do not use AI to generate patches.
greg k-h
Powered by blists - more mailing lists