diff options
author | Jan Kara <jack@suse.cz> | 2021-10-18 13:37:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-12 17:05:50 +0300 |
commit | e7fb722586a2936b37bdff096c095c30ca06404d (patch) | |
tree | 144e3ad142f3118b39f468c5fa04b918c0b2f1cb /drivers/comedi | |
parent | a65c9afe9f2f55b7a7fb4a25ab654cd4139683a4 (diff) | |
download | linux-e7fb722586a2936b37bdff096c095c30ca06404d.tar.xz |
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>
Diffstat (limited to 'drivers/comedi')
0 files changed, 0 insertions, 0 deletions