Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7D1BC43441 for ; Mon, 12 Nov 2018 17:59:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 529992243E for ; Mon, 12 Nov 2018 17:59:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=hammerspace.com header.i=@hammerspace.com header.b="TaE9/Mh8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 529992243E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=hammerspace.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727530AbeKMDx5 (ORCPT ); Mon, 12 Nov 2018 22:53:57 -0500 Received: from mail-eopbgr790090.outbound.protection.outlook.com ([40.107.79.90]:16544 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727363AbeKMDx4 (ORCPT ); Mon, 12 Nov 2018 22:53:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MFTMQb0eZI1c/VYNWngG+cyw7XSG0Tkn6Ddoh0npqqE=; b=TaE9/Mh88bzPvg/tHpxXxKE0AzICYwsEQEd/d1Es7DAMTHnSNJhPu+0XVxw/giATnJYtWWUS2BDzzTpAFIHrhnhf3ktaLDK0a9VFqRBwCJtTt8P/rdGnkZS6Iz9RgdkbY66ponCcQp+h2MXKWtMATrozW4H5amr8ldYGfY4wd4A= Received: from SN6PR13MB2494.namprd13.prod.outlook.com (52.135.95.148) by SN6PR13MB2240.namprd13.prod.outlook.com (52.135.93.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1339.15; Mon, 12 Nov 2018 17:59:34 +0000 Received: from SN6PR13MB2494.namprd13.prod.outlook.com ([fe80::205a:69c2:1cf5:b475]) by SN6PR13MB2494.namprd13.prod.outlook.com ([fe80::205a:69c2:1cf5:b475%3]) with mapi id 15.20.1339.019; Mon, 12 Nov 2018 17:59:34 +0000 From: Trond Myklebust To: "bfields@fieldses.org" , "chucklever@gmail.com" CC: "schumakeranna@gmail.com" , "linux-nfs@vger.kernel.org" Subject: Re: NULL dereference in rpcauth_lookup_credcache Thread-Topic: NULL dereference in rpcauth_lookup_credcache Thread-Index: AQHUd6xJVdpNrPMTaUWtaTxXqXNyo6VHvSMAgAHSE4CAAuRdgA== Date: Mon, 12 Nov 2018 17:59:33 +0000 Message-ID: References: <20181108214452.GH6090@fieldses.org> <04114B00-B5A8-4F8A-B052-A266AED7725D@gmail.com> <20181110214939.GA16755@fieldses.org> In-Reply-To: <20181110214939.GA16755@fieldses.org> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=trondmy@hammerspace.com; x-originating-ip: [68.40.195.73] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SN6PR13MB2240;6:E63NS4LbfmpTLnMDOMKd/lTuij2+528RypB/oFe+cY70Hn4ZpFJCUetDNt3obq1buZk5oI9UfijrWgrwEKkTnDUMQ2U3a1EyPLQpANe2+r5O96VJtNHaX0ZvP6Ig8Ta/Y9rWTKR4knXYzOhm8KlZPp2jPDvFVQIwQmiM1Xvlpg0ObgHTtKG2miFCDknFbNFze3ZpFWZj9H/UvkyJTjHpV06BJJJKuTMIPXOvQT3XMnVU3SmhNMmiKHs5QQb56IUA3B5NMzy5b/UDfjq1Aha6eYvOeoWOQak9LMZ4/3PWY1NriirihbCii7sS0JXtkm1O+m07QQpNkV7ZI88canpws0soQjjWqQRTnep4lxAKY9R/2cVeLlW5cG4bCoTdmVY5fF26RvT7L2sw8L9K5yFmOQva7IAkVM2gEhMR8kHmJrpNzX61KpMZglZsFRofRLJn2Ud7oX5m1jb4y032dLt6Yw==;5:R8jEm5tMeoXenWv3vZUzgmmed02yX4fYp4iubDkdbsfSRDJfAjJQ0wbghDYeHj0NyE6hXVjGIFalwGKGMfbzV2DoHfjGUAZlDqip/1ASWw9iDsbzRddsCSJxyumTOY8J3q0PIpMPUb9173/MAO4wZk+1svca3Gk3xl9SmNGngEo=;7:PyQRLTARQvu5YpjUNw9VWs72EsUsNxCbRmiOs7lJQuG+7i5jDlZavyiMJZ/4lJU25u1e8PCfm8LaffjAKkvZ3MzcFKRiCt3vYWFNdC4uR1adZHGQEXok+njF3xIdpMXAcg7CIMRRIU8+VP3yibetGg== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 94dcf641-4e3b-474f-41af-08d648c89a7f x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:SN6PR13MB2240; x-ms-traffictypediagnostic: SN6PR13MB2240: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3231382)(944501410)(52105112)(3002001)(10201501046)(93006095)(93001095)(148016)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:SN6PR13MB2240;BCL:0;PCL:0;RULEID:;SRVR:SN6PR13MB2240; x-forefront-prvs: 0854128AF0 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39830400003)(136003)(396003)(366004)(346002)(376002)(189003)(199004)(51234002)(8936002)(186003)(86362001)(81166006)(8676002)(81156014)(53936002)(6486002)(15974865002)(6436002)(97736004)(6246003)(66066001)(256004)(478600001)(4001150100001)(305945005)(6512007)(36756003)(4326008)(45080400002)(2616005)(39060400002)(11346002)(229853002)(7736002)(68736007)(476003)(99286004)(5660300001)(486006)(71200400001)(71190400001)(25786009)(105586002)(102836004)(54906003)(106356001)(316002)(118296001)(14454004)(2900100001)(110136005)(26005)(53546011)(2906002)(2501003)(6116002)(3846002)(446003)(76176011)(6506007);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR13MB2240;H:SN6PR13MB2494.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: hammerspace.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: eYtz6KHwQYW9IKXfz/Ha+c8Ph1w0VXp1NN9xjdIqo223i5g9feUp0459CkiAnuhFGvy5ID7uBNRuiAf6zr7rWqv8rZ2YjyXjwswBaDflQk4StLWteWcl3B9J86Ku0vMvLJNnMgNOERdzxXxiNhYo2Vk3U3KlW/Aer6sbv09iZF1E9YcCIlgA7r1RKLWoabfuwNSgHWlKWJNqbzvVA+ukcXWm7BxIzr6r105nJq9TvBp6z4SsDUiUgXMavztmClX9Rawh4BK9mdO79ZzI2RLqk2Zu9njolMb32ic6AHKs0ddNl79NcpZUYzq8xkMxs6TNNMpNxWAkX3ukHqNDqyPZLvp5yPaImWTcwQSVjaHPjIA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <76F34FB169A5574AA5DAAA796D44AED4@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: 94dcf641-4e3b-474f-41af-08d648c89a7f X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Nov 2018 17:59:34.0502 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR13MB2240 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gU2F0LCAyMDE4LTExLTEwIGF0IDE2OjQ5IC0wNTAwLCBCcnVjZSBGaWVsZHMgd3JvdGU6DQo+ IExvb2tzIGxpa2UgaXQncyB0aGUgZmF1bHQgb2YNCj4gDQo+IDA3ZDAyYTY3YjdmYWFlICJTVU5S UEM6IFNpbXBsaWZ5IGxvb2t1cCBjb2RlIg0KDQpJJ20gaGF2aW5nIHRyb3VibGUgcmVwcm9kdWNp bmcgdGhpcyBidWcuIEkndmUgdHJpZWQgYm90aCBjdGhvbiBhbmQNCnhmc3Rlc3RzIGluIGEgbG9v cCwgc28gZmFyIHdpdGhvdXQgc3VjY2VzcyAoYm90aCBORlN2MyBhbmQgdjQuMSwgYnV0DQpvbmx5 IHNlYz1zeXMpLiBJcyB0aGVyZSBhbnl0aGluZyBlbHNlIHlvdSdyZSBkb2luZyB0aGF0IEkgbWln aHQgdHJ5Pw0KDQplLmcuIEFyZSB5b3UgcnVubmluZyBtdWx0aXBsZSB3b3JrbG9hZHMgaW4gcGFy YWxsZWw/IERpZmZlcmVudCB1c2Vycz8uLg0KDQo+IA0KPiAtLWIuDQo+IA0KPiBPbiBGcmksIE5v diAwOSwgMjAxOCBhdCAwMTowMTozMFBNIC0wNTAwLCBDaHVjayBMZXZlciB3cm90ZToNCj4gPiAN Cj4gPiA+IE9uIE5vdiA4LCAyMDE4L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