commit | 9ec33a9b8790c212cc926a88c5e2105f97f3f57e | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Oct 18 12:37:41 2021 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Nov 12 13:18:02 2021 +0100 |
tree | baf8b6c62fdfe28bb3aab162bda0be2741cfc2b4 | |
parent | 7dca9fa41c185e2e43f6dbc211d366d3a77341d8 [diff] |
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>