Skip to contentSkip to conversation

CVE-2024-50143: udf: fix uninit-value use in udf_get_fileshortad

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 7, 2024

lore
Share & tools
lore
#0 lore raw

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

udf: fix uninit-value use in udf_get_fileshortad

Check for overflow when computing alen in udf_current_aext to mitigate later uninit-value use in udf_get_fileshortad KMSAN bug[1]. After applying the patch reproducer did not trigger any issue[2].

[1] https://syzkaller.appspot.com/bug?extid=8901c4560b7ab5c2f9df
[2] https://syzkaller.appspot.com/x/log.txt?x=10242227980000

The Linux kernel CVE team has assigned CVE-2024-50143 to this issue.

Affected and fixed versions
===========================

	Fixed in 5.15.170 with commit 4fc0d8660e39
	Fixed in 6.1.115 with commit 72e445df65a0
	Fixed in 6.6.59 with commit 1ac49babc952
	Fixed in 6.11.6 with commit e52e0b92ed31
	Fixed in 6.12-rc2 with commit 264db9d666ad

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-2024-50143

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/4fc0d8660e391dcd8dde23c44d702be1f6846c61
	https://git.kernel.org/stable/c/72e445df65a0aa9066c6fe2b8736ba2fcca6dac7
	https://git.kernel.org/stable/c/1ac49babc952f48d82676979b20885e480e69be8
	https://git.kernel.org/stable/c/e52e0b92ed31dc62afbda15c243dcee0bb5bb58d
	https://git.kernel.org/stable/c/264db9d666ad9a35075cc9ed9ec09d021580fbb1