Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2985D305045 for ; Wed, 18 Mar 2026 17:45:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773855901; cv=none; b=XzVa4hnQDqO9/zRMfgVluwMTnQ05EWltIvKwgcQoUf+JWhL74Q7ag6dfu6eqarLgWr8aXm5qgGEtrKBGerSl8/Nm1XDNEhULUv6QfhB7I2ZNi+CNk7X3jShdKifQ/p918Ft8tQTBRVNhT52T/SuydQ6RiWNcD5vHZ6hzkLB8eSI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773855901; c=relaxed/simple; bh=njIJNhE1C//+qJoMGld/phXVypuSDAvXr7OOganCn6w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BsNjHM9993+2rWG0k9uPh+07VpKfDPgyAntslBfdaSwSnaxRKt7DoRAS8Bsr6VYLxVpv8fQ8XsJ5prSCK9LTP7sGKWEj3tl9t/iI6p6TKQ5NHdMD/PoWl4oaaKtp8oyBMFxmDHJjJKT0o0KDLD5X4xzg7jf4xwldr+7nSyfbiHo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nOnRFfrh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="nOnRFfrh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47AD6C19421; Wed, 18 Mar 2026 17:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1773855900; bh=njIJNhE1C//+qJoMGld/phXVypuSDAvXr7OOganCn6w=; h=From:To:Cc:Subject:Date:Reply-To:From; b=nOnRFfrhNmbme1Rs+2regyjcqUq86CihF6DSRAvatbA4xI0moR2NCFPEYuLZ2Cx0P TeR9vlDZAkL0CK2uCvPjBuaXzzfGwP7ijkyyZJb+dNQd8PAoABduni79RX9oUn5bzy 2s9UKmaDHPr7CDGfocFe/CNPw4N9Xo7LG42UssSc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23265: f2fs: fix to do sanity check on node footer in {read,write}_end_io Date: Wed, 18 Mar 2026 18:44:53 +0100 Message-ID: <2026031853-CVE-2026-23265-6d01@gregkh> X-Mailer: git-send-email 2.53.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=2909; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2VfWnTDOa2xmPuu2mWQ+5Z11SaBQdU06iIFzMu7QvUc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm7nkzd4t29dxnni6mFZ1nZWTjUzpXcU+Ipqpjv5fEha +K1a7XHOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiJ58zLNhkWscuFv71k+LU UKOmSULTsh582MOwYM/kQP4V/v2zV18PW3F7Qt7yrV7TWwE= 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: f2fs: fix to do sanity check on node footer in {read,write}_end_io -----------[ cut here ]------------ kernel BUG at fs/f2fs/data.c:358! Call Trace: blk_update_request+0x5eb/0xe70 block/blk-mq.c:987 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1149 blk_complete_reqs block/blk-mq.c:1224 [inline] blk_done_softirq+0x107/0x160 block/blk-mq.c:1229 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 In f2fs_write_end_io(), it detects there is inconsistency in between node page index (nid) and footer.nid of node page. If footer of node page is corrupted in fuzzed image, then we load corrupted node page w/ async method, e.g. f2fs_ra_node_pages() or f2fs_ra_node_page(), in where we won't do sanity check on node footer, once node page becomes dirty, we will encounter this bug after node page writeback. The Linux kernel CVE team has assigned CVE-2026-23265 to this issue. Affected and fixed versions =========================== Fixed in 6.18.13 with commit 855c54f1803e3ebc613677b4f389c7f92656a1fc Fixed in 6.19.3 with commit c386753db52b3a80afa6612bfdcb925aa5ca260f Fixed in 7.0-rc1 with commit 50ac3ecd8e05b6bcc350c71a4307d40c030ec7e4 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-23265 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/f2fs/data.c fs/f2fs/f2fs.h fs/f2fs/node.c fs/f2fs/node.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/855c54f1803e3ebc613677b4f389c7f92656a1fc https://git.kernel.org/stable/c/c386753db52b3a80afa6612bfdcb925aa5ca260f https://git.kernel.org/stable/c/50ac3ecd8e05b6bcc350c71a4307d40c030ec7e4