Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3016515ybi; Sun, 28 Jul 2019 23:10:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqVTCZtb+SAnazu0svxrHo9u+bgj6ktpvXz7ZCmfw4VB44dqEvYqHaZ+ardLs5lsI1/2SF X-Received: by 2002:a17:90a:1ac5:: with SMTP id p63mr108277332pjp.25.1564380620769; Sun, 28 Jul 2019 23:10:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1564380620; cv=pass; d=google.com; s=arc-20160816; b=kR5jLQwk/je4TNzlnN0Fol64J1W4f805VObV4QDDvz8+tI0va2MrMoS/0rPuasctNp q1Witd5afTy6tUS6lg0B9oU1kV274kM7DlPdMMsyBv5r7wPllH6kPn40myeb2V0wUNGH hcGKOVirxpfA6j8DpaQAJ1qOS51aJ39hf2Idqf39lAY/FOF3HHy36IEX57yt85cv76CT nLhGC3HfRSCNUEXCmfP64pzzdZU2D74UkNdSg7hfQjWmdtHr5kVSNPbnscCHQWRsbBG7 lkwFwAQ3kEDva4I+Cfz2TsSR/a7CQbob7CzxyDWwJSMuaMh1VB/13DOSn3ZtV60NLXDl 6NOw== 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=a9r1k/07EEAy4VoXN+7r0v2LAwenDB5+RcYVvHa0fCk=; b=P8UrCaRjKqOgoIXs0ds8vMZeGqy4iaD0TMouHabNZQTIEgd9X7GxycDx1pkuT+3NxO Yn43CdrIfNrArwmWzADJl+hJkQTSyzqDwIBcPwb2i5ClTjQNC/ItT3J8vlCMWg2Ze1u4 p9qzIj+4PQKrOEixR+z2W4JAzo6rSutnfE6aMKpROpfV+d1ffTAWYj4oKR/ZbBNf3Vd7 nbz8JsErgv6xt+FuAwsV04YuvtaO0pcFf067czvUzJX6Cp4qWnzwwosJTpqJX+iQTq+x xH86aJetTI09FdlpvTxwtOyiJP/cxYAmxgy5pduYvJA9m5XMawSnPb0YNHEMkkQoS5/A Gksw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=UOZieG7J; 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 q7si27830373pgk.456.2019.07.28.23.09.52; Sun, 28 Jul 2019 23:10:20 -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=UOZieG7J; 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 S1726518AbfG2FZV (ORCPT + 99 others); Mon, 29 Jul 2019 01:25:21 -0400 Received: from mail-eopbgr10072.outbound.protection.outlook.com ([40.107.1.72]:22407 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726048AbfG2FZV (ORCPT ); Mon, 29 Jul 2019 01:25:21 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g0xWpKOTSmn70tzQhBCH5HkXCrAjOUVShWoEbijvnu2ns5fJgXR2L8LyyNedIwrDEHwDuhMUDFKL6++xECHl9mr7nA9YEas2CMVO5vkWVvgNw1W+nR/OytXAo46J73H6u7NIYh3rDKRFpYMphZ97VXVavsKkrNdJOXkzY+AJIn3NINnmLtX3Tv2oY8WnUCZfYzcHPcDcRcSnpVtXIXHFcMOyF5uXhwHUZ8nuJH+pOx09sKPdLgQSj08OBpge86PvOsu+ZmPYtJWzcj4iTRxKawiZTWXl1HkktR1Us3yLjfJcVhEo3qw1IU8rR9OeorVYqWn3P/raCnwwGZ8eW1/Ppw== 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=a9r1k/07EEAy4VoXN+7r0v2LAwenDB5+RcYVvHa0fCk=; b=bkW5a8f3UBCD9kEgIGFx5XKMPLmuXBuU2xGqWtItE1A4WWR9G+5yYE2xDh0Zx2PUVhBrqsJ5OaxOEETI3LoPdzjzNvHcns7/vynLUWY5bJYsIGPApXKNtl4pW153/Z2l8U9VxeZw510qwBC1VBcs5fyNaaMDEICk60yZ4uIg8qrNQviGCsB0P9jHok+Ie5aI4n7KIE7ueczWMlcyYy6OH/I3Ev3Ulxx2AhbFAg18AS+4KbZWZhYs9gK1oI6yMJDad63+DqkkUyFpHpzMR0ntbj6hHBtnH7nQR+KVCta7GhzWsyQCS0c5oN/7lVrR0DO2B3JHcbYzM12nQYV9EgIz0Q== 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=a9r1k/07EEAy4VoXN+7r0v2LAwenDB5+RcYVvHa0fCk=; b=UOZieG7JMaau1GW0Lbn4nbc4ApaoQSSJLG8idd2R57LK49yvDRug0nNopZAMxZyR0GUqHygpvhxfk+2YLmILwtufZxv360KPhMSDx46bu0oe1bjjF+jQiW7AZM4CQiZ3W/oreNms/G3veGPfCYjD1HcDGLsTQ4FdeCktiLnUZlI= Received: from AM0PR05MB4866.eurprd05.prod.outlook.com (20.176.214.160) by AM0PR05MB5041.eurprd05.prod.outlook.com (20.177.42.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.17; Mon, 29 Jul 2019 05:25:13 +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:25:13 +0000 From: Parav Pandit To: 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: AQHVRbOmoai2hQIyp06eljqScufF66bhDLxw Date: Mon, 29 Jul 2019 05:25:13 +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: 24fc5e56-befb-464a-ebfc-08d713e52217 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:AM0PR05MB5041; x-ms-traffictypediagnostic: AM0PR05MB5041: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:109; x-forefront-prvs: 01136D2D90 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(376002)(39860400002)(136003)(366004)(396003)(13464003)(189003)(199004)(110136005)(316002)(66446008)(64756008)(66556008)(66476007)(2201001)(478600001)(54906003)(305945005)(7736002)(81156014)(81166006)(6246003)(74316002)(53936002)(66066001)(66946007)(3846002)(6116002)(4326008)(76116006)(14454004)(55236004)(6506007)(53546011)(26005)(102836004)(7696005)(5660300002)(76176011)(99286004)(446003)(11346002)(476003)(68736007)(52536014)(25786009)(256004)(14444005)(2501003)(55016002)(2906002)(486006)(71200400001)(71190400001)(33656002)(229853002)(6436002)(8936002)(8676002)(9686003)(86362001)(186003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR05MB5041;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: NGAwT5pZo4vG1zh6bbTo91RNyrcv05syq+ZesTyYaKBe6FOIRAfCFbxBF46VyXp/ZMlTSeG33G2ZWKl1bvbh2qhnvsj6Zjj+6BA3D7vWb7qBGlPlTlRAPs6xbPIvMK7SemLFq6ahfwCACPXYzYEdYITAxiwqMOds96TUcI7zDeXziEjGCmxsuLeBas1Rgj1nlRrUq3iJ+nChW3jL+doHKg4J/And/yDlUuBuaeTXcXiu0svDV0x9LSQwekayGZR2pnKu4QB9WiNRE6XnD39J93uiSOZPeMWeeHxESdV183GhDB8q2x8WXkUoBoq+9mAcT7p1bmHXu6cZPlwY0UsDsD7RqnV0Rmo5SdM617y82EoNOGc6KnNgo3k/8Ee6235+oo3AkGx4U5cqyjFRZp7obwgIpDP/Gr15Hl5OflYV25M= 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: 24fc5e56-befb-464a-ebfc-08d713e52217 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2019 05:25:13.3707 (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: AM0PR05MB5041 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgSmlhLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGxpbnV4LXJk bWEtb3duZXJAdmdlci5rZXJuZWwub3JnIDxsaW51eC1yZG1hLQ0KPiBvd25lckB2Z2VyLmtlcm5l bC5vcmc+IE9uIEJlaGFsZiBPZiBKaWEtSnUgQmFpDQo+IFNlbnQ6IE1vbmRheSwgSnVseSAyOSwg MjAxOSA3OjQ3IEFNDQo+IFRvOiBsZW9uQGtlcm5lbC5vcmc7IGRsZWRmb3JkQHJlZGhhdC5jb207 IGpnZ0B6aWVwZS5jYQ0KPiBDYzogbGludXgtcmRtYUB2Z2VyLmtlcm5lbC5vcmc7IGxpbnV4LWtl cm5lbEB2Z2VyLmtlcm5lbC5vcmcNCj4gU3ViamVjdDogW0JVR10gaW5maW5pYmFuZDogbWx4NTog YSBwb3NzaWJsZSBudWxsLXBvaW50ZXIgZGVyZWZlcmVuY2UgaW4NCj4gc2V0X3JvY2VfYWRkcigp DQo+IA0KPiBJbiBzZXRfcm9jZV9hZGRyKCksIHRoZXJlIGlzIGFuIGlmIHN0YXRlbWVudCBvbiBs aW5lIDU4OSB0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