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 2202A1391 for ; Tue, 9 Dec 2025 00:03:52 +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=1765238632; cv=none; b=QzgVBg5G4bHe6DfYaUn+xBz01z52V+FcYZEB0eVS7DG0aAzHFKBh2kKW00GJRdPsPkMXUW16rdwfiQoYbar9aGH8iwVkYWS3l+tO85G6FgEVEceutRVQ33u3rohXp7hqYy3U5NRj+Ecf5H4YDbTxkSHa7MdNe+NdXsyl3zA1tx4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238632; c=relaxed/simple; bh=CVqE5YZW4+MfSyInXXEkaF22jsnP7OmRJZwHM3iS1fk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H68AR5yfsPnoaQBRLFQq6ni4AUD+nPBRHJw+cf7mGICCF/hIFcCuaDjdMuc+jm6SjCNe730dP+56V1uXyGlDfb/0+UuJWm/r/oyZFTZNaMOk/OVcE1fW352TC2ivLHsdQZb+skCi/kvWmhQEoJ0pipZNlBGOxL2/5NYhJ1SeoWs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PyBxoNjN; 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="PyBxoNjN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B59DAC4CEF1; Tue, 9 Dec 2025 00:03:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238632; bh=CVqE5YZW4+MfSyInXXEkaF22jsnP7OmRJZwHM3iS1fk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=PyBxoNjNxz+3yFhzBR82aBLWS7oBF1rKyozSSEB6hWnFYDhHztxftD7Sg372YzQX+ JhWSTOYqD9eFMPrOfbsSbFMo4HNrDNEiaUyEz5RHf7GxxNJU+s6aEiwcpYgoP+rMl1 6Dxq/dGf4jOIFucVHGYy6d2YcyGCtZ94umJ8LoLw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53796: f2fs: fix information leak in f2fs_move_inline_dirents() Date: Tue, 9 Dec 2025 09:02:17 +0900 Message-ID: <2025120941-CVE-2023-53796-4092@gregkh> X-Mailer: git-send-email 2.52.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=3608; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YE7l1qykKzEEBJkcfCFYvZjzeFUKbYm6+8OqBOzhk3w=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmac8+7mu+pOLYfrViwdvMJWfmHnsn3jOtbvrnWR1lj 68fu/FVryOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmIpTMsODgqtZbK7hvLCx6 tq+4RmnWr51if2oZ5umb7fG7bZsfLLNUaJe1/YuNn4zS5QE= 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 information leak in f2fs_move_inline_dirents() When converting an inline directory to a regular one, f2fs is leaking uninitialized memory to disk because it doesn't initialize the entire directory block. Fix this by zero-initializing the block. This bug was introduced by commit 4ec17d688d74 ("f2fs: avoid unneeded initializing when converting inline dentry"), which didn't consider the security implications of leaking uninitialized memory to disk. This was found by running xfstest generic/435 on a KMSAN-enabled kernel. The Linux kernel CVE team has assigned CVE-2023-53796 to this issue. Affected and fixed versions =========================== Issue introduced in 4.3 with commit 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca and fixed in 4.14.308 with commit 4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7 Issue introduced in 4.3 with commit 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca and fixed in 4.19.276 with commit a6807ef0f3b3d8508d3b07a2e35de8a91820a014 Issue introduced in 4.3 with commit 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca and fixed in 5.4.235 with commit 2bef8314fcf94ddc27e22d03f237c0fafd00de33 Issue introduced in 4.3 with commit 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca and fixed in 5.10.173 with commit 00b5587326625d0fddb2a5f5a3d4acd950102ace Issue introduced in 4.3 with commit 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca and fixed in 5.15.99 with commit 117d4f6687b1f74423b5d398ea95c63b262a8e73 Issue introduced in 4.3 with commit 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca and fixed in 6.1.16 with commit f07a8d61b6ea81bb3cbe0638af40f8824d6147fd Issue introduced in 4.3 with commit 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca and fixed in 6.2.3 with commit eebaecef0095bb8f493c03982da75c6e7bae1056 Issue introduced in 4.3 with commit 4ec17d688d74b6b7cb10043c57ff4818cde2b0ca and fixed in 6.3 with commit 9a5571cff4ffcfc24847df9fd545cc5799ac0ee5 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-2023-53796 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/inline.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/4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7 https://git.kernel.org/stable/c/a6807ef0f3b3d8508d3b07a2e35de8a91820a014 https://git.kernel.org/stable/c/2bef8314fcf94ddc27e22d03f237c0fafd00de33 https://git.kernel.org/stable/c/00b5587326625d0fddb2a5f5a3d4acd950102ace https://git.kernel.org/stable/c/117d4f6687b1f74423b5d398ea95c63b262a8e73 https://git.kernel.org/stable/c/f07a8d61b6ea81bb3cbe0638af40f8824d6147fd https://git.kernel.org/stable/c/eebaecef0095bb8f493c03982da75c6e7bae1056 https://git.kernel.org/stable/c/9a5571cff4ffcfc24847df9fd545cc5799ac0ee5