Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp427605pxb; Thu, 17 Feb 2022 07:06:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwqpIInypoEQetjNOiBwGCWnus75NMoaLu+Fg+PTci4GSy0WlP2ysJILhjaniJbE4JfFiD X-Received: by 2002:a63:114c:0:b0:373:a701:3736 with SMTP id 12-20020a63114c000000b00373a7013736mr2576930pgr.117.1645110399909; Thu, 17 Feb 2022 07:06:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645110399; cv=none; d=google.com; s=arc-20160816; b=D8H+SdclQsk6z+upvjOzAjLB2E0qeLsCHQZcpN/z234m5+hgM+jYvFOOOk9WZ73+lg H61xxcwPpEQ6FTMiEqGItcYUq7gQEPJpSAAYc+dA4len23SkBQ/gSwSwPZlX10Rjjauy fkSmz8pDzzsjr1/6zOAKMfGxm4mwQhyLLoX9ckp7hJJEWdNuc2aPiELw8XfRQD8Pcgyq bdFMCbp0weEfodqVMMunBk4qKgpJe2DSm8BTy7RgLT5CJGQ43KWlFnrlJdmCZsMnoti8 MapDE295J++TftgyNitOXzUovdikVbMpGZhl4OR73Rm54k4vhCdQYoukKAC3nJG9Xr/2 MVeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=DGAs9zKxVdoYe+gi1tmzMoWynQRhoDI6rolcCdbuikE=; b=fK4X/7A5Q/1oMGzg+V9M/V5K/s426Wio5PCOB5O0rfgaCrOsMvlJLWpl5hajsF5b5u Ces+oG0lo3CSD9hcX4//Fv8DYBsMorrdJJpLSLX4pOn7erur5NqTD1/HhkF8IUBI5OaB 9lGEKJ2JsivFJ4SDVrVKzbvI20H4uSkLEDEwsethauRkvbtytEEvwGVYzN7vMIYcAh+q zN3Cbup0//uS0jMPBs/uNzPVDsAlYufALx7SP7Oxx5I+fpZ21I7sA6L7bDWEZu3zg/fX dxVDxfoVUzODV004/+qLDvnD0sCCRLDR1B0xizfHIZjG4NS/wMgfC0aLSQnSoqwpF1Si XktA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a28si6929889pfx.71.2022.02.17.07.05.34; Thu, 17 Feb 2022 07:06:39 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234148AbiBQIAB (ORCPT + 99 others); Thu, 17 Feb 2022 03:00:01 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237307AbiBQH7n (ORCPT ); Thu, 17 Feb 2022 02:59:43 -0500 Received: from ha.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A18F22604DF; Wed, 16 Feb 2022 23:59:24 -0800 (PST) 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-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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'. 在 2022/2/17 下午3:29, Greg KH 写道: > 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