Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4602386ybl; Wed, 22 Jan 2020 00:59:28 -0800 (PST) X-Google-Smtp-Source: APXvYqyVAi9Lah3PilJ1vW4tya7SMO4vT715oXJ1HZU6xpZPRjFR/suIRDeIJSf+XZu7njv5XOQ0 X-Received: by 2002:a05:6830:10d5:: with SMTP id z21mr6916757oto.30.1579683568332; Wed, 22 Jan 2020 00:59:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579683568; cv=none; d=google.com; s=arc-20160816; b=h21EgNtrxNtOeww9E23Gca7T8dFkxQWKVGQ2po5rRTDcLNPKWQd8XJN6n95s+oEw6Y cIgu6RM4Yq662bnKVt6aRbrGiJ3ZyED2/4HGxJI7HCoHIGj6wmmzCELUBBp6ygksdyAi YXdsu7Mq8fL3quVy4umE+MBMb90qJ/D0uwxVNXaCxKQKlCS7FX98XUH9nel8qDLpYoTw OT3bPOGxKMfp21SkgKhDj1oJiHTJlU5nS9xB9XTbcwCrobb2M8Gp226lCaNNtDFAtzdA ns9AP6feaJrHqnqV/ComEZ/AWTdhVAPOMfoOsVMcsJC4cn1aRTR9r7nS8OrTxSfzQB+z 3/4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1YVIPiweOr3Sthtw0J5gf+/QGpEE3zh0/hiKjaxlH8E=; b=WmV6qvNb+TSq/WbhF3soKmqhinvUUdcB9TErzcrVVd7xpLYJTn9nI7W9lWsRuKL1Pf TbCrezTJ4nHWnEJgPiEMZWSxnPZ9JZBczLfKudF/G/F3DmjwziRy6qjZXSYXRtlkW0M/ jP9JaNGznIhAASXwFdiAVd6iGra/VhU6B79ezs6a8VHfRSunvsZwdMN/88OMzyrKwxME XEg9jXlWQR0WDbyt7NqdaIzbGF1lespgVwCQBgai3jmaHR8ZbOgwmh6W0xb6yZY1iBI8 OKcQMmHbRabYUMyN0ZPedL2P0SCd/7hMq5NAQ5/lDiifB5n9DYEPx469rroLpFqMzTD/ LK9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="qzre03S/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o8si12950308oti.47.2020.01.22.00.59.16; Wed, 22 Jan 2020 00:59:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="qzre03S/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729045AbgAVI6N (ORCPT + 99 others); Wed, 22 Jan 2020 03:58:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:51542 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbgAVI6M (ORCPT ); Wed, 22 Jan 2020 03:58:12 -0500 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C78BA2253D; Wed, 22 Jan 2020 08:58:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579683491; bh=L5+TjZZJ8+VeycRrVHojzkOrux+l43ihduPe3QgHk4I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qzre03S/wypM/ojjE4jxh/az4YA+uF3N3B0tXUW1xMhb/EAJwvqdbCZ1dGM0tuD5E 5PJWxjJED3ew6MQGmXNLCYLb2e8IUxWsbz1tvqeapgNHuaZjFtPgkhFXKvCmx0RajU b3hrQsdu4bvqu65ESrJAFwm5wbjUe6qu+tfgOSrY= Date: Wed, 22 Jan 2020 08:58:06 +0000 From: Will Deacon To: Laurent Pinchart Cc: Andrey Konovalov , Greg Kroah-Hartman , linux-media@vger.kernel.org, LKML , Andrew Morton , Mauro Carvalho Chehab , Dmitry Vyukov , Kostya Serebryany , stable Subject: Re: [PATCH RESEND RESEND] media: uvc: Avoid cyclic entity chains due to malformed USB descriptors Message-ID: <20200122085805.GA15537@willie-the-truck> References: <20191108154838.21487-1-will@kernel.org> <20191108155503.GB15731@pendragon.ideasonboard.com> <20191216121651.GA12947@willie-the-truck> <20191218114137.GA15505@willie-the-truck> <20191218122324.GB17086@kroah.com> <20191218165153.GC17876@pendragon.ideasonboard.com> <20200121190142.GB13592@willie-the-truck> <20200121225305.GL5003@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200121225305.GL5003@pendragon.ideasonboard.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 22, 2020 at 12:53:05AM +0200, Laurent Pinchart wrote: > On Tue, Jan 21, 2020 at 07:01:42PM +0000, Will Deacon wrote: > > On Wed, Dec 18, 2019 at 06:51:53PM +0200, Laurent Pinchart wrote: > > > On Wed, Dec 18, 2019 at 01:46:00PM +0100, Andrey Konovalov wrote: > > > > On Wed, Dec 18, 2019 at 1:23 PM Greg Kroah-Hartman wrote: > > > > > On Wed, Dec 18, 2019 at 11:41:38AM +0000, Will Deacon wrote: > > > > >> On Mon, Dec 16, 2019 at 02:17:52PM +0100, Andrey Konovalov wrote: > > > > >>> On Mon, Dec 16, 2019 at 1:16 PM Will Deacon wrote: > > > > >>>> On Fri, Nov 08, 2019 at 05:55:03PM +0200, Laurent Pinchart wrote: > > > > >>>>> Thank you for the patch. > > > > >>>>> > > > > >>>>> I'm sorry for the delay, and will have to ask you to be a bit more > > > > >>>>> patient I'm afraid. I will leave tomorrow for a week without computer > > > > >>>>> access and will only be able to go through my backlog when I will be > > > > >>>>> back on the 17th. > > > > >>>> > > > > >>>> Gentle reminder on this, now you've been back a month ;) > > > > >>> > > > > >>> I think we now have a reproducer for this issue that syzbot just reported: > > > > >>> > > > > >>> https://syzkaller.appspot.com/bug?extid=0a5c96772a9b26f2a876 > > > > >>> > > > > >>> You can try you patch on it :) > > > > >> > > > > >> Oh wow, I *really* like the raw USB gadget thingy you have to reproduce > > > > >> these! I also really like that this patch fixes the issue. Logs below. > > > > > > > > Thanks! An easier way to test the patch would be to issue a syz test > > > > command, but I'm glad you managed to set up raw gadget manually and it > > > > worked for you. > > > > > > > > > > > > > > Ok, that's a good poke for me to go review that raw gadget code to see > > > > > if it can be merged upstream :) > > > > > > > > Looking forward to it! =) > > > > > > Reviewed-by: Laurent Pinchart > > > > > > and merged in my tree. I'm so sorry for the way too long delay. > > > > Please can you send this upstream and/or put it in linux-next? I can't see > > it anywhere at the moment :( > > I've now sent the pull request. Thanks, Laurent. > Seems I failed the schedule from A to Z with this patch. I'm extremely > sorry :-( Well, at least you were consistent ;) Will