[PATCH] erofs: don't trigger WARN() when decompression fails

Chao Yu chao at kernel.org
Fri Oct 29 17:35:26 AEDT 2021


On 2021/10/25 15:43, Gao Xiang wrote:
> syzbot reported a WARNING [1] due to corrupted compressed data.
> 
> As Dmitry said, "If this is not a kernel bug, then the code should
> not use WARN. WARN if for kernel bugs and is recognized as such by
> all testing systems and humans."
> 
> [1] https://lore.kernel.org/r/000000000000b3586105cf0ff45e@google.com
> Reported-by: syzbot+d8aaffc3719597e8cfb4 at syzkaller.appspotmail.com
> Cc: Dmitry Vyukov <dvyukov at google.com>
> Cc: Chao Yu <chao at kernel.org>
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Reviewed-by: Chao Yu <chao at kernel.org>

Thanks,


More information about the Linux-erofs mailing list