Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2988877ybi; Sun, 28 Jul 2019 22:34:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZ1hEHTb9AgNk0M6+qrnA0WtaoKYr2k5L+SuEYXI+LvssHqDOlDD3JsqSfL93TswccVT8G X-Received: by 2002:a63:ec48:: with SMTP id r8mr26448270pgj.387.1564378492189; Sun, 28 Jul 2019 22:34:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1564378492; cv=pass; d=google.com; s=arc-20160816; b=EQphyEaNvCiLQDkyaluDKLRpVN0do6RKEUE5EFGNaP8gXALmx8jc4M61IPLe3Qy/q7 uMPrn5cgHaMbAs04UhQSIlhdHkplwMrvPXURKoa5Dls6rc0on3hP0m+wb9BJvk5EC8Nt fa9NOo9rPpMpIGvn43PYe2n7VfSPtG2cmissbnXZqPL8NsQAHHI8hTCv433VGehx7PFn PebMr1E009+DYk/JKYzqjTHrGb1eI6uSr3cpfjpE/U+TjIYQ5/QEMgjWK9nvP1ZQTPL0 jE1/nLS/CbrbwjWjwBJ20peFKgk+maSDU4AeByvEeAnRTrGHm8A+kTrwo+9zhDyfQFPf yvSg== 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=qmg6MYPJ5Cj+Z9OPvZEkfve+eQXXxuSSNbkyvLl6eMI=; b=yxAf866mfQ0tf+at3P8Vxodu2KLSuK3CFLu9ZFVCrRreGEHjh8pejZHdTLWU+4mu9l SCbjZZBUFhDHmCIg8M+rRPC0EAvjM7bzC0dc/m78Rod3iilP6aR9gF2ERoakOsb4S2aR ttOYg5L6HXJNTZB49b0BK/SgZFF3PjGdlM99fTnoa53XEWebP4DJi+qx7RT3FU3lASlQ kgmo4XIXRd7uWdnOplqL5ou37z2uo9ZU7bkEKLsZLScsjIcuXgYF3HZ3X82KZp2KMfnT Cj7bUcS4Wu/2k9yCgC1wh0NhziA7+rPwGGdsaBUVtnpmH4zAHljXRvNZ/6DStXvCH5dL RpHw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=eP5VVgfo; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.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=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32si26676646pgm.409.2019.07.28.22.34.36; Sun, 28 Jul 2019 22:34:52 -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=@Mellanox.com header.s=selector2 header.b=eP5VVgfo; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.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=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726689AbfG2F0i (ORCPT + 99 others); Mon, 29 Jul 2019 01:26:38 -0400 Received: from mail-eopbgr140080.outbound.protection.outlook.com ([40.107.14.80]:56497 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726048AbfG2F0h (ORCPT ); Mon, 29 Jul 2019 01:26:37 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mgOHxaoNUOqMGiziz+06x/UohaRjKegoNpHJryQIrP3KWXDT4t3M6gdYFPid9S57qatXeJ2TGrRprYz5zyksWBcMUC8/40f4qnimOiW3k8jQWKkM1m2pbjPVTsjHz//e891qqZNiPaXT79Ou3iB6WZwNA9QiBIHQRbAbwTVi25/nB/HC6qSQOSBfEOGBwSUt51DhMvPJ1fbDtxmWVlGBYb71hVT5RIzTv1PjbTbOadU0tmtRROBLnzI0U2PaMYgDavMOJtyDvooRWcgSmysmwLDf4mfayriZ6ixxV/uEDYWm7JgjN7NwPznT7k93h7zaRiNVC1FFws2ulWq14UTvKQ== 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=qmg6MYPJ5Cj+Z9OPvZEkfve+eQXXxuSSNbkyvLl6eMI=; b=axkMq26jEy9+Su0cDkZAKRR6KWwphi4Az2EWHuGUDNTvpI4ZdXe/XaHwgL5QUDzXB13veLW3aD6xm4tyyiZYHPJeYMh0jgGWzPbcCxLE9/Gh7Q/nDT6Gnwt5UzqJoKRw2KLjH0YboaxYUzIpH9LIhpC4Z+FnIxQgSLxEIecm/3/Km3RoKahnkXcSIXlsm+oj8lK9vuDV90NoUgPyAhNH/6geH1TGwy63VW6g1GcaGgVtflN40pmZ7uSM9VDdbb9R5WC3VoaeFVXR4CwEZjULVsXxGkhLOL5XjC1DtVn8vvT6seulJXCi5/f4JCzvwbFjz5g4kXUnsddEEMulYxt8TQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=mellanox.com;dmarc=pass action=none header.from=mellanox.com;dkim=pass header.d=mellanox.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qmg6MYPJ5Cj+Z9OPvZEkfve+eQXXxuSSNbkyvLl6eMI=; b=eP5VVgfo8ibAOoTJP3AgvR53q4Zmgx/cKTVvufg0wTyPuVKKoR6UtOlSuXeaFpp3rbiVVS3/WCkBbuCrdENAq/fuR5kUilz/5/gCv5lgmlTTXjETihWSlfCMiCJcS7PSXRhByZztzW9fCxsmPWPlcHQqU9Qp4hPPt0pgy/nsw4o= Received: from AM0PR05MB4866.eurprd05.prod.outlook.com (20.176.214.160) by AM0PR05MB6004.eurprd05.prod.outlook.com (20.178.117.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.10; Mon, 29 Jul 2019 05:26:30 +0000 Received: from AM0PR05MB4866.eurprd05.prod.outlook.com ([fe80::216f:f548:1db0:41ea]) by AM0PR05MB4866.eurprd05.prod.outlook.com ([fe80::216f:f548:1db0:41ea%6]) with mapi id 15.20.2115.005; Mon, 29 Jul 2019 05:26:30 +0000 From: Parav Pandit To: Parav Pandit , Jia-Ju Bai , "leon@kernel.org" , "dledford@redhat.com" , "jgg@ziepe.ca" CC: "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [BUG] infiniband: mlx5: a possible null-pointer dereference in set_roce_addr() Thread-Topic: [BUG] infiniband: mlx5: a possible null-pointer dereference in set_roce_addr() Thread-Index: AQHVRbOmoai2hQIyp06eljqScufF66bhDLxwgAAEBWA= Date: Mon, 29 Jul 2019 05:26:30 +0000 Message-ID: References: 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=parav@mellanox.com; x-originating-ip: [49.207.55.248] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4c15a603-c0bc-48cf-a700-08d713e55005 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:AM0PR05MB6004; x-ms-traffictypediagnostic: AM0PR05MB6004: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:143; x-forefront-prvs: 01136D2D90 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(346002)(39860400002)(136003)(396003)(376002)(189003)(199004)(13464003)(186003)(7736002)(5660300002)(446003)(2906002)(74316002)(52536014)(305945005)(26005)(6436002)(71200400001)(71190400001)(55016002)(14454004)(4326008)(476003)(11346002)(486006)(53936002)(9686003)(478600001)(33656002)(110136005)(81156014)(6246003)(54906003)(66066001)(316002)(2501003)(2940100002)(86362001)(66556008)(81166006)(7696005)(8936002)(76176011)(55236004)(68736007)(8676002)(2201001)(66446008)(6116002)(53546011)(6506007)(64756008)(99286004)(66476007)(102836004)(25786009)(256004)(14444005)(66946007)(229853002)(76116006)(3846002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR05MB6004;H:AM0PR05MB4866.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 3lEZhxqdszOhxGHqlqK9rm7i1ctTKanNxApp9+b56NZuf5NeZFenngCZWvJ9LX9kUekTq6qrEO5X5Xq/VLeY4XngKcZqWoju56tjB0lZGXHyTGBRL5vcDrtGifCKqOeA00Jn+q+rsQU5qkiIq/giCoufWYVddsXkdFa7Qul6NolWwe9JnipG/+Q2Vat4pdik2f/cW7S+YnWJo1KXgc/SQWBQW79sDt5/OhEYE7SPQZLxXRPj5CIWjCKHob7tkNjpHW86kgIWiDiomSXlG1BfkyhtWPKeI+Tb++qwctHDKnkFwsDvGn4Q4GBzGfPWt6iNbacOXDjowDamOwCM7LVJKasN/hr5Z46/yCgWbhR2rt4Jqlvno0Kqp0TW187PuoIIgif0zisdYRTsQRA/YdiWlbgy2c5vvp2hkfZBw4v/gCw= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c15a603-c0bc-48cf-a700-08d713e55005 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2019 05:26:30.5571 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: parav@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6004 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogbGludXgta2VybmVsLW93 bmVyQHZnZXIua2VybmVsLm9yZyA8bGludXgta2VybmVsLQ0KPiBvd25lckB2Z2VyLmtlcm5lbC5v cmc+IE9uIEJlaGFsZiBPZiBQYXJhdiBQYW5kaXQNCj4gU2VudDogTW9uZGF5LCBKdWx5IDI5LCAy MDE5IDEwOjU1IEFNDQo+IFRvOiBKaWEtSnUgQmFpIDxiYWlqaWFqdTE5OTBAZ21haWwuY29tPjsg bGVvbkBrZXJuZWwub3JnOw0KPiBkbGVkZm9yZEByZWRoYXQuY29tOyBqZ2dAemllcGUuY2ENCj4g Q2M6IGxpbnV4LXJkbWFAdmdlci5rZXJuZWwub3JnOyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwu b3JnDQo+IFN1YmplY3Q6IFJFOiBbQlVHXSBpbmZpbmliYW5kOiBtbHg1OiBhIHBvc3NpYmxlIG51 bGwtcG9pbnRlciBkZXJlZmVyZW5jZSBpbg0KPiBzZXRfcm9jZV9hZGRyK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