From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49554C00528 for ; Wed, 2 Aug 2023 12:45:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234534AbjHBMpI (ORCPT ); Wed, 2 Aug 2023 08:45:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234141AbjHBMpF (ORCPT ); Wed, 2 Aug 2023 08:45:05 -0400 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CBFC30F1 for ; Wed, 2 Aug 2023 05:44:36 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 7AC5C20004; Wed, 2 Aug 2023 12:44:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1690980270; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8dOawE5kxCNhvhOKy8LNvd/QWehP28IWgnL5mXG3Rew=; b=P0MhsdyMGZ3XJmzlSk4CllYXA1geVTZWmr2Fjyv88Q7ZPbHTwBOY5k2DAO10JT5OBplmOH AkBEeUvauITGmK6ZBJFuyrm00gpgRlP2bOcLdHV440gFQUtFiggkLxUePTWXmrNCKkpqhY EGBLCDf8ZfXprGt5SE+XdzM+LdOBAWV3F79mVQH6J9Ho+ErqTC05FGasNo8+wDhuEmugMM P2t52sXwv0DEpNOjNaTUYrGW2Nnu0EhVpz4IgSJ1QQ6q6zE2V6BXxF5ax4F47OMdGcjYSa OYxOfE1neZ7jzISDyTQOAr6lACPpVNakre4JdzAU23aukqgVknLj69Y+J4mtjA== Date: Wed, 2 Aug 2023 14:44:26 +0200 From: Miquel Raynal To: "zhangxiaoxu (A)" Cc: "Usyskin, Alexander" , Andy Shevchenko , Richard Weinberger , Vignesh Raghavendra , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "Winkler, Tomas" , "Lubart, Vitaly" Subject: Re: [PATCH] mtd: fix use-after-free in mtd release Message-ID: <20230802144426.2411bba2@xps-13> In-Reply-To: References: <20230727145758.3880967-1-alexander.usyskin@intel.com> <20230727172013.7c85c05d@xps-13> <20230727183611.37d01f51@xps-13> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi zhang, zhangxiaoxu5@huawei.com wrote on Mon, 31 Jul 2023 09:35:42 +0800: > =E5=9C=A8 2023/7/30 19:10, Usyskin, Alexander =E5=86=99=E9=81=93: > > Miquel, is this patch helps with your original problem of devices not f= reed? > >=20 > > Zhang, is this patch helps with your problem with KAsan? =20 > After this patch applied, the problem can still be reproduced. Did you test my patch as well? Does Kasan still complain with it? Thanks, Miqu=C3=A8l