commit | e96a1866b40570b5950cda8602c2819189c62a48 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Oct 18 12:37:41 2021 +0200 |
committer | Jan Kara <jack@suse.cz> | Tue Oct 19 12:51:02 2021 +0200 |
tree | bc072688dd9d5cf68965fb96e6f34de6c9675151 | |
parent | d0e36a62bd4c60c09acc40e06ba4831a4d0bc75b [diff] |
isofs: Fix out of bound access for corrupted isofs image 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>