android_kernel_xiaomi_sm8350/fs/udf
Gianfranco Trad 417bd613bd udf: fix uninit-value use in udf_get_fileshortad
[ Upstream commit 264db9d666ad9a35075cc9ed9ec09d021580fbb1 ]

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

Reported-by: syzbot+8901c4560b7ab5c2f9df@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=8901c4560b7ab5c2f9df
Tested-by: syzbot+8901c4560b7ab5c2f9df@syzkaller.appspotmail.com
Suggested-by: Jan Kara <jack@suse.com>
Signed-off-by: Gianfranco Trad <gianf.trad@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240925074613.8475-3-gianf.trad@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-08 16:20:50 +01:00
..
balloc.c udf: prevent integer overflow in udf_bitmap_free_blocks() 2024-08-19 05:33:47 +02:00
dir.c
directory.c
ecma_167.h
file.c udf: Do not update file length for failed writes to inline files 2023-03-11 16:44:00 +01:00
ialloc.c
inode.c udf: fix uninit-value use in udf_get_fileshortad 2024-11-08 16:20:50 +01:00
Kconfig
lowlevel.c
Makefile
misc.c
namei.c udf: Avoid double brelse() in udf_rename() 2023-01-18 11:41:34 +01:00
osta_udf.h
partition.c
super.c udf: Avoid excessive partition lengths 2024-09-12 11:03:52 +02:00
symlink.c
truncate.c udf: Do not bother looking for prealloc extents if i_lenExtents matches i_size 2023-01-18 11:40:47 +01:00
udf_i.h udf: Preserve link count of system files 2023-03-11 16:44:00 +01:00
udf_sb.h udf: Define EFSCORRUPTED error code 2023-03-11 16:43:53 +01:00
udfdecl.h
udfend.h
udftime.c udf: udftime: prevent overflow in udf_disk_stamp_to_time() 2024-07-05 09:08:21 +02:00
unicode.c udf: Fix uninitialized array access for some pathnames 2023-08-30 16:27:09 +02:00