From patchwork Fri Oct 25 14:20:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever III X-Patchwork-Id: 13850810 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (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 8846F7083B; Fri, 25 Oct 2024 14:21:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729866073; cv=fail; b=M92CSKPR9lPPn/krIHblsheEW/DyJf63e7QjaVknUwC9GwaUHjBQmn6lwGv2dSjlOQdbHeTywXwqVzy99V8tp/Z58fvduzj0ZXic5YWTHFZWIVK0/UsDFDQ9OpO3IBpQRi/EgI65t5Yml8WQJFg1wShvyX3w41W17Oy+IXEePQM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729866073; c=relaxed/simple; bh=Br4HwfvZtbY96hP4JxuE5T+5kmVqZC3jcsKLpMSYs78=; h=Date:From:To:Cc:Subject:Message-ID:Content-Type: Content-Disposition:MIME-Version; b=QvbX6P2Q/0tgZdd3fVmLKFF1+AUPT+Fld2PbiB6PEDpXTb7MdBfpI+y1lN3aOmAx7X5HqocTy8nqxxc/spnQA9xQzLHSj/Q3psYAzGgtONuZplpNndhCzNaulRjiZTRzCTCVo7riggixJYZI709p7gKLw0+vWlBytSGfWkq6WRs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=iKx0e0p+; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=vBajJpeX; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="iKx0e0p+"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="vBajJpeX" Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49PDhVea031606; Fri, 25 Oct 2024 14:21:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc :content-type:date:from:message-id:mime-version:subject:to; s= corp-2023-11-20; bh=9ZMgJseAcZuE8UhSTI6LzuoHd8lzLUgxUiinRQEWJbQ=; b= iKx0e0p+cjCmUjo5MtlI3xJC4Shy9smvYa7mo5h5Xi2+HKvWy7Ch/vQOagiAS4bx FST4uEsYY9FnSFCy0nvufOSybzUCXp0ZYoIoW6ZGfiChhxlUBGG578hdaBjDrMlB QpYNhVxg0BtgmpXfn5EHaMJEO5Sy/DYma/OAuCLrxbss+YFQMZOD8q8pSZMG8IY4 jYt6ooGNZ6g1qU5vVuzxAZ8LLUyE0Tu9bh2nWrBkyBErVF7yJG9R9aKG/+2qGR8D yOAulT0WKQolvidDNRP+0YWnKmQLikT+p/m122VZeXGQuezrUevVSLcZJ3DUc0CS hsLc0vOIUh1eq3xEfDxWeg== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 42ckkr4a4r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 25 Oct 2024 14:21:01 +0000 (GMT) Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 49PDwYB5039100; Fri, 25 Oct 2024 14:21:00 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2043.outbound.protection.outlook.com [104.47.74.43]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 42emh5t2tj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 25 Oct 2024 14:21:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lYOy3Da/WYOLRTqyHOp8rhI1FvdDvRgpCP3OOREYwrwNuVHa0u17xaWHKmbeXAfrDUXWAyE7q3yG6RsSvJY7XLEtqS5Di03mrNsoLooHOrIXJvqkuPooV22wsWDQMnELLz0HFw5ZFyFKHQNZz5CpTwT5F6uCUt3+qduNcXKUk/+Vp+GCksYGaoJ2TVoaFa2sZFR897UgUAGwOiTqg/jOVL9qw0hW0yK/3jcw8SXnTognGE9zCUmFNjFS1r9zMm1EYjgBSZnJbLkaXIBz0ogKqV99qBBoiIw8qnbn9m+nmoRN67AKJA8B3oD+F0rzKbwHDsX6OqL8pQuSN1IFEUxNWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=9ZMgJseAcZuE8UhSTI6LzuoHd8lzLUgxUiinRQEWJbQ=; b=FT9b9b3QsRwmVOlbluTGbyr8k/u6V+1hGBSCFJBsMYnrTxj2+jo1M9ebdfolEGmVM46B2YLrXBlkaRYmnnEFaPPu/T5n4daITxyPT9pWXZOiu7b/A05gdneNBZFR8m7o4nRz6kGwOsJZfEwbwPIFRIHjyVGqNEobTV7R34rm0kK/Lje7TDnmOb+Zk6EmuOCY7N2DcTQgx56vR+B4fd2VY9FWVOeQcCL1WKdhnHebn86rxJRcSRvQp7Q9lIU0xH7WhxPLQ8E9pv3r+w2dt/2MUUZpInaNEa/oxyVY5TU0/qVFGsh1tU6qWEhU8Syg1qaSejgjiRD9bc9OFBoLvmHxxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9ZMgJseAcZuE8UhSTI6LzuoHd8lzLUgxUiinRQEWJbQ=; b=vBajJpeXqJz/WkLWnZBbodDex1xXmFVKrGu6o1RbmYKa6LRROMa3MPtXbMvwkifFQFWkVmN5nJhGSFpH/qe6lEQotM+VovJxIfzfpM0X38iGDPYJlPueN6305t7avKFzhSjIGGfhGj2D22j+cUQsBQaNB2QB3oayflSg9JFTm2Q= Received: from BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) by IA0PR10MB6721.namprd10.prod.outlook.com (2603:10b6:208:441::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.16; Fri, 25 Oct 2024 14:20:58 +0000 Received: from BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::743a:3154:40da:cf90]) by BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::743a:3154:40da:cf90%4]) with mapi id 15.20.8093.018; Fri, 25 Oct 2024 14:20:58 +0000 Date: Fri, 25 Oct 2024 10:20:53 -0400 From: Chuck Lever To: Linus Torvalds Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, Jeff Layton Subject: [GIT PULL] additional NFSD fixes for v6.12-rc Message-ID: Content-Disposition: inline X-ClientProxiedBy: AM0PR02CA0197.eurprd02.prod.outlook.com (2603:10a6:20b:28e::34) To BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN0PR10MB5128:EE_|IA0PR10MB6721:EE_ X-MS-Office365-Filtering-Correlation-Id: 96a49322-a012-446e-9b9d-08dcf5003ed8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: gdwe2t/K+4LMvhO+Bj9hLWNGzJT0hK1gA4b/IgbDI8ail0jaPJGFE3szle5TuU/9NefWYZsEQ1ceFkuInpqYrSmQcZabgBZXMm773D6upRLhLL/3S+38XCdadDZbgVqQd30Hc8auej6tyyovbMxVBosSMZFEa/ICpV7jvOP3SQ9UbI/opulJFHQkJFTSc1vHaTm/YLZxxRhaQRAbkk7AUNTSh6TH8H+DRYEpSSOEiZqk7fbh86i8TioZfV86Fx9Q5LuiLSckIOYsQwoYLJOS73mg0K71A8L+bVimzvXGlb269fSpWarPyCJ2jguCCNpSfRfyufr3X3Dx/HLJT+mFJUt5WgTuHnnf2tiGWwQAmQ+P/gW56FZcrWTGAgfciri3X5WYNsWQI+/YwYgcxO2BtGrTACOWnXJGOSSvi3mJN3RBdHoeooZfNrKZKB7FfWDjqaBMjADLWwnIFdv6T7zlgwurORCtHpHqBxiQFf33m1rRzfgiVPlxRl1pIdM9owILSvRbubbuj3bsajbCAsUIpJZCupP2sYrY2/pGYB5/zDOTdKpbvj9p3E4EMmguyI7gbdHIByqoY/aKBltWxAVXPFGjZ1nZ28l9xZ5NlD1JnTelYfV/QXupuNoqG0xH0obaMIy/SxkJnA29M9K5OAIok717R3prFgLYLaXruhFSbxUbqKKlWnt0YSzHi8k5TNbjP8khXjl90oWDJJIqHTMZ6h1Jmwf5jzn91slcY9tkdy5xjA8s+409ybCh3VTMC7yTXwPEDvWYRcuLEC144JXWv64qld21kF8mVhkWs+CFfUHXFcjsHiU7NnLsQ/MKatDpEMqSoafgR8AaY1xOI0HoZ5g5Y3MZMVONkxpMEZ8ZebF7XjEQYaADPXejQgSQvRR7oS6UaqWAqzO9GNsOOr4b6QQ4MhYAzYZw7qsJ5ng9uQIDkVK5VB63NfKUHdB4AKQZVZ6g/nP44q6t+M8ruT3yVmWa6tuxXaXCaUCcw265PauvUM7dO7EQYWBMzIZbVPJ9feP3CpnE7JzSB5Jrs4PAq8Jx5Iq6EkY9k4clXC+Vj+9yWuKqqEIyS/RxWO7yUqAN+eRA+En0d98AgIAhRiI5wn+1CXFm5MIiRN3kzzKdXI1D5AycIIQqv7Q+gUgUQKjWcRRPJ43WHuRWSkSyu0WtFK4OSGWykORHJ3VkSHAOvn0eRjIsrUtxQSkKArNZh98ECxZV84vDpkoLX65hCdCOIKw3wAtNJ4wX2grrsxOaB0i8mSz5f5LJvN2AJuiHXMelvgzyZ2Xz8ZfM/vfKZop7zlsNTg8XecXNrHHfUC6XY3mDS0mxSp/YNfDvuTJ2fGW8 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN0PR10MB5128.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3TOQ3Cl7KGXIO9TgkPcDFsEJlB08//UeoZeQ3nzmQ6QipOC4e/FYBHeU+BSW0E8f0om+9Smuq/LLsGeAb7POefcJbfGlSgh9IcWTVrjCNayFfFJOqvC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AyWY0RRqPe7MFxZi59fvRPDYzTqbNIj/Q3DviZEY2SeP/nmutImw84M= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 96a49322-a012-446e-9b9d-08dcf5003ed8 X-MS-Exchange-CrossTenant-AuthSource: BN0PR10MB5128.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2024 14:20:58.4179 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: GMxD7emYW4t9GvjiQOrw/pCCRJyAj1M2Mnj+JRZsDlyn8xT01jYuMJmTDXOqS+itcBr/x2cc8+5n4k+JLPfD8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR10MB6721 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-10-25_13,2024-10-25_02,2024-09-30_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 malwarescore=0 adultscore=0 mlxscore=0 mlxlogscore=832 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2409260000 definitions=main-2410250111 X-Proofpoint-GUID: nCr4L-r8uMiIiZbsh9bieqw2CgnzxsRj X-Proofpoint-ORIG-GUID: nCr4L-r8uMiIiZbsh9bieqw2CgnzxsRj The following changes since commit c88c150a467fcb670a1608e2272beeee3e86df6e: nfsd: fix possible badness in FREE_STATEID (2024-10-05 15:44:25 -0400) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git tags/nfsd-6.12-2 for you to fetch changes up to d5ff2fb2e7167e9483846e34148e60c0c016a1f6: nfsd: cancel nfsd_shrinker_work using sync mode in nfs4_state_shutdown_net (2024-10-21 10:27:36 -0400) ---------------------------------------------------------------- nfsd-6.12 fixes: - Fix a couple of use-after-free bugs ---------------------------------------------------------------- Olga Kornievskaia (1): nfsd: fix race between laundromat and free_stateid Yang Erkun (1): nfsd: cancel nfsd_shrinker_work using sync mode in nfs4_state_shutdown_net fs/nfsd/nfs4state.c | 50 +++++++++++++++++++++++++++++++++++++++++--------- fs/nfsd/state.h | 2 ++ 2 files changed, 43 insertions(+), 9 deletions(-)