CVE-2023-53695: udf: Detect system inodes linked into directory hierarchy
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
udf: Detect system inodes linked into directory hierarchy
When UDF filesystem is corrupted, hidden system inodes can be linked into directory hierarchy which is an avenue for further serious corruption of the filesystem and kernel confusion as noticed by syzbot fuzzed images. Refuse to access system inodes linked into directory hierarchy and vice versa.
The Linux kernel CVE team has assigned CVE-2023-53695 to this issue.
Affected and fixed versions
===========================
Fixed in 4.19.278 with commit 1dc71eeb198a8daa17d0c995998a53b0b749a158 Fixed in 5.4.235 with commit d747b31e2925a2f384e7dd1901a2e5bc5f984ed8 Fixed in 5.10.173 with commit a44ec34b90440ada190924f5908b97026504fdcd Fixed in 5.15.99 with commit 37e74003d81e79457535cbbdfa1603431c03fac0 Fixed in 6.1.16 with commit 1f328751b65c49c13a312d67a3bf27766b85baf7 Fixed in 6.2.3 with commit 9e3b5ef7d02eaa6553e79b4af9bd99227280f245 Fixed in 6.3 with commit 85a37983ec69cc9fcd188bc37c4de15ee326355a
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-53695
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/udf/inode.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/1dc71eeb198a8daa17d0c995998a53b0b749a158 https://git.kernel.org/stable/c/d747b31e2925a2f384e7dd1901a2e5bc5f984ed8 https://git.kernel.org/stable/c/a44ec34b90440ada190924f5908b97026504fdcd https://git.kernel.org/stable/c/37e74003d81e79457535cbbdfa1603431c03fac0 https://git.kernel.org/stable/c/1f328751b65c49c13a312d67a3bf27766b85baf7 https://git.kernel.org/stable/c/9e3b5ef7d02eaa6553e79b4af9bd99227280f245 https://git.kernel.org/stable/c/85a37983ec69cc9fcd188bc37c4de15ee326355a