commit | 5e0068a4fb107af27230441c1e38b8dee1bfdc9d | [log] [tgz] |
---|---|---|
author | Gao Xiang <hsiangkao@redhat.com> | Wed Jan 20 09:30:16 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Mar 07 12:34:05 2021 +0100 |
tree | a04b7aa6c09d49465b127614635cbdaea5bde483 | |
parent | 1aeaa0ea7df5dc03a8dc6b4bfd8ea13ce5c85f66 [diff] |
erofs: fix shift-out-of-bounds of blkszbits commit bde545295b710bdd13a0fcd4b9fddd2383eeeb3a upstream. syzbot generated a crafted bitszbits which can be shifted out-of-bounds[1]. So directly print unsupported blkszbits instead of blksize. [1] https://lore.kernel.org/r/000000000000c72ddd05b9444d2f@google.com Link: https://lore.kernel.org/r/20210120013016.14071-1-hsiangkao@aol.com Reported-by: syzbot+c68f467cd7c45860e8d4@syzkaller.appspotmail.com Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Gao Xiang <hsiangkao@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>