summaryrefslogtreecommitdiffstats
path: root/fs/udf/ecma_167.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2021-05-03 11:39:03 +0200
committerJan Kara <jack@suse.cz>2021-08-11 16:54:44 +0200
commit781d2a9a2fc7d0be53a072794dc03ef6de770f3d (patch)
treecb831d5ca816c91b3a3cd00a180f818b8d75dd08 /fs/udf/ecma_167.h
parent902e7f373fff2476b53824264c12e4e76c7ec02a (diff)
downloadlinux-781d2a9a2fc7d0be53a072794dc03ef6de770f3d.tar.gz
linux-781d2a9a2fc7d0be53a072794dc03ef6de770f3d.tar.bz2
linux-781d2a9a2fc7d0be53a072794dc03ef6de770f3d.zip
udf: Check LVID earlier
We were checking validity of LVID entries only when getting implementation use information from LVID in udf_sb_lvidiu(). However if the LVID is suitably corrupted, it can cause problems also to code such as udf_count_free() which doesn't use udf_sb_lvidiu(). So check validity of LVID already when loading it from the disk and just disable LVID altogether when it is not valid. Reported-by: syzbot+7fbfe5fed73ebb675748@syzkaller.appspotmail.com Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/ecma_167.h')
0 files changed, 0 insertions, 0 deletions