[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091625-CVE-2023-53285-7cb1@gregkh>
Date: Tue, 16 Sep 2025 10:11:35 +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-53285: ext4: add bounds checking in get_max_inline_xattr_value_size()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ext4: add bounds checking in get_max_inline_xattr_value_size()
Normally the extended attributes in the inode body would have been
checked when the inode is first opened, but if someone is writing to
the block device while the file system is mounted, it's possible for
the inode table to get corrupted. Add bounds checking to avoid
reading beyond the end of allocated memory if this happens.
The Linux kernel CVE team has assigned CVE-2023-53285 to this issue.
Affected and fixed versions
===========================
Fixed in 4.14.315 with commit 5a229d21b98d132673096710e8281ef522dab1d1
Fixed in 4.19.283 with commit 3d7b8fbcd2273e2b9f4c6de5ce2f4c0cd3cb1205
Fixed in 5.4.243 with commit 486efbbc9445dca7890a1b86adbccb88b91284b0
Fixed in 5.10.180 with commit 4597554b4f7b29e7fd78aa449bab648f8da4ee2c
Fixed in 5.15.112 with commit f22b274429e88d3dc7e79d375b56ce4f2f59f0b4
Fixed in 6.1.29 with commit 1d2caddbeeee56fbbc36b428c5b909c3ad88eb7f
Fixed in 6.2.16 with commit e780058bd75614b66882bc02620ddbd884171560
Fixed in 6.3.3 with commit 88a06a94942c5c0a896e9da1113a6bb29e36cbef
Fixed in 6.4 with commit 2220eaf90992c11d888fe771055d4de330385f01
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-53285
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/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/5a229d21b98d132673096710e8281ef522dab1d1
https://git.kernel.org/stable/c/3d7b8fbcd2273e2b9f4c6de5ce2f4c0cd3cb1205
https://git.kernel.org/stable/c/486efbbc9445dca7890a1b86adbccb88b91284b0
https://git.kernel.org/stable/c/4597554b4f7b29e7fd78aa449bab648f8da4ee2c
https://git.kernel.org/stable/c/f22b274429e88d3dc7e79d375b56ce4f2f59f0b4
https://git.kernel.org/stable/c/1d2caddbeeee56fbbc36b428c5b909c3ad88eb7f
https://git.kernel.org/stable/c/e780058bd75614b66882bc02620ddbd884171560
https://git.kernel.org/stable/c/88a06a94942c5c0a896e9da1113a6bb29e36cbef
https://git.kernel.org/stable/c/2220eaf90992c11d888fe771055d4de330385f01
Powered by blists - more mailing lists