Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154397; b=tq41v9YtfDrwDIOTYz+u/Vli61rO9eRgeBJnnyKvO+3IxJjV+lcLHAG17XZxwaGrjeG4 xmGCU2EsolegowhFh+fAE1gGAfxbosL9TWw3bRnbUWoDl03RlMDHLcCZUYNsUhmHbW1CJ ez6tlYaf3QatirrKCvHcIOLQHpvggAuaNR4p9J2tkSKksOI+OOvvhY3IkNMtiLxxaFtiW CCkyuqjgev0KO8G8dEIQxXcJli6vsnefeYxWmYRRzGZHVoCBd92kDDIO5kc5SNvEq1Cim xiPKPMxMwRlBGeI0A5gZYQtAqHJkRu3llLpuC6nJlVdLihcEczxC9fTQawvnj5yCbgQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154397; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=qNtKYx2jwBR6aL5PkPKWDVns5myYZshJBWyxqDRW+H4=; b=4k+t0n5w/fBGlNb8hu0PXc5GhWa/eSib5c55y199WK9Jqu5/UmZ6DnzHPjz8jlwP9gyH v9uG5kzlY1Jv0NVSn0icSKr6FefJK761x81luCwCjavfTmuZiCUbJM6IgQqIDVuQOt92w 6sDidJLdD5JwZMyqOgxoOq6qFqYQvd2TgRczd+NKMAOhkeL8bzS1bfVyMGSQ2fNxN5rvF mexviybNoiSItBFItpJ06NxcspqBU90LwpVE2SQ+tinn/a3upQzRR4N/zl+qGcZrE7d86 Kvph79xb/XnUqYOBxAXocZwDLGXveHQXFT4G2saSIWEAoHC4w78LFOuCqhUwtHva9bA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=AMFBfoNH; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D00E606A512 for ; Fri, 20 Nov 2026 05:59:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=AMFBfoNH Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC6BA1F000C6; Fri, 20 Nov 2026 05:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154397; bh=qNtKYx2jwBR6aL5PkPKWDVns5myYZshJBWyxqDRW+H4=; h=From:To:Cc:Subject:Date:Reply-To; b=AMFBfoNH5Iy2QiGrMVny13i1/2Vgg/XOliH0LZ40f38sRMRlsc/3cDMPF6dVSdPQ5 ZolyQyeouqagTumcWnoPJG0d0owkbQI/vm/60TTmkQftWCzgMGRdPVnAncr5YIAAtR ZIA1HqlQi09ZG0PVe9naL+fSdd+ZlRfuYQdufShM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99730: mm/filemap: finish fault cleanup before dropping the fault lock Date: Fri, 20 Nov 2026 06:51:56 +0100 Message-ID: <2026112013-CVE-2026-99730-60ad@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2809; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=M0QkP6qV/FMaRKQFtG5JoOgJcAu/BkSWgNdV5xHAxqA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/70/97dP8d+pas+e6lVWlX57IFqd8umx5VWEW26PiT 9ZK9VwzO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiN18yzLO4Yf3j3h3es3Pu ftIuuGb/kfHxkkMM88ym7lG/V6/scGbSwhauMhkVu91JywE= 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: mm/filemap: finish fault cleanup before dropping the fault lock On a retried fault, a fatal signal interrupting the folio lock wait makes lock_folio_maybe_drop_mmap() drop the fault lock without pinning the file. However, filemap_fault() may still need to release mapping->invalidate_lock. A concurrent munmap() can release the last file reference and free the mapping before that unlock. Defer dropping the fault lock to filemap_fault()'s retry cleanup, after releasing invalidate_lock. If the fault lock was already dropped for I/O, release the existing file reference instead. Keep the fault lock held for FAULT_FLAG_RETRY_NOWAIT as before. The Linux kernel CVE team has assigned CVE-2026-99730 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 730633f0b7f951726e87f912a6323641f674ae34 and fixed in 6.12.118 with commit efa7aec3f30d79a7d35edd219c6f49235f331013 Issue introduced in 5.15 with commit 730633f0b7f951726e87f912a6323641f674ae34 and fixed in 6.18.64 with commit f1c149e651fd55edc0769b76ebd688ae6cbd48f0 Issue introduced in 5.15 with commit 730633f0b7f951726e87f912a6323641f674ae34 and fixed in 7.3.5 with commit 8500faaa6ef7b4489294f2bf98c9017ee009986c Issue introduced in 5.15 with commit 730633f0b7f951726e87f912a6323641f674ae34 and fixed in 7.4-rc2 with commit 97156a6c355c21f7122421915f05461bd11699a4 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-99730 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: mm/filemap.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/efa7aec3f30d79a7d35edd219c6f49235f331013 https://git.kernel.org/stable/c/f1c149e651fd55edc0769b76ebd688ae6cbd48f0 https://git.kernel.org/stable/c/8500faaa6ef7b4489294f2bf98c9017ee009986c https://git.kernel.org/stable/c/97156a6c355c21f7122421915f05461bd11699a4