Re: [PATCH 4.19 14/21] staging: comedi: check validity of wMaxPacketSize of usb endpoints found

From: Greg Kroah-Hartman
Date: Sat Oct 17 2020 - 04:12:03 EST


On Fri, Oct 16, 2020 at 03:06:27PM +0200, Pavel Machek wrote:
> Hi!
>
> > From: Anant Thazhemadam <anant.thazhemadam@xxxxxxxxx>
> >
> > commit e1f13c879a7c21bd207dc6242455e8e3a1e88b40 upstream.
> >
> > While finding usb endpoints in vmk80xx_find_usb_endpoints(), check if
> > wMaxPacketSize = 0 for the endpoints found.
> >
> > Some devices have isochronous endpoints that have wMaxPacketSize = 0
> > (as required by the USB-2 spec).
> > However, since this doesn't apply here, wMaxPacketSize = 0 can be
> > considered to be invalid.
> >
> > Reported-by: syzbot+009f546aa1370056b1c2@xxxxxxxxxxxxxxxxxxxxxxxxx
> > Tested-by: syzbot+009f546aa1370056b1c2@xxxxxxxxxxxxxxxxxxxxxxxxx
> > Signed-off-by: Anant Thazhemadam <anant.thazhemadam@xxxxxxxxx>
> > Cc: stable <stable@xxxxxxxxxxxxxxx>
> > Link: https://lore.kernel.org/r/20201010082933.5417-1-anant.thazhemadam@xxxxxxxxx
> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> Why duplicate Sign-off?

My scripts, I missed this :(