Re: [PATCH] usb: core: Null deref in kernel with USB webcams.

From: Alan Stern
Date: Thu Nov 12 2020 - 14:23:06 EST


On Thu, Nov 12, 2020 at 05:13:30PM +0000, John Boero wrote:
> Sorry header was generated by git email and I should have
> paid closer attention to it before sending.
> Long time listener, first time caller.
>
> Yes the patch is backwards sorry. Testing alt proposal from
> stern@xxxxxxxxxxxxxxxxxxx. It may be a buggy driver
> but it would be nice if a buggy driver couldn't bring down
> the entire usb core. lsusb hangs until reboot or reset of usb.
>
> It seems to behave fine on first use. Run Zoom or cheese
> works fine first time. Subsequent runs, no device found
> and usb is crashed with trace in dmesg.

The whole point of asking you to try out that change was to see the
trace in dmesg. What does it say?

Alan Stern