Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp176801pxa; Tue, 18 Aug 2020 20:25:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9lRPh1JjGb8O7CT/w6ZLcuyftRU7YLnMs95yP2QmC3sinH1rITgRj4KQER5Nf2Q1DrkMs X-Received: by 2002:a17:906:c1d7:: with SMTP id bw23mr24261571ejb.315.1597807509507; Tue, 18 Aug 2020 20:25:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1597807509; cv=pass; d=google.com; s=arc-20160816; b=ivyFzhcTaRJ4F1ccPd2vgCNXv4djsD60fPMRIj6Es/Zq3DawYfRHPPt42sZ26Oz2oF 8OLpaiW3x/7/fsxz37h+1eGXBjJ5kLcSYC/HnfWg7ST8/19SnkNFWOe1h5VzyJ/xhRwg fHftQy0vFFV3wiVOMkXSQtzKPSlCOxmE77F46P7Q1GO61FbTAiFVrRZNfPrtwM4PNjdD p7GLwiALHPh8KDvm7bLExt99OYw/Nck7Tf6E/85aAMgBRulUeS8Pgi7PO9XbHOEB22XV uhDoSeG3BUXkro/43GILAIScHfjVM3FDlVuM8C4bSA9i0rp5w9BKgAUzlDqtqt5GIu6W i9QA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=wj3ktnfkaE/zES+RSgPwDyQ8mhOTu7xXCT0aIGkFCfY=; b=pVA+bax/qgx6CzfW3NXyf8YGPZbq5agyaVQyaeKlJhQbLZYthwvQMxr0YE9JzBh4vg MpredgRrHbU+kL/jsoYF+YOzQnnrgVxRU8itr9T1nXNCTavOgLguGcOzbAYPRWOKjiU2 4ZqbdaDzgCJtAj2b75L6TQ7XCIMk5WQ/fTHq+wxRl8RGiToNnYVsZ+zJpEZICa6kkkBw 8zDI6h5CGGfttsmVMG51NiYpKAr95nO9JnawKSU0ba83yOLNE6dTANPhNN4mAD4xp56S wy3Io/QZ98b6Tgragi5QcffJSjWKLpd373ZgeLtQTXYCGIP2PHiI//pPBHBvpkHl82S5 1Ajg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=RyM+LpnN; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t23si16057903edc.163.2020.08.18.20.24.44; Tue, 18 Aug 2020 20:25:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=RyM+LpnN; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727053AbgHSDYA (ORCPT + 99 others); Tue, 18 Aug 2020 23:24:00 -0400 Received: from mail-dm6nam12on2074.outbound.protection.outlook.com ([40.107.243.74]:41505 "EHLO NAM12-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726605AbgHSDX6 (ORCPT ); Tue, 18 Aug 2020 23:23:58 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gm1ionFQRq3/ezlNxrotL1h0PIy57E+JY2uxcAeZw0biPd0k9XiWZqUT1u0TrtdxNx7lmgOo5+jNHK1BjhorLHZhENSBTT0bx5jcwRWTPuktyyvZ3tv69eHy6NqsMkKqv+J644MV5JJEFrPCTQyVq5tlPp/MHzvHv85L0S4nl/2VOEuIpdLrdfhtGNrXSc87UJqrhYUpMK7EFapBenr7+yEihesbP+y0NczVLJqx49vdI6lG3Y3//tlT38T2oL+eh/tIY85ruopn98gD+1VBVxxFaWQyJfqJ7CXz9NB6r89AHbEhxo75MdSM1tU54hE/7HG7WyhcyF0l5960b5EsiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wj3ktnfkaE/zES+RSgPwDyQ8mhOTu7xXCT0aIGkFCfY=; b=aQzRT/XXAEbhF/bjrFGt00WQSKbFUd/i1pjivc4w6y483ookZ9xu046GzNffZ+XlIeMNlbZEKsF6d0AXD+eejEIjfddMbW8Ws/WK72WYZ0HXmDjyAACavVlwFsHnpp4lAcexdJolUU0DVu5cXZcnNAvZ88bJP7JT5Vm2kPA1vnALlXC8bKftj5oUwBaDgXG6Od0O9H7y+0H/ZzYsKU56bu5mW+bnIW1PPqT1OEp1WXfmXLanheJJGHdx1TsKk+kMQgpmEJRaFxcK+UIk+PCF65r1VIwd5NYtlkInxojZo2fybkWtPYeWGHfblBQk4ArHEmswtFPkTOJ48sdLEOOwNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wj3ktnfkaE/zES+RSgPwDyQ8mhOTu7xXCT0aIGkFCfY=; b=RyM+LpnNBTOapNqc5mDH/epreEC1PEe7oc9YGitq/Tl4ZJKy7p0Birw8W9umQjuubLdadVYb0c+wRhO4Wsb1VIikDPz55cPuZ53lwTo9VsH8qPkNDH6G3ljYBBDGfWAqga84WaHBJZOy/19rmZEdH/X4bMIaVF5Rtp2MGrRJ26w= Received: from BYAPR11MB2632.namprd11.prod.outlook.com (2603:10b6:a02:c4::17) by BYAPR11MB2807.namprd11.prod.outlook.com (2603:10b6:a02:c3::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.15; Wed, 19 Aug 2020 03:23:53 +0000 Received: from BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::d87a:b368:655c:e12b]) by BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::d87a:b368:655c:e12b%7]) with mapi id 15.20.3305.024; Wed, 19 Aug 2020 03:23:53 +0000 From: "Zhang, Qiang" To: "dan.j.williams@intel.com" , "vishal.l.verma@intel.com" , "dave.jiang@intel.com" , "ira.weiny@intel.com" CC: "linux-nvdimm@lists.01.org" , "linux-kernel@vger.kernel.org" Subject: =?gb2312?B?u9i4tDogW1BBVENIIHYyXSBsaWJudmRpbW06IEtBU0FOOiBnbG9iYWwtb3V0?= =?gb2312?B?LW9mLWJvdW5kcyBSZWFkIGluIGludGVybmFsX2NyZWF0ZV9ncm91cA==?= Thread-Topic: [PATCH v2] libnvdimm: KASAN: global-out-of-bounds Read in internal_create_group Thread-Index: AQHWcIZ759O455Me90qyS7wcmU/yCKk+zxcs Date: Wed, 19 Aug 2020 03:23:53 +0000 Message-ID: References: <20200812085501.30963-1-qiang.zhang@windriver.com> In-Reply-To: <20200812085501.30963-1-qiang.zhang@windriver.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=windriver.com; x-originating-ip: [60.247.85.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2efac0b5-453d-4560-de08-08d843ef4c7b x-ms-traffictypediagnostic: BYAPR11MB2807: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4VQkvVhvAppgxNkyNtEWthhDny1QO/cL40UBnuNWLlUadEqcmdDMzGy42kjQzzVB2MLZGseiZmKhl4BkgvlT2TIcCDDPSrKNi7bbRFcqJmllTPJB5G56Cof09dLC/j+S1M5lG9JkL+yDz3HUZI8UTvJLWK3T5Y7oRCP6yFevcjYqlY8cxN7j4/qzu5CEbuzfesgJNALGhOZYTUaEBoITwCILc3UUaX/jt/FxYlwQj38/jgfBdePlf+uvLLxVChvMem6FGPJNL18r7uckGfjeXlBitZnQ/WeQgzh+tyWHAIziKBMzTa/lr7ByJm0m7lL3V/gIJ8rgnA8oq6QjWxLyJQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB2632.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(346002)(396003)(376002)(39840400004)(366004)(136003)(7696005)(8936002)(54906003)(4326008)(33656002)(9686003)(71200400001)(55016002)(224303003)(83380400001)(186003)(2906002)(66476007)(86362001)(26005)(66946007)(52536014)(478600001)(316002)(66556008)(64756008)(6506007)(91956017)(5660300002)(110136005)(76116006)(66446008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: XlCKAUbNexF7xOxjXfqzZBejUAimNBCYwX2UVvJcsJNskA+/skJzFlYbnsDFY5QfsBrTtK2Yms0YnY506CTMs9Gs7icNuNc8DgStU2lN/bG9+GF0RqS0iWwSWkbrKFQKCLRCq21Aqepl6SCUAZy3XBnsKo4hF4/qR+iv15tOZftg3jr6/X9aMiH304RO72jJpV0JN5NrJ7Oz9C0DXiJsn1OL+rFdGWrsrJXwy8bwTQC8ITTm2W7VXbiBC00gBk8cNfilY/5O0GUKRjUBjJxHpJOB8vPuowiJLhMCjQOmea0Sfo2BLgjXck9vZZbR+fnXLSAVZLFn4zYLJUiyrkimUl4XbAdNPfx+1fL7+9tLBHP3DYQZLfuwO0RTV/IQt1G2kb4hlFCLFTRU3VxqWEc8O3soony/cr42OdVGjNEo+nYzZAQAxLzQ4UbY+XLS+N1/PB1lK0/2oP9VpQMRwTjYYj3J/skZDHdhXcythwa9nLP7qyHbmvG5YQzNmXTFxnbl09JTII9XMe+MRjv6n9i6Vn2FRcUXGTUIY9lEvb53aMrb1yQ7v1HJHvd6nubappps3HKD1np1KA47PxYpEuGm33HQBFC9agXAwFAulxgKc14zsgWJZezixixtz4iFJEcSemgHOMw05Bmbi/7VjA+JIw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2632.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2efac0b5-453d-4560-de08-08d843ef4c7b X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Aug 2020 03:23:53.1136 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xDHXP4JM0JRfDmrikLpN3BEm1b4/lo08zy0JX5QGa2mLVbRwtNFfa1rinhB7EFSWHJKYDZ0fDtrQd3WFhkXLXiB8yP61js9o6FqYUfSBkho= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2807 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Y2M6IERhbiBXaWxsaWFtcw0KUGxl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