Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp98797rwb; Thu, 27 Jul 2023 09:53:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlH2JGBbbgDjVUmXxEIOA3uvSk7QYKh/vJBuXH254/MZZURvojgej1qTj8GxcfNZ/WIaP37e X-Received: by 2002:a05:6402:128d:b0:522:2bc7:1c57 with SMTP id w13-20020a056402128d00b005222bc71c57mr2141226edv.33.1690476833168; Thu, 27 Jul 2023 09:53:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690476833; cv=none; d=google.com; s=arc-20160816; b=JIBOiqzqVcT+c+pZ9cLvk3yILAcDSoa2IfH69OWN+y3Fs73EAmve0xtopvSY99oyhA 4eophUVBxcZoEMDtSL0hGYxifd/DKelnz+TECmYs4i7KFek8kAGVZ6rlMfBOLi0Ku1pv 7cPoc9egqJy0LFJQr6t1jpPnTKLK8NThHNyMCO+xxXvGzm7SqkIj6JolMIIUN3uqGB2E Vr1AqwL3JVtDJaGcvchlJVWnAb7N568dS2pf121nZyN/LY1LwB7TsBoiLjNP3fcI25Dh jBqsu5guUNhfH1kfo6eEhWoCywKLnQwz8dg9oUXyBTSKSTpmPtJJjITQF8r5ipR64m1j RiRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/9EwGBbcQxsPSRda45twEhmDoNsodn5SokJfs2vmNYk=; fh=lUh6p8wUcdPLMNYRkVVq4tQT9696LC8OfDPob336GX8=; b=zzYLQIX90giNE1WNekq88Fpnfz14bdMEvcHvB9fgVzGaOfGI4mW1XD0yRCHNLI+wf3 K/nybYZYr9fDmIKokwGzdnz0GALu9IGvZmAuqvXrO1EOwMMvRxLxka5QnGnvCvah0L+t sPHTLvCNkPvzbn4pn/KrExA2ZSbomP7RC4dnKLHbNWvekceQ67QfDKyEYULkajoGw6f2 zIsIbTPwvdG34HcfOLJ67bACnA7RVhuxKil6uCzDX1Iwr/c1E+qEzK5D6L7S2NsoSKF+ GYtnFS0PJ0Ce+pgH5361+Z6gaI83qIBVHnC/GqCj9dlGqQcUWeT0QOrAqNJvGsbeoHvF 1qxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Btv1Js/P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020aa7d658000000b005223a5df62asi1186202edr.198.2023.07.27.09.53.28; Thu, 27 Jul 2023 09:53:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Btv1Js/P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233791AbjG0P6g (ORCPT + 99 others); Thu, 27 Jul 2023 11:58:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232146AbjG0P6f (ORCPT ); Thu, 27 Jul 2023 11:58:35 -0400 Received: from mgamail.intel.com (unknown [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E64EBC for ; Thu, 27 Jul 2023 08:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690473514; x=1722009514; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FdpnzmpbpDtQgpHo2zN0d9vbabH9VR2p8NO1uqeU8Ac=; b=Btv1Js/PXtMfLPdezycCpOM5oJZtpl4iBazJCGXP5RNyaU8Hv9P6pyfl rJ70eXG/m9PpQdU327PdxVUi1HqAk+8hOWZMBvUtEXy8M6vfF+kMIuLec 9E3RmXHBK5UW81wLM2mwzNen/MPyFpemu6HsUPiHnlpvsoutHDdAVEpLs I06vaxO6Ul7Du3X1DZ4pssa6MOUdg0MWnxZuQ9xSn1YojZcV6rODSW8sC QOAY3St9m1Pym8gxRXh82cy/IDt0P2ddlPgqWSqzvGg1b8Yd5BGF0g8T8 CaDHzuxX2yJu7rhyiNC/h3xwOokkOI5Jo7Cda7h1TaxWmDfSdxrzow9si A==; X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="432165598" X-IronPort-AV: E=Sophos;i="6.01,235,1684825200"; d="scan'208";a="432165598" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2023 08:58:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="762206230" X-IronPort-AV: E=Sophos;i="6.01,235,1684825200"; d="scan'208";a="762206230" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga001.jf.intel.com with ESMTP; 27 Jul 2023 08:58:31 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qP3Nl-00AzYB-1n; Thu, 27 Jul 2023 18:58:29 +0300 Date: Thu, 27 Jul 2023 18:58:29 +0300 From: Andy Shevchenko To: Miquel Raynal Cc: Alexander Usyskin , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Tomas Winkler , Vitaly Lubart , Zhang Xiaoxu Subject: Re: [PATCH] mtd: fix use-after-free in mtd release Message-ID: References: <20230727145758.3880967-1-alexander.usyskin@intel.com> <20230727172013.7c85c05d@xps-13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230727172013.7c85c05d@xps-13> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 27, 2023 at 05:20:13PM +0200, Miquel Raynal wrote: > andriy.shevchenko@linux.intel.com wrote on Thu, 27 Jul 2023 18:12:04 > +0300: > > On Thu, Jul 27, 2023 at 05:57:58PM +0300, Alexander Usyskin wrote: ... > > > Fixes: 19bfa9ebebb5 ("mtd: use refcount to prevent corruption") > > > > Closes: ? > > Did I miss a recent update on the use of Fixes? They are orthogonal to each other. Actually Closes goes closer with Reported-by. I believe both of them needs to be added (by I might miss something). > I thought Closes was > supposed to point at a bug report while Fixes would point to the faulty > commit. Correct. > Right now I feel like Fixes is the right tag, Nobody objects that (see above). > but if you have a source explaining why we should not longer do it like > I am used to, I would appreciate a link. Since you know about Closes already, I think there is nothing to add. -- With Best Regards, Andy Shevchenko