[PATCH] erofs: fix shift-out-of-bounds of blkszbits
Chao Yu
chao at kernel.org
Thu Feb 11 12:15:44 AEDT 2021
On 2021/1/20 9:30, Gao Xiang via Linux-erofs wrote:
> From: Gao Xiang <hsiangkao at redhat.com>
>
> 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
> Reported-by: syzbot+c68f467cd7c45860e8d4 at syzkaller.appspotmail.com
> Signed-off-by: Gao Xiang <hsiangkao at redhat.com>
Sorry, I missed this patch.
Reviewed-by: Chao Yu <yuchao0 at huawei.com>
Thanks,
More information about the Linux-erofs
mailing list