summaryrefslogtreecommitdiff
path: root/fs/udf/inode.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2020-09-25 15:53:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-29 11:07:17 +0300
commitac6e0baf7c82b06a1c233c03620dd79617f118f1 (patch)
tree6e260b3fecc34a1d8f70ae6847858946b4b141ed /fs/udf/inode.c
parentd9fe88b2a38dc700bf5bd3a09c7cd11bbc248367 (diff)
downloadlinux-ac6e0baf7c82b06a1c233c03620dd79617f118f1.tar.xz
udf: Limit sparing table size
[ Upstream commit 44ac6b829c4e173fdf6df18e6dd86aecf9a3dc99 ] Although UDF standard allows it, we don't support sparing table larger than a single block. Check it during mount so that we don't try to access memory beyond end of buffer. Reported-by: syzbot+9991561e714f597095da@syzkaller.appspotmail.com Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/udf/inode.c')
0 files changed, 0 insertions, 0 deletions