Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 417bd613 authored by Gianfranco Trad's avatar Gianfranco Trad Committed by Greg Kroah-Hartman
Browse files

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: default avatar <syzbot+8901c4560b7ab5c2f9df@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=8901c4560b7ab5c2f9df


Tested-by: default avatar <syzbot+8901c4560b7ab5c2f9df@syzkaller.appspotmail.com>
Suggested-by: default avatarJan Kara <jack@suse.com>
Signed-off-by: default avatarGianfranco Trad <gianf.trad@gmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240925074613.8475-3-gianf.trad@gmail.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 02c86c5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment