[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100110-CVE-2023-53473-bf5d@gregkh>
Date: Wed, 1 Oct 2025 13:42:43 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53473: ext4: improve error handling from ext4_dirhash()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists