Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1789454pxb; Wed, 9 Feb 2022 04:40:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHiyAJDTCrGi6FWU/9gyreVLLuLrTQ3SuMT3lqrYmSanPuMER8T0BdqkgKiDhq9cPWCPm/ X-Received: by 2002:a17:907:d8c:: with SMTP id go12mr1769208ejc.432.1644410410736; Wed, 09 Feb 2022 04:40:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644410410; cv=none; d=google.com; s=arc-20160816; b=goztpUrSpiqYHT9zJHivQhjuIjiEyBYSS6HJjAJEldBgFIRz+DJOdxz+cbnv/cqbGP zvWO2s5OKsol6VR/wpOi7MHUeGQhMlT29DTaqiY6Uvs07uhdtYkUws6yrq1ZpXZwTQTK VlZsWrXRyq2HQVLF+kW0QjS9vj/qksm4/kOD4FjwBOBGfRSBTiFM6m3vkz19T/M6SH8g E61Z7Mx9DAoj56PkwO2bZmAOTWUlM7U4auz4vM3b/+aD2o0ft7yXeuNqGuRhV+HvLmLn pHYUnR/q7udaoo128ZljH5XOXWdjlVT3PaWRqMhsG+XAWnoP5hxUNDn+xmkn2FSGiAEb Ceug== 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 :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=rHO1V3qb9iBIGev4HSGKtezdOCHk3OG5iNO9DgDT2aM=; b=w8M0pUwkzzrCCdUv4Wf5zP7nYN1eAzQWDZPku0Vzz2GNJyLEVasnmbd2c1Eq6ynSxU RtvliT4r7WoGBSC3wc1La8hOrb96poO5BF+04FYrB+j8srmSlpd5mCqxE69EpYQNuKxe vbt/1brqauFqcJvAkjlbtTqhq/2lYL2FNQ5n9+b/dGesnzrKHkOVE/qSL8o5RsgF8ZOd Onm4uPk8P9FXInyuUbtE8PS5viYYVS7+17cvazX9E6tlURhEVfOdbT3yt7ord8JmeUpN bqtbxW2iYtfrFxmk5xP1MV3R95kVRBHnuOh1kxaqXw5bN10GEp0NcQJldPXKCC0/CjvV 5hcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j11si13042263edw.449.2022.02.09.04.39.43; Wed, 09 Feb 2022 04:40:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-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 S232227AbiBIMHJ (ORCPT + 99 others); Wed, 9 Feb 2022 07:07:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232470AbiBIMFy (ORCPT ); Wed, 9 Feb 2022 07:05:54 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CA0BDF8E3FC for ; Wed, 9 Feb 2022 03:28:06 -0800 (PST) Received: from dggpeml500023.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4JtyF34zn2zZfPL; Wed, 9 Feb 2022 19:23:51 +0800 (CST) Received: from [10.174.176.83] (10.174.176.83) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 9 Feb 2022 19:28:03 +0800 Subject: Re: Question about CVE-2022-24448 To: Lyu Tao , Trond Myklebust CC: ChenXiaoSong , yanaijie , "zhangyi (F)" , Linux NFS Mailing List , Kashyap Sanidhya , "mathias.payer@nebelwelt.net" References: <1bb42908-8f58-bf56-c2da-42739ee48d16@huawei.com> <4e965ca75c4c4b70ac3322c39873d418@epfl.ch> From: "zhangxiaoxu (A)" Message-ID: <6aba4c65-36df-62ab-e6c2-500489b61d6d@huawei.com> Date: Wed, 9 Feb 2022 19:28:03 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <4e965ca75c4c4b70ac3322c39873d418@epfl.ch> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: base64 X-Originating-IP: [10.174.176.83] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500023.china.huawei.com (7.185.36.114) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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-nfs@vger.kernel.org DQoNCuWcqCAyMDIyLzIvOCAyMDozMSwgTHl1IFRhbyDlhpnpgZM6DQo+IA0KPiBIaSBYaWFv eHUsDQo+IA0KPiBJIG9ubHkga25vdyBhYm91dCB0aGUgcXVlc3Rpb24gMiBhbmQgNC4NCj4g DQo+IDIuIFdoZW4gdGhlIGtlcm5lbCBleGVjdXRlcyBuZnM0X3ZhbGlkX29wZW5fc3RhdGVp ZCwgdGhlIHN0YXRlIGlzIHplcm8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