Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EC6BC433EF for ; Wed, 5 Jan 2022 15:02:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236570AbiAEPCl (ORCPT ); Wed, 5 Jan 2022 10:02:41 -0500 Received: from mail-bn1nam07on2112.outbound.protection.outlook.com ([40.107.212.112]:21319 "EHLO NAM02-BN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S241175AbiAEPCj (ORCPT ); Wed, 5 Jan 2022 10:02:39 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TnCQ7/DnUOkYiTAYHDpx4do/HSaldo+XIyPE8k7imXXINRWq30KJpBtRAGLFy8cfn+pGEmIe/tnVgY7j7rWZlp0gLpfpHRNxLj0sU7b3MJBnAV3jpKHtGrwJPMl8pBs8Wkd8XKg6IvA17DAQWeMcfmeB27Uiv1s7l8WgwuNJ5WWlBp2r942Vu9R7j6dFLGESoUKDzZa+SFAMmiGo3xI3wVhmC8/dVQZ2oman4DoaMZqzskAE0/omN77tI2vAfaSOspKRC9gqRdhWQSRJuz8ob08Hb/A2DN+SDlGG4Rl/CK9p43IbN4zHbKvwONlIsIwNIrpD/QcKtyRzU5oUGwN96g== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1104itNxq9Q4C9QCLzuoAw0hCsEuVK+qouS5slfrfAk=; b=Ck4AJZBLnI0MiRBw3BX4+5v0nJQ0TYyHTEFoAKsEJog9mNX5nznj5SMx32VBAmlyaQ3XIHfvgA9tOaXQpsMAwGdYJbh12jSGR0ITRCbm94bZFeWInZb3SpnSaOr1KvguDmL6HDfvwa0xEzyz5u0aAWRL0Fx77UIq6f1oDpQmQU3KdaF2GfxKhm80jo64v6Ywdt9dRgIUUikLh5NojaZgZDG2WMd+Cd/K53WMCc5skqrvkX8BxTHkCiPrcWs3FoRXZzMUbKou60xepubOMqAphAk4NzdOVMi65I9eODl29UW2fkfCYwRu4/o1csuxLWLjF59yVT6SRgrts/FAM0E7wQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1104itNxq9Q4C9QCLzuoAw0hCsEuVK+qouS5slfrfAk=; b=dFZcLuFi6G6GqjjZhauFHe/5O/bgSf1bSSQZnAnP96z7XAhdOgFxJjWhZTqGGZ9270wd1X8gTcqtNi0DEtDTvxoDb7tGY2wJgFnNbSOnWT7tgbEC7Jbi3RwCabK20qqehxXffePFJPws9w1b7e5vAsp58UxmV997XqQ4JrEBQB8= Received: from CH0PR13MB5084.namprd13.prod.outlook.com (2603:10b6:610:111::7) by BN6PR13MB1842.namprd13.prod.outlook.com (2603:10b6:404:14c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.4; Wed, 5 Jan 2022 15:02:34 +0000 Received: from CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::288c:e4f1:334a:a08]) by CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::288c:e4f1:334a:a08%4]) with mapi id 15.20.4867.007; Wed, 5 Jan 2022 15:02:34 +0000 From: Trond Myklebust To: "jgg@nvidia.com" , "trondmy@kernel.org" CC: "linux-nfs@vger.kernel.org" , "linux-rdma@vger.kernel.org" Subject: Re: [PATCH] RDMA: null pointer in __ib_umem_release causes kernel panic Thread-Topic: [PATCH] RDMA: null pointer in __ib_umem_release causes kernel panic Thread-Index: AQHYAkVETpS/mIA74kSyVJLZ8d1qQw== Date: Wed, 5 Jan 2022 15:02:34 +0000 Message-ID: <3b74b8f4481ec27debad500e53facc56f9b388cd.camel@hammerspace.com> References: <20220105141841.411197-1-trondmy@kernel.org> <20220105143705.GS2328285@nvidia.com> In-Reply-To: <20220105143705.GS2328285@nvidia.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=hammerspace.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 78d33d32-41a1-42e4-e766-08d9d05c6782 x-ms-traffictypediagnostic: BN6PR13MB1842:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:499; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TBNq9kDjjaj5zWCrm5Sh18+51Kape6B48LNIH99qWZKSsj8NP1yUSTa+GKZTHXyf/cgVBoBurfHlgq0RpbIdzQTin1h9Pgoepl/wZk3vgUWkhR+PG6+bDG5MlbZlrPA5lOzkX2lI/jTFmot0EivyMOHLGDpoc8M0HDHF+ERVYQjesLAR3YxwPM+jb9AJhSB1a5HoMqjsyON4kGHbtlIfvMdH3L0WfORMDflkihNmogpLXr+LF34CZqDF6laYnwEyoL9IKWMaxfoWxj/SNjes0AIyG52Sq4kxxIsX8onouGqm6gihHNVTD9CoKq/7xUh23HwogtvphOLnQV44OPUDRbeKPKp7upkSllAs/aLLPbt0VgFbh91nLkecfLcO9/wMtlbHRqVlOPfgx0mqStI6ISeDNkJd8ntRyD4DTxH0QuWkIaG3wgryPXMcfVO2jY5gBpga2PVx7HisNW586o1KFWvTFAhZsrUO0yZJ75K2ScwKd5lRWySeNRSSj6CgJDJWYBPCa1wJmKhFp/xC5PC7979OKzRmaKoAFzkCEN6zEcIhKCQjQ7dAEPxIJCFix2GuYprYswc6/36eBJS1v8glkpsJNw3ZOBe+ivPnsinjgShnf+ffLjVMYxlSsbVQh5J58wZ0EQqKE9gi4aPdnd27wn4dLQHv/+sKJr0G64Ps5oOWhrUtuoSPPttVKqcbb6mQJHZI9LtDnLzBNk49OgUURA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR13MB5084.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(346002)(376002)(396003)(39830400003)(136003)(366004)(64756008)(66556008)(66476007)(66946007)(4326008)(38070700005)(83380400001)(8936002)(66446008)(8676002)(86362001)(6486002)(508600001)(110136005)(54906003)(36756003)(76116006)(316002)(5660300002)(38100700002)(2906002)(26005)(186003)(2616005)(71200400001)(122000001)(6506007)(6512007)(20210929001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZE9IZnJTU3RNcWlEZHlYWEJ5SUdtWU5idGsyN0NYUWRibm5YTC9aaW9FOUxj?= =?utf-8?B?SEkwaHVCeUNtQ01US1NLRW9UY0J5dGVSNVhxbDRjcHdQY09UZDZaV0NzQUxM?= =?utf-8?B?Um1wbVNUcjN5NzBnSTVaRDUzU3BQb1VEUWtwSkMwYk1TeWdzM3lpdGd2bDlC?= =?utf-8?B?MTlmamJ3a0pEbUZHWUlBdjNYdFlrcHI3amJOT3ZlcXhMSVYzLzh1Uy9Fb3oy?= =?utf-8?B?VUw2ekIremQ3ZHJkYkVuV21jSzZZeG1DeUVVOFhFaDR2dks1aFNubVBZMEtZ?= =?utf-8?B?QjIvV3lzSnhUd2IvM1l6VUVIaS9WWXZPWDhsV3lpblBwUDZUTmxqMGl2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StNL3MrV1hUUndnRFA0NVY2bm1HYm11SHZzamxJ?= =?utf-8?Q?x2FKLUdFFX9jK3kOAMsYJuU=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <9386A5A85C9FE24D9CEB99253394D537@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR13MB5084.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78d33d32-41a1-42e4-e766-08d9d05c6782 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jan 2022 15:02:34.0791 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: iA+YK5GVEj1Z1gQX8bYeJ+hUJa3g3ij1Zn84k2rOReOqDFHjrrbhXp41RfjB6Pbykb/5KGscn+M5mFa+SGg4IA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR13MB1842 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gV2VkLCAyMDIyLTAxLTA1IGF0IDEwOjM3IC0wNDAwLCBKYXNvbiBHdW50aG9ycGUgd3JvdGU6 DQo+IE9uIFdlZCwgSmFuIDA1LCAyMDIyIGF0IDA5OjE4OjQxQU0gLTA1MDAsIHRyb25kbXlAa2Vy bmVsLm9yZ8Kgd3JvdGU6DQo+ID4gRnJvbTogVHJvbmQgTXlrbGVidXN0IDx0cm9uZC5teWtsZWJ1 c3RAaGFtbWVyc3BhY2UuY29tPg0KPiA+IA0KPiA+IFdoZW4gZG9pbmcgUlBDL1JETUEsIHdlJ3Jl IHNlZWluZyBhIGtlcm5lbCBwYW5pYyB3aGVuDQo+ID4gX19pYl91bWVtX3JlbGVhc2UoKQ0KP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