Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3552659ybb; Mon, 23 Mar 2020 03:18:22 -0700 (PDT) X-Google-Smtp-Source: ADFU+vta4d4OIW8K6Pbh6QNPsVzeVdOOE0rtmBm1+/DZyuojtPFfGj8m6rMnFfs5H81NTS0JitVY X-Received: by 2002:a4a:6841:: with SMTP id a1mr136406oof.18.1584958701943; Mon, 23 Mar 2020 03:18:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1584958701; cv=pass; d=google.com; s=arc-20160816; b=RLxtF/kdqVVHIB5mDEZCewXa/q5lBwF2BXP/1GAdf1VqPogNUmE/TtTF1TBasFBsuw uFoyT493j0TaQcLa1nX9ZLB2XDcw7W/XGmEN6a6Rh3il8Ssyh5coTdl1QxAn8Vaal2we 4YZqzkeyhI2oO6aEZuyR77dIkQpvJ8thBtHOYAl+BawFOZpjF1Z1X2E9169Zem6QQcv9 Xha7XLbZCuC4bTWzR/bpZ9JfIhKoQT8+RsveIPAPgzuLcnwBXolUltn7p7PDjB+aW8cq eUUOYuEFwUUJMnxvgXt2PKu/cmF0E3hyEwtT94Nytqgjz2e3LVN50tQWI5q1Si2QAlg3 PacQ== 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=z8tQW8a6NUK1oT/Yn43sYBuKdyxxr27XgbFZq3OTl94=; b=X0tBA+vTaOugqQWaNfE094hYAib6TN/ZYNp0y+/oomgf/DjHjAuPD8di53zcvCihlq J/2JjZl+6s4mn+mY+aK4Q/mj1hkiBATIO14D9fp14KHqboCRT0pRo7DiT0BWVZZ75XJP GD4VZYTqKePCmAQtoO7Gvp8y0pKJZCV/lp28DXaAQEBOySAPdmXWzXNpiGhnDLtJmZmA rd/DrYD7ve0UiBtF8APJHnhGOepooAIsgypMD57CHbeTTYwaW+sPsLFDP1ptAcJY0YAG FFi+C/ThC4qBVz59e6C18aJlkNbkocvk+V3bi5H8nbgj0sIjm1HnjDXoAe44ZI+t8r4l Wi1Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=ERgyVwfG; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si2630873otc.12.2020.03.23.03.18.08; Mon, 23 Mar 2020 03:18:21 -0700 (PDT) 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; dkim=pass header.i=@vmware.com header.s=selector2 header.b=ERgyVwfG; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727858AbgCWKQr (ORCPT + 99 others); Mon, 23 Mar 2020 06:16:47 -0400 Received: from mail-dm6nam11on2075.outbound.protection.outlook.com ([40.107.223.75]:6060 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727862AbgCWKQr (ORCPT ); Mon, 23 Mar 2020 06:16:47 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hkd8vE172iiKQPIh7Gta8JZj655Ynvtbed7WQPgCQdBgFEVu1IHElLzbbyBweBOSAE7XUD1inD0rIMyhYBOgUCF+rO09XqJG7er7SV3vTT8HKQ6hUqcQZ11Rb8Dx1AbIhdFc/25mdsA8xX18WLY6RrApOSboMDC4S8QnIgN9p5fXWu0Eg+4R7235wTBijw9lbpoGv7im6OWAC8RX0Oi/QpGEByQjrSirYx/OpVblHpxmSa1/acnuJpc2F+oXxs3jJT/5z3Vbr0HgbcddYu+wLU74iXyESLWvi96+TIz5y1l0QD/d1ALi+sM0S5kLLcrAa91ffsOhpHrrk5VzLnZ8Eg== 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=z8tQW8a6NUK1oT/Yn43sYBuKdyxxr27XgbFZq3OTl94=; b=DUwygy5e3Hm2TxJPtL97B5FRMZTanTAikQ+0ad56q2J9PT4fGZRudKQ9q8nz0JfBkz8sRTFJWJ9ZleSn+JaTCRhsqHIipV82gcIsiVJrc8rlPJrCrUg957iHwt0ZMan0pwcvPHg+sYITpVXRqv4D3sQUTZcI4fxGiwhmehsFYKhhu//32JctMlokCskdXFPe9xwnKiEdNc+eLtxNI6XII6kL6XagfKBdO5MB0jcDfEb5jWsFsQJq46Wzaf9KM2LBPsouGB+rJWV2us1iNbQfwugBM7jgoP7BNaDeK0eDQDVWrZSpgGLd3Dki/G27kGHHU9j4WweRnV56Gb+QooTdJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z8tQW8a6NUK1oT/Yn43sYBuKdyxxr27XgbFZq3OTl94=; b=ERgyVwfGrhHpG7UNR5/vTUdQXXBVMYdB1daaR/A/FEMGc0b8L/GQJGsi8ucJvl4YhTf78XKS6CBUvjmjrAJbb+8c+Omu0KUx8lV0cVUiehGWB4Dej4KNdygLEDtrljA6mESO3kB6pD3LU35uHma/nex/qDkas8DZlkpqwRD/gEM= Received: from MWHPR05MB3376.namprd05.prod.outlook.com (2603:10b6:301:3c::19) by MWHPR05MB3470.namprd05.prod.outlook.com (2603:10b6:301:42::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.11; Mon, 23 Mar 2020 10:16:44 +0000 Received: from MWHPR05MB3376.namprd05.prod.outlook.com ([fe80::884b:8b78:93b:29e0]) by MWHPR05MB3376.namprd05.prod.outlook.com ([fe80::884b:8b78:93b:29e0%7]) with mapi id 15.20.2856.015; Mon, 23 Mar 2020 10:16:44 +0000 From: Jorgen Hansen To: 'Arnd Bergmann' , Greg Kroah-Hartman CC: Xiyu Yang , Alexios Zavras , Allison Randal , Adit Ranadive , Thomas Gleixner , Vishnu Dasa , "linux-kernel@vger.kernel.org" , "yuanxzhang@fudan.edu.cn" , "kjlu@umn.edu" , Xin Tan Subject: RE: [PATCH v2] VMCI: Fix NULL pointer dereference on context ptr Thread-Topic: [PATCH v2] VMCI: Fix NULL pointer dereference on context ptr Thread-Index: AQHWAO0PYlOmj4PpzU+IYASut1pHpqhV3viAgAAGvwCAAA2QwA== Date: Mon, 23 Mar 2020 10:16:43 +0000 Message-ID: References: <1584951832-120773-1-git-send-email-xiyuyang19@fudan.edu.cn> <20200323085241.GA342330@kroah.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=jhansen@vmware.com; x-originating-ip: [208.91.2.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0885fbe5-6acc-4648-892c-08d7cf134977 x-ms-traffictypediagnostic: MWHPR05MB3470:|MWHPR05MB3470: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-vmwhitelist: True x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0351D213B3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(136003)(396003)(376002)(346002)(366004)(199004)(7696005)(110136005)(316002)(33656002)(4326008)(7416002)(26005)(478600001)(86362001)(55016002)(9686003)(186003)(53546011)(6506007)(54906003)(66476007)(8676002)(81156014)(81166006)(8936002)(5660300002)(66556008)(66946007)(64756008)(66446008)(76116006)(71200400001)(52536014)(2906002);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR05MB3470;H:MWHPR05MB3376.namprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OQEwi/XYbDzXcZSK548f7UhnMyjG4Bs/tLpOKJnY+dO4eNZHvXNPR1j7oEvkAFGGLzUiVTxWXp1s/S9s3IgwJ8pIXpF68qrky2HrwsPuevh+ZjSun1VMjXi9Hy+OBh3Dn/S3KHAa4SQtxp6yqgJqASyt5nOTLc86CDkh9fxKF6avQ6rFxXER5RXGzNcRIHdvJ86q+fXhnqzzhY9gIb1x+okZW2FTNedw4mC8IhqAXHGX1gyxP+3Xlr8BNCpeB/lJpphh5dB7/NuJy+3WyqyqMYXj0Y9RJVlFbU4x1e6lEyrvJVXhkVN4cVKWY7oHlJaKxaJg5tZ/q2igBO8Cqc7woM/xKFB6VYG4WAOvnzL6O6UFtS67e6/o0vcLEEVHlzhBP/ET8VhFfXZxyLDgwOG8DAm4S7Ds+QpyTed/8kSoPol/mQzrg61VHXEGwkwmUONi x-ms-exchange-antispam-messagedata: fkNeRYbcDEeiYJGPkAUsJxktjvXPumNdbeFmLHdNJDCNZ7fc9zXfeEzHiG/AJOz4vLyA0BfU4yfQtad6D34VM6AOlT65IhDLrBJJryNRbxzqe4/38EGFIu5+2phrvapckECjgqRIxJ8qK+l1qUFz/Q== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0885fbe5-6acc-4648-892c-08d7cf134977 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2020 10:16:43.7764 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: faHUJViScUWhjWCBJBoSmncp4Y+suDt+ddmvP5A8B9nsb+kn0Am9+H51UyIHf44c6MAxl7NNf/fKz1YCQP18Cg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR05MB3470 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBBcm5kIEJlcmdtYW5uIFttYWlsdG86YXJuZEBhcm5kYi5kZV0NCj4gU2VudDogTW9u ZGF5LCBNYXJjaCAyMywgMjAyMCAxMDoxNyBBTQ0KPiBPbiBNb24sIE1hciAyMywgMjAyMCBhdCA5 OjUyIEFNIEdyZWcgS3JvYWgtSGFydG1hbg0KPiA8Z3JlZ2toQGxpbnV4Zm91bmRhdGlvbi5vcmc+ IHdyb3RlOg0KPiA+DQo+ID4gT24gTW9uLCBNYXIgMjMsIDIwMjAgYXQgMDQ6MjI6MzNQTSArMDgw MCwgWGl5dSBZYW5nIHdyb3RlOg0KPiA+ID4gQSBOVUxMIHZtY2lfY3R4IG9iamVjdCBtYXkgcGFz cyB0byB2bWNpX2N0eF9wdXQoKSBmcm9tIGl0cyBjYWxsZXJzLg0KPiA+DQo+ID4gQXJlIHlvdSBz dXJl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