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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDA4FC433EF for ; Thu, 17 Feb 2022 07:59:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5B7786B0074; Thu, 17 Feb 2022 02:59:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 567516B0075; Thu, 17 Feb 2022 02:59:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 47CEF6B0078; Thu, 17 Feb 2022 02:59:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0009.hostedemail.com [216.40.44.9]) by kanga.kvack.org (Postfix) with ESMTP id 3C2AF6B0074 for ; Thu, 17 Feb 2022 02:59:29 -0500 (EST) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id EF31395C9D for ; Thu, 17 Feb 2022 07:59:28 +0000 (UTC) X-FDA: 79151522016.14.A73DCF5 Received: from ha.nfschina.com (unknown [124.16.136.209]) by imf03.hostedemail.com (Postfix) with ESMTP id 9383F20002 for ; Thu, 17 Feb 2022 07:59:26 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by ha.nfschina.com (Postfix) with ESMTP id 16B4E1E80D5E; Thu, 17 Feb 2022 15:54:59 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from ha.nfschina.com ([127.0.0.1]) by localhost (ha.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lt9QN165Z2-3; Thu, 17 Feb 2022 15:54:56 +0800 (CST) Received: from [172.30.12.152] (unknown [180.167.10.98]) (Authenticated sender: liqiong@nfschina.com) by ha.nfschina.com (Postfix) with ESMTPA id 8BA321E80CB5; Thu, 17 Feb 2022 15:54:56 +0800 (CST) Subject: Re: [PATCH] mm: fix dereference a null pointer in migrate[_huge]_page_move_mapping() To: Greg KH Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20220217063808.42018-1-liqiong@nfschina.com> From: =?UTF-8?B?5p2O5Yqb55C8?= Message-ID: <64157952-22d7-b21b-1b08-c784b8eed1fe@nfschina.com> Date: Thu, 17 Feb 2022 15:59:21 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Language: en-US Authentication-Results: imf03.hostedemail.com; dkim=none; spf=none (imf03.hostedemail.com: domain of liqiong@nfschina.com has no SPF policy when checking 124.16.136.209) smtp.mailfrom=liqiong@nfschina.com; dmarc=none X-Rspamd-Server: rspam07 X-Rspam-User: X-Rspamd-Queue-Id: 9383F20002 X-Stat-Signature: yncogtk59ptkd1fna9iwkiqbk6p5py6j X-HE-Tag: 1645084766-934708 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.005530, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Greg, Upstream replaces migrate_page_move_mapping() with folio_migrate_mapping(= ), does not use radix tree any more. So, the upstream don't have the null pointer bug. We found and fix this bug on '4.19.191'. =E5=9C=A8 2022/2/17 =E4=B8=8B=E5=8D=883:29, Greg KH =E5=86=99=E9=81=93: > On Thu, Feb 17, 2022 at 02:38:08PM +0800, liqiong wrote: >> Upstream has no this bug. > What do you mean by this? > > confused, > > greg k-h