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=1792759356; b=AQyEHP8Ge9gpPYiwyTnR6mYVP8ytkDmw0frvXQqd8dBDAU7ANhvJZYCpmDVSVJj9Epyd Bu6Scxp7u9rEChNaoaHIeTefNM6etUxIH8v0P4v7I/syZAN6hFMEBwjyIvbyCoxvojDcn 0FNUvNNPDHjPpNLtu+PyDMb3eg40KlqLvcQuP4Dh5b2hF7pJilutyJ4fsmhEgox9NOy+j GYvkYyHm8SzxliRUWuNoFGKbEuxD9QBpkkq6ie8yKjm6I0bfqv7G1+oB+ZngvYCTUl/fK Kk3PtoYycpoHaEOqVNdlCIvQX2nFBQjI8cu4CxTrkdss9SLHKJ6rY7b+oRwAUwh1lEg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759356; 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=6/q9PwdKOyDDEp9ETnQ3b44JT8qZNV3QSQCxoZTWbS0=; b=H+GD31KyMNN0h7Kx1Ke9+Vv53qyhms26kOIP+rF7O7WuEoJwBjhQv2MKMk09fpRc6fUn X0bN4O098cwKTHDp+yOHDXlI5yYBE6uJuTBdDoinILpTgG1/sdK/S9DUW1KYVnRFME9+a M0nOOgKf0kF5WwFJ3o0fjqMDuYEJ/8vBs9jtoElfA5/6L/rL3n5Ngfg+Fb6ndNitFzT6m TJ8rtW4hVFQOLmgPCC+n6uhJ+Sohp5Z/urb0Ej4mMSDajgKT5uGKfzmm35FJf+YDfzdKA c7ptUwVUL0Emk418VxTwQm5DkYd5tNrzmeX9YhdCT5y/OuLV+zMuT9/lBziEbHAlmKQ== 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=STXM1aRe; 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 17157606A31A for ; Fri, 23 Oct 2026 12:42:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=STXM1aRe Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9822C1F01825; Fri, 23 Oct 2026 12:42:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759355; bh=6/q9PwdKOyDDEp9ETnQ3b44JT8qZNV3QSQCxoZTWbS0=; h=From:To:Cc:Subject:Date:Reply-To; b=STXM1aReh3bhju6road/qGz9A5LaBtVW1jLG06NhCXpmhlwNLSzaMc4pmGzRFexaE 9pOczjHBXWbyYs8PkJFqc1Wz20Fxy8xl4qwVWv0MGNRaE75I67kVNkH9yggErvx6UK DPmgmrzyp/tL1wPlug6E+4CebWqOyMRyr7coJ8+o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99051: fsverity: RCU-delay the freeing of struct fsverity_info Date: Fri, 23 Oct 2026 14:20:53 +0200 Message-ID: <2026102329-CVE-2026-99051-bd12@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=2561; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=X6zFrvTpdm9Xws6TAA8gYwx1XEER8GjOcnG82GOXE7Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3Ay5G77HSK/vxV8ht1dNs3tXd7PwJBnOf7EvYX+ymo lVwyGFnRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkRh/DXPEjf7XXTnsVc315 FHd2+L2DM3XzShjm+5vX735s16PnsvngyvUnDAKXKcTEAAA= 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: fsverity: RCU-delay the freeing of struct fsverity_info __fsverity_get_info() calls rhashtable_lookup_fast(), which just uses rcu_read_lock() and doesn't directly synchronize with fsverity_remove_info(). For the same inode this isn't a problem: its fsverity_info is removed only at inode eviction time or upon failure to enable verity, when the inode no longer needs its fsverity_info and it will no longer be accessed via that inode. However, this is broken and can cause a use-after-free for concurrent __fsverity_get_info() for *different* inodes. Those rely on following fsverity_info::rhash_head in the rhashtable under rcu_read_lock() only. They also use fsverity_info::inode to do the key comparison. Fix this by RCU-delaying the freeing of 'struct fsverity_info' after it's been removed from the rhashtable. The Linux kernel CVE team has assigned CVE-2026-99051 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit f77f281b61183a5c0b87e6a4d101c70bd32c1c79 and fixed in 7.2.11 with commit fa84f091a8e7fc46fd29834496fab9739dd4c8dc Issue introduced in 7.0 with commit f77f281b61183a5c0b87e6a4d101c70bd32c1c79 and fixed in 7.3 with commit e58c3805ed325fe2d4ae2dd467c0486cc860b733 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-99051 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/verity/fsverity_private.h fs/verity/open.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/fa84f091a8e7fc46fd29834496fab9739dd4c8dc https://git.kernel.org/stable/c/e58c3805ed325fe2d4ae2dd467c0486cc860b733