Message ID | 20250124191946.22308-1-cel@kernel.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21034C02181 for <linux-mm@archiver.kernel.org>; Fri, 24 Jan 2025 19:19:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8844F280095; Fri, 24 Jan 2025 14:19:53 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 833F3280092; Fri, 24 Jan 2025 14:19:53 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6D487280095; Fri, 24 Jan 2025 14:19:53 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 4D850280092 for <linux-mm@kvack.org>; Fri, 24 Jan 2025 14:19:53 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id BA0EE141108 for <linux-mm@kvack.org>; Fri, 24 Jan 2025 19:19:52 +0000 (UTC) X-FDA: 83043310224.29.3B347D7 Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf23.hostedemail.com (Postfix) with ESMTP id 0F3F0140009 for <linux-mm@kvack.org>; Fri, 24 Jan 2025 19:19:50 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=UE1LPkkK; spf=pass (imf23.hostedemail.com: domain of cel@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=cel@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1737746391; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=K0moYPANMD212coH/1nPY+pNLqGtBTuTiWoNwqiVyPw=; b=OYlEiATNmwbYToKgH+by4ulybqIomQMBA5YGRlQbx5cfqlduNf4eo54QdMT8gCg/IJ5Dmn gyBKHLekOpZFYv1fLWbtsUu52ZYFnaQ+vkQds9QPfu8LNTZlV1TKv9a3QqegUZEMqebgV7 khFiwBnvMWyXeT6/70RCM6R9q2qyn3E= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=UE1LPkkK; spf=pass (imf23.hostedemail.com: domain of cel@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=cel@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1737746391; a=rsa-sha256; cv=none; b=Ocv8b25/afrw2GH65Eg2mvk5uydYHjFf7YyaNuh0prkwDkWMXMwaAbz+zJGZcXjaXeGNn2 kFL4hLBpHroNWWjbjUUFc7Un4gZoDmtqDlH9XbTRCh5Iaytz8xhRAY4tssiDetExX0lwAE WNS9ohAxP8lG/J0lqmuQ3dx4pkVi0Eo= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id F3248A41DAD; Fri, 24 Jan 2025 19:18:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0979C4CED2; Fri, 24 Jan 2025 19:19:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1737746389; bh=uxWfJQcKZSJZwKoLlWXgT8zlZHeq5O98kmC9kyGjAzo=; h=From:To:Cc:Subject:Date:From; b=UE1LPkkKb0Q1Qk6D/Vp+DFAJ+5MMmwI3EDN/BDgZvhSX1BLJ8RgLJmykKoT5qfQ0h 4Aismz1x/y6/X9o4Z7kQ0sVJICEalQ9THifnedsAi1ww+KHraGwpNZ8h2Ri9BMM0ri tBUg2BDjQv3F5PxorHBb88qk92f1ZKt7MzY1iwPkBXt5ew1pO5ZWJ+ZKiqkwNcTQpo QCLG/C7bpbUxXMpF4yvNCDBLA0j01QhhGUtWYd1U1hbDZGmCJvysjrtzTLO8svgXG9 JL7BawxnlLrG4Q3MfyiNg5+jfl2+098dQHq8MGX5dz+8ReaeJFvWU24DaYDx3fU1PW ov1xjdwxzqdJQ== From: cel@kernel.org To: Hugh Dickins <hughd@google.com>, Andrew Morten <akpm@linux-foundation.org>, Christian Brauner <brauner@kernel.org>, Al Viro <viro@zeniv.linux.org.uk>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Sasha Levin <sashal@kernel.org> Cc: <linux-fsdevel@vger.kernel.org>, <stable@vger.kernel.org>, <linux-mm@kvack.org>, yukuai3@huawei.com, yangerkun@huawei.com, Chuck Lever <chuck.lever@oracle.com> Subject: [RFC PATCH v6.6 00/10] Address CVE-2024-46701 Date: Fri, 24 Jan 2025 14:19:35 -0500 Message-ID: <20250124191946.22308-1-cel@kernel.org> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 0F3F0140009 X-Stat-Signature: yk3tt6tg4qe1fzx557ebku6hdtq6p44o X-HE-Tag: 1737746390-695205 X-HE-Meta: U2FsdGVkX1+UoaoVl5S2ogJDcR4rZCVOwAa8bkd14FmqgTO3lyOephsI/0h7/TW2/06Zysw9icwxby3A68BcYVbxNRcGM+DalITsVn9EnokCQglbPzdyWZDMmZda9T6yVkLQ79DcqqsZXUc6xtE0XDp9aa2TkPUOkwkd/FQk6TPDLhyMORkQi5cshLmbJ9To0YN+aLV1yGaQXvaZFofLj3nC4n66V/E4m3Zijq48xSUhEDgCrWoE7F7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m@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Address CVE-2024-46701
|
expand
|
From: Chuck Lever <chuck.lever@oracle.com> This series backports several upstream fixes to origin/linux-6.6.y in order to address CVE-2024-46701: https://nvd.nist.gov/vuln/detail/CVE-2024-46701 As applied to origin/linux-6.6.y, this series passes fstests and the git regression suite. Before officially requesting that stable@ merge this series, I'd like to provide an opportunity for community review of the backport patches. You can also find them them in the "nfsd-6.6.y" branch in https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git Chuck Lever (10): libfs: Re-arrange locking in offset_iterate_dir() libfs: Define a minimum directory offset libfs: Add simple_offset_empty() libfs: Fix simple_offset_rename_exchange() libfs: Add simple_offset_rename() API shmem: Fix shmem_rename2() libfs: Return ENOSPC when the directory offset range is exhausted Revert "libfs: Add simple_offset_empty()" libfs: Replace simple_offset end-of-directory detection libfs: Use d_children list to iterate simple_offset directories fs/libfs.c | 177 +++++++++++++++++++++++++++++++++------------ include/linux/fs.h | 2 + mm/shmem.c | 3 +- 3 files changed, 134 insertions(+), 48 deletions(-)