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 E37A12E2DD8 for ; Wed, 1 Oct 2025 11:53:43 +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=1759319624; cv=none; b=QCqJK8r5f9qY34zm9CK66imj1qF5CXydRHR2R5TyxyftisNBm2lZnafVgKYicYyvRBJKLdeBNveOueqfVgX82HTei3apXl8SnnoMZYOWU7d5gbeGUZzwSKrw4qV0GTIhuGocqOotSmYkKF+pLv9yPib5gHRDZ/b20tpREI6u0q4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319624; c=relaxed/simple; bh=RXcL6cv4kV46oKOUJ11y6bZ8YPFWLjXLUAM0wijvI1M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=niM1IGDq7d9DecyNw7D5+UUDg+6bqDFbYaLX5LTVSwenErDAf6hFfSf8f0x19XBFTTVhEUQaIt3piuzC2ZaH0sMU9ipl6/k17sHxQWWRFSwJ9CrdJSk9dBuLN35/l5zSnEzoVkbLqth/5UkCar0H81AXJ70i0abDuOqZQU9DFN4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qk/Hi7N8; 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="qk/Hi7N8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BF65C4CEF4; Wed, 1 Oct 2025 11:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319623; bh=RXcL6cv4kV46oKOUJ11y6bZ8YPFWLjXLUAM0wijvI1M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qk/Hi7N8ozP5+Zo3nXD86wJZ3yXxqLP92f5Tnv988EMUQ2JSTDt6E+K/NKRajtV9t hpqUsSVDf0HQfFtBmmKKPwZLDeyhzIJdZm7C5Rz0qSEJn0NY6N6+2zrIpRf3/oqveo 1Z0zIyM2OXqCUxY7pgOUoel/2mKqBjlU31QmHs88= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53473: ext4: improve error handling from ext4_dirhash() Date: Wed, 1 Oct 2025 13:42:43 +0200 Message-ID: <2025100110-CVE-2023-53473-bf5d@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2391; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=U1vAQoMeY25gnkX8aEQKfI9DeTFbOarSDV8tQOamE7w=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3hSdlJJx88nt/X2jGTsHEld8Z5u27UPzg0AU2hy8i5 l6Vi39zdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBElHcyLLgZs0UmpbK77tyy +zfU3yS76Kw55swwV4R1223OMwEmFx+eOlhm8YA94UehEAA= 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: ext4: improve error handling from ext4_dirhash() The ext4_dirhash() will *almost* never fail, especially when the hash tree feature was first introduced. However, with the addition of support of encrypted, casefolded file names, that function can most certainly fail today. So make sure the callers of ext4_dirhash() properly check for failures, and reflect the errors back up to their callers. The Linux kernel CVE team has assigned CVE-2023-53473 to this issue. Affected and fixed versions =========================== Fixed in 5.15.112 with commit b2531936118deb3f479c4fa1bcd787b74b8faa6a Fixed in 6.1.29 with commit f68876aeef96ef8b708ab10b9cb47ce0a5adb424 Fixed in 6.2.16 with commit 70d579aefa652a06af97e013e3fbbabbe5a43553 Fixed in 6.3.3 with commit c1fae027da61fe8e7eb99f7244297e81bc0f1e43 Fixed in 6.4 with commit 4b3cb1d108bfc2aebb0d7c8a52261a53cf7f5786 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-53473 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/ext4/hash.c fs/ext4/namei.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/b2531936118deb3f479c4fa1bcd787b74b8faa6a https://git.kernel.org/stable/c/f68876aeef96ef8b708ab10b9cb47ce0a5adb424 https://git.kernel.org/stable/c/70d579aefa652a06af97e013e3fbbabbe5a43553 https://git.kernel.org/stable/c/c1fae027da61fe8e7eb99f7244297e81bc0f1e43 https://git.kernel.org/stable/c/4b3cb1d108bfc2aebb0d7c8a52261a53cf7f5786