Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp593186imu; Fri, 4 Jan 2019 03:39:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN6ZaFW7sn4RbF2RI9CPBfivwQlfbOGH1Hs7Ax9TutX3a6KjV1TjTx/M8ilRYX9SVja5hN1V X-Received: by 2002:a17:902:6909:: with SMTP id j9mr48956092plk.196.1546601979217; Fri, 04 Jan 2019 03:39:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546601979; cv=none; d=google.com; s=arc-20160816; b=xxwycug5SI9OpW3U95iMmkDwBSHtcSlPXZJX5Bd0UkJczXJzqwrHt31nu3iS3BX87/ Dlch6bGWB0+da/B57MYJD+uNTtYTIBcAXGEZk+FTgHfolYoZ1ffjNO+FzxHug1iNd0Yh EoMkCrU99XJvxIgJh32dvPB9lR/Vh6sYL+NEl5AGZ6GKZ46ciMusttCqlHtZ0OdIvw37 oQY7S2El8UkfNOjdAUyEW/WV3Q2EwRCTXXJbbnuALvpBS/0JfWUcWwWy4I/RljA9RIVT 9R8toeCqsbgfTpEAg9ReXk7WYalcXpv2mWFNWE8PWsXlSI7BsbjsaqICc5Giu6JRHElk nqSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject; bh=2l9v8w8lhykIrraEA0Sk76UEAwjahKjvLyThYQy13tA=; b=mg3QOgnHZNvxqlBaeFpTh2pOmKv42F2dI780+v/P34MXwdySKsm+OYBRbrtH/h9eKq /T5vXZqfIWuPrH3l6SCX6I7pF2DA1O09w0vzfaIHf8aBJdfPEis18JeRtrBOrpPiGijM aD/t4p8J3/I09dDcGiu43qIe0cvfzFZpsCl/xpPZOi4YTYJorPxFOCtu21OHc92t3ox8 aXkJTLQX8vxoJs1f1Z6bP9ve438ZRbzPQcjMv5iOlPXkS6huvhpcRuhBB++yg1xepW68 NIp18GaXTeW6seilcKfuGIXNM5AqxsVMK6Oa6zvTvMwJOwvMd/MqTqldcCbFCMgvuuoc wnng== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o8si18781185plk.28.2019.01.04.03.39.21; Fri, 04 Jan 2019 03:39:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727500AbfADJc2 (ORCPT + 99 others); Fri, 4 Jan 2019 04:32:28 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:60969 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727474AbfADJc1 (ORCPT ); Fri, 4 Jan 2019 04:32:27 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A2D98D4B4C144; Fri, 4 Jan 2019 17:32:25 +0800 (CST) Received: from [127.0.0.1] (10.134.22.195) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.408.0; Fri, 4 Jan 2019 17:32:23 +0800 Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: don't access node/meta inode mapping after iput To: Jaegeuk Kim , , References: <20190104042025.31982-1-jaegeuk@kernel.org> <20190104042025.31982-2-jaegeuk@kernel.org> From: Chao Yu Message-ID: <1f89b87c-dd69-66c0-4d0b-ff9f5215c588@huawei.com> Date: Fri, 4 Jan 2019 17:32:22 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190104042025.31982-2-jaegeuk@kernel.org> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.134.22.195] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/1/4 12:20, Jaegeuk Kim wrote: > This fixes wrong access of address spaces of node and meta inodes after iput. > > Fixes: 60aa4d5536ab ("f2fs: fix use-after-free issue when accessing sbi->stat_info") > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,