Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1194109pxu; Fri, 16 Oct 2020 06:19:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEH20cMPFCBVlBdQQq+agkqwY70j4XfxRxQGeooGuWd5vMIoacyaR9/3+4YkHmVN1xs9Pe X-Received: by 2002:a17:906:c293:: with SMTP id r19mr3531103ejz.63.1602854393900; Fri, 16 Oct 2020 06:19:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602854393; cv=none; d=google.com; s=arc-20160816; b=kEQSBuYLpPexZjNIhQAi0BPnvJcr21kaQwzTVs86LgRsr4LNXHK0h3b4UtFcx3It58 nJ3ELITBu7MyiJlZnD7M54wtK4cWiu/n0teb/GTmpqA8VqeyXfxp5PA0AN7Ky/xnd2ek dOpQWVCOP8iZ3w2jVJGdPwqFGdNE2rM45n2+8y9uRviDtoFtT5jCan0jkvo4UUjwjBBv yjucm8scWiG6r/Q40kSM3puqm0RskU9q1ccr/6bdgXCqkaqpyqZtRL6AhwnJyPZUHoBh xZNyRH/DmFkt1Obr9/mx/B5Go05SpO2zJJL3JPEjryTWkEU3w6AqkyTpECh4M7XyLt3z /pkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=/qPun1pB3SEppWalc0RWU/10upkXBPSppmZsH34IDq8=; b=dxWLh7akcm3qNO4ZaN26qcHF0/7COaRvsV9PvjljSAt4dfmsO2nHJlXzLHxH4SB4SM PZaEKOy+K2sE4LW4ffqQ/nCBVbMfKArTWQTomFQXE2P4Iz0xt1+HH3451QC+rZBwMoHf W5mOwXzBTavE0sICnKPhcMVDbd6Q+8UZjKw8Aev80C1HO5ACYbf49wUC6Nptw+RtyyHd yQL7WaFMJYcpfArtKmNJoKMUbYfokw3nwiJu14V6XP/gDTzQfSL7fyIp+FetRFlfBbGF vtoVQctY/7sFDiF3OBixztCCU73gedcInxN1PxiA4AS7gh11iZH365+6u2615ymWIFeS APyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z20si1637677edq.433.2020.10.16.06.19.31; Fri, 16 Oct 2020 06:19:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408036AbgJPNGa (ORCPT + 99 others); Fri, 16 Oct 2020 09:06:30 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:41602 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394512AbgJPNG3 (ORCPT ); Fri, 16 Oct 2020 09:06:29 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id C38781C0B7D; Fri, 16 Oct 2020 15:06:27 +0200 (CEST) Date: Fri, 16 Oct 2020 15:06:27 +0200 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, syzbot+009f546aa1370056b1c2@syzkaller.appspotmail.com, Anant Thazhemadam Subject: Re: [PATCH 4.19 14/21] staging: comedi: check validity of wMaxPacketSize of usb endpoints found Message-ID: <20201016130626.GA4335@amd> References: <20201016090437.301376476@linuxfoundation.org> <20201016090437.987989197@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <20201016090437.987989197@linuxfoundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Anant Thazhemadam >=20 > commit e1f13c879a7c21bd207dc6242455e8e3a1e88b40 upstream. >=20 > While finding usb endpoints in vmk80xx_find_usb_endpoints(), check if > wMaxPacketSize =3D 0 for the endpoints found. >=20 > Some devices have isochronous endpoints that have wMaxPacketSize =3D 0 > (as required by the USB-2 spec). > However, since this doesn't apply here, wMaxPacketSize =3D 0 can be > considered to be invalid. >=20 > Reported-by: syzbot+009f546aa1370056b1c2@syzkaller.appspotmail.com > Tested-by: syzbot+009f546aa1370056b1c2@syzkaller.appspotmail.com > Signed-off-by: Anant Thazhemadam > Cc: stable > Link: https://lore.kernel.org/r/20201010082933.5417-1-anant.thazhemadam@g= mail.com > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Greg Kroah-Hartman Why duplicate Sign-off? Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl+JmtIACgkQMOfwapXb+vLYuACglJXlWCS7ODg7GkEHkt1S3fbn bTwAoKeycDZdTyfsy7RYZtgy4rcWYvyR =s3Ty -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD--