Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4004891ybl; Tue, 21 Jan 2020 11:03:31 -0800 (PST) X-Google-Smtp-Source: APXvYqy4rHqimAfrZNyd4c9GuIJ6Q5ZRrtSsEiMUgXboTi3hRNT5KlrQdM6kfy3XHli0K4+wQBvd X-Received: by 2002:aca:c452:: with SMTP id u79mr4233049oif.89.1579633411417; Tue, 21 Jan 2020 11:03:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579633411; cv=none; d=google.com; s=arc-20160816; b=kfYfOcM0ML3uOnJT5EhAqxLAWRke70FAPc4gd0lyUUYAXJjU3sYIIsNKhPJy012kYe plxhMIxIPhOX1Hu7LBo6Y2nKVR4jOmum8db+QSuHHwnq5I1EsEaxFiuYIBRUNJtPl51L E1l9x9qDqjoV9HTim8XVV4vxhUUdzFJFgggOzeADL14DtxXnQkzsbyoWu7BQEMIzbzo8 6vaz3JYpNRxXIv0MVURqp5m+awUTcMH9RC2otq/fm735kaj4p0Wp/1WE78DhgYD0qtLe DaUhCt4/PcPqMon+V5+E5bbxhMgHC4xNeKzu4XeI36VRNxVhvXzqeyo1MiD5HLFvmnp+ vPhA== 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=pex+dmM13ukYbC/azUZJ7h3nYWFIDKGflJ1oUhUIPWE=; b=tzDW6u2ctNfwy4bhxL2wipaQSYuQgiFUzgyComkwLOgJQd920S484eqelhXgpQZRgl /+PTlZ95NzDWHjRdhwnmBwIHXQXXmcENlrG+DmMBRb2pqbGeVKgMusG4+6yZ6JIngCSs YnjTWE2TC5o5xV0zlAFujNkSqoEpyZMf9Z5Rfj+3TIzzcIJu+3/rkwOu3YSASoL0niFQ B1/SsNCb/zn+COtSQoJIcvS790pe2RYG7MWwxQfo3lFYMWBupgSD4DlqAi9TdSOZG721 qz/jM+FzgqXdRQYvy2TAKcFLzewQEZmt+DfPPkF242KKlgseNnlO4Tm/+I6C+BdToO17 6APA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xyBbtUQd; 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 n14si23450937otk.179.2020.01.21.11.03.18; Tue, 21 Jan 2020 11:03:31 -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=xyBbtUQd; 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 S1729262AbgAUTBt (ORCPT + 99 others); Tue, 21 Jan 2020 14:01:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:43744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729207AbgAUTBs (ORCPT ); Tue, 21 Jan 2020 14:01:48 -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 EAA6E21734; Tue, 21 Jan 2020 19:01:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579633307; bh=KIjI2MCInzlzHnvN9peLqTOU23uXJEwHDvSOU5a5v0w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xyBbtUQd74mW/5rAG1l6v92zeFsJzhMcXSdx3RgaOAnGuhPzXbFrUQVCoSKGvp7XB mwQhrg6OQvlHmFo3UrZ2mewXFEyhkcWa5S6/5NjQNP4KEoQ/yxLQjoB/t8ZYIwrYzt cqVFg3s9ojvAcSQF981GpXq/yDikcGPjmndO5VOU= Date: Tue, 21 Jan 2020 19:01:42 +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: <20200121190142.GB13592@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191218165153.GC17876@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 Hi Laurent, 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 :( Thanks, Will