android_kernel_xiaomi_sm7250/fs/isofs
Jan Kara b0ddff8d68 isofs: Fix out of bound access for corrupted isofs image
commit e96a1866b40570b5950cda8602c2819189c62a48 upstream.

When isofs image is suitably corrupted isofs_read_inode() can read data
beyond the end of buffer. Sanity-check the directory entry length before
using it.

Reported-and-tested-by: syzbot+6fc7fb214625d82af7d1@syzkaller.appspotmail.com
CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-12 14:40:50 +01:00
..
compress.c isofs compress: Remove VLA usage 2018-04-11 09:55:40 +02:00
dir.c isofs: release buffer head before return 2021-03-04 09:39:45 +01:00
export.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
inode.c isofs: Fix out of bound access for corrupted isofs image 2021-11-12 14:40:50 +01:00
isofs.h isofs: joliet: Fix iocharset=utf8 mount option 2021-09-22 11:47:49 +02:00
joliet.c isofs: joliet: Fix iocharset=utf8 mount option 2021-09-22 11:47:49 +02:00
Kconfig fs/Kconfig: move iso9660, udf out 2009-01-22 13:15:55 +03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
namei.c isofs: release buffer head before return 2021-03-04 09:39:45 +01:00
rock.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rock.h Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs 2017-11-14 14:13:11 -08:00
util.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs 2017-11-14 14:13:11 -08:00
zisofs.h [PATCH] mark address_space_operations const 2006-06-28 14:59:04 -07:00