Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp166980rda; Sat, 21 Oct 2023 03:06:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGSWKGqjBHTVUuRgH7S547kz9e02H+tbxTL6/1FOHPnPzabZnosC1aCmu16RlN1wT85N67f X-Received: by 2002:a17:90a:fb48:b0:27d:4259:b7ef with SMTP id iq8-20020a17090afb4800b0027d4259b7efmr4606488pjb.23.1697882775636; Sat, 21 Oct 2023 03:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697882775; cv=none; d=google.com; s=arc-20160816; b=TrjaS3tc0Ww39d2uFo+qNVr4OqOzJOciUU/9B4R3QqPgjgF2dl5SXp253f+Tr+B1dm IHI0rFCmja71F0nZ/kerv4D2cZrAqiS/Bused7qZmbaI1qluRG4YAJvTBqW2RPcjP8hY 8PqDOoj1mZcBenO3dZ0RdCREN0jqkLsxlQSZ9OmQhBZ4hl+GnD8MlNQmE1+PMYMwQ1HL GZJ3Gtw3dN5IPWc3kdNyvPyEefSUZR71I/bjmEaf6ec5b6K0afMlu8uY/H6pBflIsvc2 XLhHScQR5SzdqV1lVEZDIKKjLtrXGJKCol93ujwp6WtD2HUC931YxVqsa9zE3LCPVIFU 0emg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rYurahGI/F7vMp7GROVZNVYlFnPIxXkemPAs1wqnogU=; fh=IB3SroHvdQUqPzIa5v2mdFk+ZwdiiUZ9U7NcU9NGZNE=; b=0hHdvLoTd+DoDmTdG08820xA9qnSUKolX6/4gKd84d9z8pjJOINUSwo4zeLu4ikxOm wI2973Hmlfp42mewMmHDS19WZjTBS7ucnXnFayyq18ylSfOy+Gp3Yl46qHaqarLSJPRA VrvkrdRdfP2lzLY+2ClzqZOAbrsbCxxv9PrvBeLpm/pQ+S690BiLr1EkgjqL2BoqJFcQ aYzw+B5A8OdxsE3NGp8vCSFgx6h38HaLLTeiY/Wi4DabHT6Prq6aWPSvm1xmB6biufO1 cWuFYTrlfj0GwpBF1gfep+5dOataTPEvqkflTm74uMVR/aY+wfRtE4L1Ts3ZaTBAtdWn Fvog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lgJdp3tH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id z18-20020a170903019200b001c5e0672f53si3490392plg.466.2023.10.21.03.06.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 03:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lgJdp3tH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 58AAC809E8BE; Sat, 21 Oct 2023 03:05:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230340AbjJUKFZ (ORCPT + 99 others); Sat, 21 Oct 2023 06:05:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230309AbjJUKFX (ORCPT ); Sat, 21 Oct 2023 06:05:23 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F03DBD41 for ; Sat, 21 Oct 2023 03:05:17 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42CE8C433C7; Sat, 21 Oct 2023 10:05:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697882717; bh=z7NyvC2nM5GAT4Hdft8Uj9fmtmLiRPX8ReS+qa2TBck=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lgJdp3tH0pkgvExwqNs8NGw6bKul5wlqxUFZL/3ob6p0TzlVHz95FplLUSf9eCzw/ ScFuYLudwphJq5QJ4Um7Dchrxq2GpgnGVGu8SgF2UVf85LYOTyOnqn/JkQCRHHlQ1S xCgXbpk8nA+FBAQ0YohgWa2m6BedjFwM3rCmE2H0= Date: Sat, 21 Oct 2023 12:05:15 +0200 From: Greg KH To: Avichal Rakesh Cc: etalvala@google.com, jchowdhary@google.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, dan.scally@ideasonboard.com, laurent.pinchart@ideasonboard.com, m.grzeschik@pengutronix.de Subject: Re: [PATCH v6 4/4] usb: gadget: uvc: Fix use-after-free for inflight usb_requests Message-ID: <2023102103-casually-wavy-6a54@gregkh> References: <20231019185319.2714000-5-arakesh@google.com> <202310200457.GwPPFuHX-lkp@intel.com> <738df245-e7d1-4fc0-9076-3ac5afebaa44@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <738df245-e7d1-4fc0-9076-3ac5afebaa44@google.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 21 Oct 2023 03:05:40 -0700 (PDT) On Thu, Oct 19, 2023 at 03:30:00PM -0700, Avichal Rakesh wrote: > > > On 10/19/23 13:32, kernel test robot wrote: > > Hi Avichal, > > > > kernel test robot noticed the following build warnings: > > > > [auto build test WARNING on usb/usb-testing] > > [also build test WARNING on usb/usb-next usb/usb-linus linus/master v6.6-rc6 next-20231019] > > [If your patch is applied to the wrong git tree, kindly drop us a note. > > And when submitting patch, we suggest to use '--base' as documented in > > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > > > url: https://github.com/intel-lab-lkp/linux/commits/Avichal-Rakesh/usb-gadget-uvc-prevent-use-of-disabled-endpoint/20231020-025512 > > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing > > patch link: https://lore.kernel.org/r/20231019185319.2714000-5-arakesh%40google.com > > patch subject: [PATCH v6 4/4] usb: gadget: uvc: Fix use-after-free for inflight usb_requests > > config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231020/202310200457.GwPPFuHX-lkp@intel.com/config) > > compiler: m68k-linux-gcc (GCC) 13.2.0 > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231020/202310200457.GwPPFuHX-lkp@intel.com/reproduce) > > > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > > the same patch/commit), kindly add following tags > > | Reported-by: kernel test robot > > | Closes: https://lore.kernel.org/oe-kbuild-all/202310200457.GwPPFuHX-lkp@intel.com/ > > > > All warnings (new ones prefixed by >>): > > > >>> drivers/usb/gadget/function/uvc_video.c:231: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > > * Must be called with req_lock held as it modifies the list ureq is held in > > > > > > Greg, apologies for the newb question: do you want me to upload > the fix for this as a reply to [PATCH v6 4/4], or upload a new chain of > v7s with this patch fixed? A whole new v7 series please. thanks, greg k-h