Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp2007141lqg; Mon, 4 Mar 2024 09:57:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWhcSfToB5OSnd67atvVvS72bVho105aQLFNzR5/tIeXrMtGWGm+XwAZvzINDuFI4MqLHYXmqFlxgOR+6OFDH9rcNhvCu0M+bRFIimD9Q== X-Google-Smtp-Source: AGHT+IHJqU5As/Yv4hVZKM2aPU77TdiI5iCrNudgJwv5kfKuC/5yCyCExAu9TmNG6xYrZz8QthKA X-Received: by 2002:a05:6358:7f0c:b0:17b:ee6f:b6b1 with SMTP id p12-20020a0563587f0c00b0017bee6fb6b1mr8203502rwn.31.1709575068053; Mon, 04 Mar 2024 09:57:48 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q14-20020a056214194e00b006903ca2ae9fsi10250948qvk.273.2024.03.04.09.57.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 09:57:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-2172-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=QySWWXRk; arc=fail (signature failed); spf=pass (google.com: domain of linux-nfs+bounces-2172-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2172-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 80C381C22FE0 for ; Mon, 4 Mar 2024 17:57:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61F4E60253; Mon, 4 Mar 2024 17:57:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hammerspace.com header.i=@hammerspace.com header.b="QySWWXRk" X-Original-To: linux-nfs@vger.kernel.org Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2136.outbound.protection.outlook.com [40.107.220.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 256CB612F6 for ; Mon, 4 Mar 2024 17:57:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.220.136 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709575058; cv=fail; b=LUOxAOMg+nAETXMyZZFxLFxHTZUGLpq42CA8lSKNLxMfNEv7jTGdwUP0SZQqyn0zrYqaBL8WgC+4Q/KMut+u0Csp0rAnz9E+fq42q3qBOvIlmh0U3RuhcztFxk6nrtcO1+yGdipx+OUosGIxvy0CoqG+u5MLRgr+QaVswrB3Ryg= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709575058; c=relaxed/simple; bh=dLQUDkDOsFGoN3zM8LUZbVnpfCYAcylPGcqqdvVEsLM=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=kxL440i50NEKVnQRW7OAI9cQLGL8C05BwmLuJlrFz/e21XPM20+5vKXI1mW4E0jwx44PBrVqHlzDblArMMBTvtBrZreDnXX8ab5X4ERlE+6qH2hIjUYdco/FK6EWat6PWGQtCCuT7vj7VE4JuSGEy6L0B+UBQounrvesqvqIcuY= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hammerspace.com; spf=pass smtp.mailfrom=hammerspace.com; dkim=pass (1024-bit key) header.d=hammerspace.com header.i=@hammerspace.com header.b=QySWWXRk; arc=fail smtp.client-ip=40.107.220.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hammerspace.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hammerspace.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QyXjDSN5nS6J6pR5ZPbBBBE/vHk2M/nRA4YAd9vGFgY7M/8e4MTCinE2GL9b7LgDtBB5ScFLiBcMj7jjnFpTkD65s/7UqmDpCQfvqjJjLDmsZnS4Es3YU2ftzWwD1fz/Fda3nf0qNsAHaNn/fCg0HbSxbeacRydsHU6jHBkwtNOhixL3+hr/V53YLLRlC4OJywsPW/9VQ+ucxDaEKWiYdzlF9oQLstezgpfY0/EiectXW586t+ExyHRnIUJDf01K20IXa+Cot+cBaHCkIxfJ6KOrk0NpRVrsTokND1wdwNRinbRCA+r74zKGflkFQWgYrIH28JqyujBVvsi4+IwIig== 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=dLQUDkDOsFGoN3zM8LUZbVnpfCYAcylPGcqqdvVEsLM=; b=a0uJ00OFXWLXlp7xKjMjhCeHCBitUn9n+moeYV38NAuqiXJ3oW1ynz0qQEmR1W8ZG0X5YtLXc4fXGwCUWI/GuyFegmVN9Z2dLQ/rHMv3bdKKI9iyUSJ4mnXktqQMnPg8ECHeQofCMBpkCJ/4T/7kxcptXT9aYvvHR/4NXbCg34X8+0diYoJVY77Kr/7B+E4d+oHfijWHEANSU6hCc+JXHTVoSW+G0dmbVmOfXtNKCdtjXBLy+mZyHoz5U/Hk57+diXEKPpsl+j01Q7KdII71BbSBQjVD3yfufIWnFcNUtbVFTOBjUct9+Q9BL8AshJoqbZrLcQVVezJcjc4Q8/ZosQ== 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=dLQUDkDOsFGoN3zM8LUZbVnpfCYAcylPGcqqdvVEsLM=; b=QySWWXRkqC1H/5X/6dFzKkwm9r4YsB365lueHUKjjMiOkqUTD68RTNbdlv2OPNPPMIcSjuKnf5tybpz7F/rvQjZLDbIESKv5g4HjaRqkuOTD2w+4AQxaUwFvNGM3x1gvMXycMq/IBsAwdE4D9p5Yt8aJohCGKRu0561aj2eEIVI= Received: from CH0PR13MB5084.namprd13.prod.outlook.com (2603:10b6:610:111::7) by CH2PR13MB4474.namprd13.prod.outlook.com (2603:10b6:610:6d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38; Mon, 4 Mar 2024 17:57:32 +0000 Received: from CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::5bb5:501a:fb40:5057]) by CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::5bb5:501a:fb40:5057%6]) with mapi id 15.20.7339.035; Mon, 4 Mar 2024 17:57:32 +0000 From: Trond Myklebust To: "anna@kernel.org" , "josef@toxicpanda.com" , "linux-nfs@vger.kernel.org" Subject: Re: [PATCH 2/2] nfs: fix UAF in direct writes Thread-Topic: [PATCH 2/2] nfs: fix UAF in direct writes Thread-Index: AQHaa/iVDeXLuY29ykyibJe+Be7gpbEn4ugA Date: Mon, 4 Mar 2024 17:57:32 +0000 Message-ID: <8d7c4e27bc29c3280ba016d45e96efba02eba818.camel@hammerspace.com> References: In-Reply-To: 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-traffictypediagnostic: CH0PR13MB5084:EE_|CH2PR13MB4474:EE_ x-ms-office365-filtering-correlation-id: cd22011f-0c29-4ac6-cc0f-08dc3c7490aa x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: upUYnWvw2yGNrnm7LPXSusxN/oLtw2SKSW/Wx3n32DvBL7x4vEUhsh+S4qkqun2D8QYTDtR1fuk76a/XlqbVdO9ZaNUnBt4XU1vFot+OYHyAc1YK/VIpnITk407O+KAxuVKVgvMPvyFrmR0rYhGqcltDG6i32yzbWw7mdXnjSSElTl+5R/WkBG+tziNqT2a6gfXyNL5wmN1cjfYdSqsCu73iqUTzzPV1Impo6EML4QkOzadK8UyRAGzxkG1H68jSzs+tOdg5Lg2RrTqiItK157hhmwxGZvTwd9hK99L0OTnnIcyTsqCI+HYJmPFX6xHgIN5v2nKOW7Pcbnu4tg29zuB5sl0zluMiOcsdtue2OW8cb/Zhvufmur31znUIDHBerpgvdzVAPB2VU5B+eVEz7NMaSj3EjHn21y0LZYWb9bRj/kX/7sXy8uT2WQZfLddkytDMRd9XMWpRfdW86mpScFtHXRL+7trPdFBA1Xlvs8j3N7f/MJyQcoiDNvgQF+e/WSxCD+NRLlkDTcRAwpjoD6PLOm+8AtXf892ceCekuDvNTmf17816EtR5sGFk6Oou0YSB3qNcn7yB33PpWLfyOOO7f+V65KBUvglrjIJg9ha3n8eBDAsPxpsSJ1ySd1ZWOj8PZOuHhMjA9o4ALbWATCCtMJ4tkbb7pdSsTQKOiG8NiBjDqSbyjR86hFGU2Sx+BongoAWaJyLHiXJnEeguPLLC05snlbbmw9TLq5PMpOU= 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:(13230031)(376005)(38070700009);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?SFZFOEcvVkZRZGNWYVR5N1BzbDk5YzZianZGU3RIZTVhZWNBMldLTmIrRmhS?= =?utf-8?B?MEdXVHA4Z3VlLzd6RlBDVW1Ia2F6Y00zT21MQWNEZDlSbFRhKzQ1Z2ZRSTNN?= =?utf-8?B?TllsY1UxcTRWZHh6UmlZN1RvMTlKYVhmN0Q1eSsvTEJ5aUtuclFWaldkdmVQ?= =?utf-8?B?TnkvWFE1MmRLQUV0dUNLa0l2Zm1salp6K2dQOVFsMTEzZzk3Y3lkQnNzMHdS?= =?utf-8?B?dzg1L0dFaHNBTVE0ZWR6WDgvMHVGVFlhb2lybXpES1lRckp1dGlsOG5CempO?= =?utf-8?B?RFlSUzVSNnpOR0F3MllpRFFYeWdsRkZiRnhrS08xVkFnMEFuOWhFUkRLM0p4?= =?utf-8?B?bUk0K1BEeW5wd1dkOHlmbGU4eHpNVXFxUkF2aFdOVkpZdFRwdXV6cjlORisx?= =?utf-8?B?c1lvdFQ1bUt1UEQ5Tm1PSHNGK25lZk9NRDBBVjJzaGtyNzR3ODRRK214YzNi?= =?utf-8?B?b3hKaWJDNWw2TFVJU2R5NG1GZjR2YmZjTjBDY0hsditXTUI2RzVaOUJsYWp6?= =?utf-8?B?bm4wVkhCcHd3MVF0Mk9Od2JlOVJqSVJZcm9ObDRyVEYrMTM0NmlzMXMyTzJG?= =?utf-8?B?azNkaEVOUU43M1VBNlJLc0lSNVVocUZHam80bnR1ZlNwWW5Ndmo0SUVZNFpt?= =?utf-8?B?d2pnYkpLMTA0U3RxRG5qdSs2YVZOZzV1TnY0V2toNlRDSy9vNWtsUVZsYTlr?= =?utf-8?B?MHEvbkJPZHZMQWtqa1RlO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wZlhPcE13YXpCWTRPOWNzaXA4T0FWSFo4dUNWVnkwRHRON3Mz?= =?utf-8?B?QmR6bHczQWhiTmI3czJpazZtOWhwNXY2QVBqMHU3c3ZITEljWW1nc0k3eWRy?= =?utf-8?B?dTFEamRVRG9xazlOZGVpZmlJZkNxcCttRTNkeEg4SUtNUnNhTDFjd1FOa0tH?= =?utf-8?B?bFZVd1RvWkUvc3FZcE1EQlNVdzNneHhodXNkbmg1SytNdnNCTTJwbG1LbnIz?= =?utf-8?B?ditVaXovbmNSaUY3Sld1Um5VZVNNeFByK0IrUkUyVXNNTm0vM2tieUYvM1lr?= =?utf-8?B?dTQ3dDliS21FU2QzakZpR1VqYWJjTmJsSDRBbVEvOUtjTkRtY0Nab29xWFE1?= =?utf-8?B?SUp6TStxMGNlTkJiZ0wrWFZSbWt6REsydFo4RlNoWEpQYVNpQXkzNFBuZXBq?= =?utf-8?B?TWV3YW9qSFpkam5RVmU1ODg4SEFSNUdXbWdJMDY5SlJWc3o0cWQ5RVZMUldi?= =?utf-8?B?MDVKUlVKRUhGYytZOUl2dlVHVWt4UlR2NS9Fc2VNUVEyZnRJWkN4SGtJVEJk?= =?utf-8?B?K3c9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <0E525CE0C14D134CB7B93ED0B321CB88@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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: cd22011f-0c29-4ac6-cc0f-08dc3c7490aa X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2024 17:57:32.0236 (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: cUMejCYLxOcQ6TMV787L0Bqwb3n9bEjBAWgtHVqz6FRwY6n4q7BuULzG8nUt3U3z/xHtfzuGbO+Ejr7hE+w3qw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB4474 T24gRnJpLCAyMDI0LTAzLTAxIGF0IDExOjQ5IC0wNTAwLCBKb3NlZiBCYWNpayB3cm90ZToNCj4g SW4gcHJvZHVjdGlvbiB3ZSBoYXZlIGJlZW4gaGl0dGluZyB0aGUgZm9sbG93aW5nIHdhcm5pbmcg Y29uc2lzdGVudGx5DQo+IA0KPiAtLS0tLS0tLS0tLS1bIGN1dCBoZXJlIF0tLS0tLS0tLS0tLS0N Cj4gcmVmY291bnRfdDogdW5kZXJmbG93OyB1c2UtYWZ0ZXItZnJlZS4NCj4gV0FSTklORzogQ1BV OiAxNyBQSUQ6IDE4MDAzNTkgYXQgbGliL3JlZmNvdW50LmM6MjgNCj4gcmVmY291bnRfd2Fybl9z YXR1cmF0ZSsweDljLzB4ZTANCj4gV29ya3F1ZXVlOiBuZnNpb2QgbmZzX2RpcmVjdF93cml0ZV9z Y2hlZHVsZV93b3JrIFtuZnNdDQo+IFJJUDogMDAxMDpyZWZjb3VudF93YXJuX3NhdHVyYXRlKzB4 OWMvMHhlMA0KPiBQS1JVOiA1NTU1NTU1NA0KPiBDYWxsIFRyYWNlOg0KPiDCoDxUQVNLPg0KPiDC oD8gX193YXJuKzB4OWYvMHgxMzANCj4gwqA/IHJlZmNvdW50X3dhcm5fc2F0dXJhdGUrMHg5Yy8w eGUwDQo+IMKgPyByZXBvcnRfYnVnKzB4Y2MvMHgxNTANCj4gwqA/IGhhbmRsZV9idWcrMHgzZC8w eDcwDQo+IMKgPyBleGNfaW52YWxpZF9vcCsweDE2LzB4NDANCj4gwqA/IGFzbV9leGNfaW52YWxp ZF9vcCsweDE2LzB4MjANCj4gwqA/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