Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 13B9B40910E for ; Wed, 27 May 2026 13:06:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887173; cv=none; b=axVOC4/6R4LskqIS2mhglztsLQRh4520qNSWtlGXHesZuubD3io3kUKckcqNyOtUIWhpgm0zDAiJlzrB8tZc5CyKDlg2T1vHlsXT1b185obB6EQ2jv776ujIBTDI38HCnBKX5+29aQF7Ej6sDxFIkTIFwvEY8/0M3f/OfsSBJ10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779887173; c=relaxed/simple; bh=1Tuv5jtf2OtkX4UqLMtcz6ElqwdU4kiQfRq0PgcHqPc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IwKfrVwILuScfKsxRjImRRboNVCVYrF9zngJ5gjcT4tniyHu7ah7thcSLAGDUtziIraDriu1m8YVlMHt9FniCcEhVD/L7oMX1uK62FBHUAjr+g1s9k7S5G+oZf3b4QTVcCn583nA/AfsZPfJuOsegrl8YmSfkB6g6zN/XMDEn1Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pI24Nm0f; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="pI24Nm0f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A2B61F00A3A; Wed, 27 May 2026 13:06:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779887172; bh=j/Gs2W/4ceECA2M+pnYpKIr6q6l+cXXW7FSMTvkQvGU=; h=From:To:Cc:Subject:Date:Reply-To; b=pI24Nm0f/TReR2Jxtz+YlrKIk6dm/0wz5DJ4PaUIjEmuZiXaWWzBVNM9zSgwMAnOb gbDB3QV4Vx48WAewCw91UOM+gkxpleZoE5OYzK44qA/Bfl3MOHsxNJF2HGtsXFsf6W yv5Ir3Om1jQqlWxUlx2qfMQm+wG63sxkn16GiZc0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46100: fs: afs: revert mmap_prepare() change Date: Wed, 27 May 2026 15:00:31 +0200 Message-ID: <2026052705-CVE-2026-46100-fa8e@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2414; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jeUZk1CCpRuS+gQH0seyUyRJ2CUXZHiX9yv2Q/tlvKc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir2Y2sB5YNyUwpuBBwbFvwud++QW/8TSWUmljff/ri +Ft70DLjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIrxDDgj3z1552zvQX41un HF7ne0/jMu/1PoY53HyhBncv+H19GJLL/pj7IkPD8oNTAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: fs: afs: revert mmap_prepare() change Partially reverts commit 9d5403b1036c ("fs: convert most other generic_file_*mmap() users to .mmap_prepare()"). This is because the .mmap invocation establishes a refcount, but .mmap_prepare is called at a point where a merge or an allocation failure might happen after the call, which would leak the refcount increment. Functionality is being added to permit the use of .mmap_prepare in this case, but in the interim, we need to fix this. The Linux kernel CVE team has assigned CVE-2026-46100 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 9d5403b1036cdcd4be0f9f5568612c0e60e73d79 and fixed in 6.18.27 with commit f51f85c044809fbd39ac8ae07ac99bc43ce32bd5 Issue introduced in 6.17 with commit 9d5403b1036cdcd4be0f9f5568612c0e60e73d79 and fixed in 7.0.4 with commit 48c7a0eaeea41da17d1d84d2d7a4c40be122b246 Issue introduced in 6.17 with commit 9d5403b1036cdcd4be0f9f5568612c0e60e73d79 and fixed in 7.1-rc1 with commit fbfc6578eaca12daa0c09df1e9ba7f2c657b49da Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-46100 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/afs/file.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/f51f85c044809fbd39ac8ae07ac99bc43ce32bd5 https://git.kernel.org/stable/c/48c7a0eaeea41da17d1d84d2d7a4c40be122b246 https://git.kernel.org/stable/c/fbfc6578eaca12daa0c09df1e9ba7f2c657b49da