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=1795100113; b=w6vMY7pxuXeb8nckLlFJ78i1dyqyqgkAAzIiGXDVQzCUkyxrAXWreefNOoeAT2OdIIDo sbLN+PwTCAfrmO4OskORyH19MgU5q7NGEAybUQfiSXG9h7Yp0cWCk0SFrnHF1O2gpPnzO n52SpLco8y/stOsrcg2R+rO1vzJrRPe5eQeuqCFymq5+xz/8bjK/h6LbUJiT/ZJCBmHU9 nSkB1yCelM6l/UGPTLTd+U/5U9loEXDblg/6Wo9UqBtNGfm9jqxKzfW9gDb6u9lIJDbXX InXkHkvwh/Cz6lHAFRwTl9sBXm2nbFedT69e2lphAWhv9CnqOxicrVyScC0XIXrb7MQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100113; 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=G+kFyZEyVwDnCu9BTELB6KGvihjcpbInJjZKZnNFQ+g=; b=AlldgRMiqegN/LaEP0wnE1EVf3dn6BlFEeJneWmwB4NBfvb4xRuIdUz95utZkqxYNcHz pZSvgduFmHT8o4x293kKnJcK9HMKg3AZfzkrguFa+tnhHNS/wpusFqCRHnyQ+sZxkBHQl c2ZxtN+btiSAeeWAr4Vt6qvVV4w4GBu9Wj7Ny/QFwZKUl/A3wrNAh4Vxjy1HufzAwEMRz oKbMm5sFTgqmcL9omIxzXgLJcFn3RqhiAE1q1ye+zVc6w/7ZIGy9Tu4nCtUUHt00OLjFn foJmWhzxl2HyUu9P7G4eWIpZYXtwt4+wFQOJHE3bmVzoI6nBAZVedQOr8V+rEFMxg3w== 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=cznz6vvM; 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 979B5606A32A for ; Thu, 19 Nov 2026 14:55:13 +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=cznz6vvM Received: by smtp.kernel.org (Postfix) with ESMTPSA id 880AF1F000C4; Thu, 19 Nov 2026 14:55:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100113; bh=G+kFyZEyVwDnCu9BTELB6KGvihjcpbInJjZKZnNFQ+g=; h=From:To:Cc:Subject:Date:Reply-To; b=cznz6vvMJSX2BHW7I/dO29iMNtvyJk6HOQcLxTtq+1CI+j9eLnd95T/XwFvAI3L8v x1nngSGQlNJY4vCSOGNil55q0oW3Z+p2cQv2m/tNHYOKqWqwC4SHHaN2C/vtLeKDz0 gK/yTvfxpdrGHOK8RVmuhXPu2eZwe8p7GVHSB9Z8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99478: filelock: keep superblock active through delegation wait Date: Thu, 19 Nov 2026 15:26:16 +0100 Message-ID: <2026111912-CVE-2026-99478-9c0a@gregkh> X-Mailer: git-send-email 2.56.0 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=2725; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Dm5QBI6/VwBPZ9DJp7nkwqjGOO5dLanaIUTMI6Icv8Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2XpsFqW6zvn0Z8d/rv2tDkec5s58Ica5aV9mSE9oi 87LBxKTO2JYGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi2+8wzOFU3pXD8+rMduYP f+USH9e5XU0yzGSYzD5PaN2EcxdMjG9o7xJrr33cqnMOAA== 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: filelock: keep superblock active through delegation wait A caller may drop its path after try_break_deleg() returns a delegated inode but before break_deleg_wait() finishes. The extra inode reference held in struct delegated_inode does not keep the superblock active. After a lazy unmount, closing the delegation holder can release the last mount reference and shut down the superblock while another task waits for the delegation break. The waiter's final iput() can then enter the filesystem's eviction code after its superblock-private state was freed. This has been observed as a KASAN use-after-free in shmem_evict_inode(). When try_break_deleg() saves a delegated inode, take an active reference to its superblock while the caller still pins the mount. Keep that reference through break_deleg_wait() and the final iput(), then release it with deactivate_super(). This protects every caller of the helpers, including the mknod, mkdir, symlink and rmdir paths that drop their path before waiting. The Linux kernel CVE team has assigned CVE-2026-99478 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit e12d203b8c880061c0bf0339cad51e5851a33442 and fixed in 7.3.2 with commit a6e222f1d75bce8de430ba4d0f8c6a1e923f9acd Issue introduced in 6.19 with commit e12d203b8c880061c0bf0339cad51e5851a33442 and fixed in 7.4-rc1 with commit c206cdfee6c037b829178bb7e17e6e37ddc9aa35 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-99478 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: include/linux/filelock.h 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/a6e222f1d75bce8de430ba4d0f8c6a1e923f9acd https://git.kernel.org/stable/c/c206cdfee6c037b829178bb7e17e6e37ddc9aa35