summaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2020-09-25 14:53:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-30 10:38:29 +0100
commitc33948e7f5295fb18797080507b2c7f2bab323f9 (patch)
tree8d63afa5d44b952873353b046758ce1fe0e81724 /security/smack
parentcedb0187b8ba929c3f76f28e6bc25804d65f8a54 (diff)
downloadlinux-stable-c33948e7f5295fb18797080507b2c7f2bab323f9.tar.gz
linux-stable-c33948e7f5295fb18797080507b2c7f2bab323f9.tar.bz2
linux-stable-c33948e7f5295fb18797080507b2c7f2bab323f9.zip
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 'security/smack')
0 files changed, 0 insertions, 0 deletions