Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3877618rwb; Sun, 30 Jul 2023 18:58:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlFm58i8TX6A2KtnMiPXcgx2k0QC7STzcs/9VBgChk7WCMJA2YDjNjoPhR5TskXpQDyyS5oj X-Received: by 2002:a17:906:5193:b0:99b:cf57:11e3 with SMTP id y19-20020a170906519300b0099bcf5711e3mr5648948ejk.59.1690768720718; Sun, 30 Jul 2023 18:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690768720; cv=none; d=google.com; s=arc-20160816; b=F0GiUeqEGR1+fCG/zedlEZIE6nhjGuPkcOsAwf7pSaSA7ODsteGQfAOpCLC/wketOt Rw6pDJ+sOuYw3nPY6+epvNI4Hb2yex5HI9aoMQoknuYcsVAs9Ock71sD0N1QQB1TEg2w 11DA94niubgvW3XxQNhD2dwBO8Q/nyjIB6BsKik3KfVER0Be25iRMP+wJY542cYVOStC CFWLdO8q+k3N3FccUt6K8b8PFzm82LOv/3rNnBdcXrAuFfdZcSxlimdF/9RiCDYsvPFq ap7u93y315QMQhGPABf9LCGoGBSKHqRHoOwW9lXHK8uQH/d/UMyAsDGkTIFLw3HLT4oz j4dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=u4LauA+Xw70d1xpPB5YOZzCWJ2CagRhbPsnYllxXuK0=; fh=HKOE7nLU17Pq++tAjsE+5sMuFxYoRQMbIPfRWnuD+Ss=; b=YZhnX7tVUk3+steRRWYd4D6ayKPeVcU9kpm5tOphpWB55scV0GS6r483Sqp6xGdbSm QhS3dAt7WyV6MxCg63PFahi9HLtnwokmxSRm3mUbU+8xUFRoPmJIJBQgEouSEibak9kx Yn97KIKuEkjkFTH7wDsazf4hw3nyXs7ZdTyINDklNkPoHPqiIQb2NWNRBVo4PqzOppl/ omk8a8qbH0eS2FCoNTSpeHcvj1KENV5O73FRsXY1zh1ioDLfEKQzEBsvR7Tw/+zSMtyK NXFSvHdNonj4JVwyyWX3yOBKyO0aAHjiF/MlNQlo58LrElWlWIyn1IMOQTKfkm3Mc4FG EGrQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg13-20020a170907204d00b0098e0a14c670si1664832ejb.619.2023.07.30.18.58.09; Sun, 30 Jul 2023 18:58:40 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229457AbjGaBfs (ORCPT + 99 others); Sun, 30 Jul 2023 21:35:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjGaBfr (ORCPT ); Sun, 30 Jul 2023 21:35:47 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4A09E49 for ; Sun, 30 Jul 2023 18:35:45 -0700 (PDT) Received: from dggpeml100024.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RDglR6s8kzrRqN; Mon, 31 Jul 2023 09:34:43 +0800 (CST) Received: from [10.174.176.83] (10.174.176.83) by dggpeml100024.china.huawei.com (7.185.36.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 31 Jul 2023 09:35:43 +0800 Message-ID: Date: Mon, 31 Jul 2023 09:35:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] mtd: fix use-after-free in mtd release To: "Usyskin, Alexander" , Miquel Raynal , Andy Shevchenko CC: Richard Weinberger , Vignesh Raghavendra , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "Winkler, Tomas" , "Lubart, Vitaly" References: <20230727145758.3880967-1-alexander.usyskin@intel.com> <20230727172013.7c85c05d@xps-13> <20230727183611.37d01f51@xps-13> From: "zhangxiaoxu (A)" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.176.83] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpeml100024.china.huawei.com (7.185.36.115) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,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 在 2023/7/30 19:10, Usyskin, Alexander 写道: > Miquel, is this patch helps with your original problem of devices not freed? > > Zhang, is this patch helps with your problem with KAsan? After this patch applied, the problem can still be reproduced.