[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201016130626.GA4335@amd>
Date: Fri, 16 Oct 2020 15:06:27 +0200
From: Pavel Machek <pavel@...x.de>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
syzbot+009f546aa1370056b1c2@...kaller.appspotmail.com,
Anant Thazhemadam <anant.thazhemadam@...il.com>
Subject: Re: [PATCH 4.19 14/21] staging: comedi: check validity of
wMaxPacketSize of usb endpoints found
Hi!
> From: Anant Thazhemadam <anant.thazhemadam@...il.com>
>
> 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@...kaller.appspotmail.com
> Tested-by: syzbot+009f546aa1370056b1c2@...kaller.appspotmail.com
> Signed-off-by: Anant Thazhemadam <anant.thazhemadam@...il.com>
> Cc: stable <stable@...r.kernel.org>
> Link: https://lore.kernel.org/r/20201010082933.5417-1-anant.thazhemadam@gmail.com
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Why duplicate Sign-off?
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists