Re: [PATCH] usb: gadget: net2280: fix NULL pointer deref in usb_reinit_338x()
From: Deepanshu Kartikey
Date: Sat Aug 22 2026 - 00:02:29 EST
On Fri, Aug 21, 2026 at 8:37 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> What is it with the forced bind patches coming out of the woodwork? Did
> syzbot just decide to go crazy here?
>
> Again, no, this isn't a real issue. If you try to do a bind to a random
> driver, you will get random results, including crashes. This is a
> debugging-only feature for people who want to break their kernels :)
>
> thanks,
>
> greg k-h
Understood, thanks for the context - I hadn't realized forced bind via
sysfs was considered out of scope for these kinds of fixes.
Alan also left some style feedback on the patch (trim the comment,
drop the # modifier in the log message) independent of whether the
patch itself is wanted. Before I send a v2 with those changes: do you
want this patch at all, given it's only reachable through the
debug-only forced-bind path? Happy to drop it entirely if not, or
send v2 with Alan's suggestions if it's still worth taking as a
defensive cleanup.
Thanks,
Deepanshu