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 8F69739A060 for ; Fri, 26 Jun 2026 19:42:49 +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=1782502970; cv=none; b=Vd/2bYU/k3+r12+tmMbwJ+eGOyBKHml4ieZ1N3VpWinopWlSMTiYRwpXwbvxsocSVjvNfJkf6kidltg+KagNrijhAGFH1Drf9Ud5l3wFd3JTJERvu/ErnRWBW3gbfaqWkJEzXE70TnhqeGgJYbdUJCOPRqOISfYAu9MMIrlFQ18= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782502970; c=relaxed/simple; bh=HRhoM3J6AQnzmgvXhp2QabulEQN48ttL/Pjj5qmF5Y0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V1dv24m0/Fa5Z8gq7Y4/XDSRnACaCxmlUn+vkT8E5OI9A8bYv8mrC+4ye3+h5StXuuvFS2ieQWRIHpXqxHV99I6ceI7HpChxJeuY8Z4H80aBF8nDD5bskb8GK9VhvVFG8LgUIpFjo5nCRZIbAMaErq5K8WyN2HXVGqTl9Lctxrc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QxnWDWwl; 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="QxnWDWwl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5CB21F000E9; Fri, 26 Jun 2026 19:42:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782502969; bh=UkUglzsTuFhP5Hr13UxMrTqZUOIFhLZW5WA3dTLGq7k=; h=From:To:Cc:Subject:Date:Reply-To; b=QxnWDWwlkSBbtq/aor7LX3H2pCZLbYnsxkXAaE7xKvOdQ2JqZeIebom8Njd5OwT8R ySHpyFOOjH8cse/Mck3SOiXooiUF018kEWklAViH6D4C2TmW8Lw9PFhWiRVZXMVhet RIeL3ctC8Hx37221oGPyiwlEKWQWNayV1gFLpH4M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53303: f2fs: protect extension_list reading with sb_lock in f2fs_sbi_show() Date: Fri, 26 Jun 2026 20:40:36 +0100 Message-ID: <2026062619-CVE-2026-53303-adc7@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=3112; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pN07G8A5Bgq5fBxlSCCFSSNAJykyDQ5c54J2v3xcstk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl2Vxdr33veqaq11nzSwtjv+vMbbTi7gxqqjqROeFHqV V9anr+9I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbSMJNhrkRewYNW82MerBMX R1twfytRORG8nWF+XOjf7zlLj/3Q6OvvumM12e3Mw6NtAA== 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: protect extension_list reading with sb_lock in f2fs_sbi_show() In f2fs_sbi_show(), the extension_list, extension_count and hot_ext_count are read without holding sbi->sb_lock. If a concurrent sysfs store modifies the extension list via f2fs_update_extension_list(), the show path may read inconsistent count and array contents, potentially leading to out-of-bounds access or displaying stale data. Fix this by holding sb_lock around the entire extension list read and format operation. The Linux kernel CVE team has assigned CVE-2026-53303 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit b6a06cbbb5f7fd03589cff9178314af04c568826 and fixed in 6.1.175 with commit d3ff0c121bbaef026df6248ab7ef6f0b068b0647 Issue introduced in 4.17 with commit b6a06cbbb5f7fd03589cff9178314af04c568826 and fixed in 6.6.141 with commit cea15f66b7b68b2c50943a6660e0692c6635e4eb Issue introduced in 4.17 with commit b6a06cbbb5f7fd03589cff9178314af04c568826 and fixed in 6.12.91 with commit 4b3a1bf4c2ffd4c9595d900ead78c9035894a025 Issue introduced in 4.17 with commit b6a06cbbb5f7fd03589cff9178314af04c568826 and fixed in 6.18.33 with commit d0e877810baf613b018fd9747440b9d4d9db1428 Issue introduced in 4.17 with commit b6a06cbbb5f7fd03589cff9178314af04c568826 and fixed in 7.0.10 with commit ea3ab43a1f3cf2c7cecd75c8be1ee99a5e94a92e Issue introduced in 4.17 with commit b6a06cbbb5f7fd03589cff9178314af04c568826 and fixed in 7.1 with commit 5909bedbed38c558bee7cb6758ceedf9bc3a9194 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-53303 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/sysfs.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/d3ff0c121bbaef026df6248ab7ef6f0b068b0647 https://git.kernel.org/stable/c/cea15f66b7b68b2c50943a6660e0692c6635e4eb https://git.kernel.org/stable/c/4b3a1bf4c2ffd4c9595d900ead78c9035894a025 https://git.kernel.org/stable/c/d0e877810baf613b018fd9747440b9d4d9db1428 https://git.kernel.org/stable/c/ea3ab43a1f3cf2c7cecd75c8be1ee99a5e94a92e https://git.kernel.org/stable/c/5909bedbed38c558bee7cb6758ceedf9bc3a9194