linux/fs/erofs
Gao Xiang a0961f351d erofs: don't trigger WARN() when decompression fails
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

Link: https://lore.kernel.org/r/20211025074311.130395-1-hsiangkao@linux.alibaba.com
Cc: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Reported-by: syzbot+d8aaffc3719597e8cfb4@syzkaller.appspotmail.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
2021-10-31 21:00:28 +08:00
..
compress.h erofs: get rid of ->lru usage 2021-10-25 08:22:59 +08:00
data.c erofs: add multiple device support 2021-10-18 00:13:30 +08:00
decompressor_lzma.c erofs: get rid of ->lru usage 2021-10-25 08:22:59 +08:00
decompressor.c erofs: don't trigger WARN() when decompression fails 2021-10-31 21:00:28 +08:00
dir.c erofs: clean up file headers & footers 2021-06-08 00:41:24 +08:00
erofs_fs.h erofs: lzma compression support 2021-10-19 23:44:30 +08:00
inode.c erofs: decouple basic mount options from fs_context 2021-10-17 23:57:15 +08:00
internal.h erofs: get rid of ->lru usage 2021-10-25 08:22:59 +08:00
Kconfig erofs: lzma compression support 2021-10-19 23:44:30 +08:00
Makefile erofs: lzma compression support 2021-10-19 23:44:30 +08:00
namei.c erofs: add fiemap support with iomap 2021-08-19 00:13:43 +08:00
pcpubuf.c erofs: get rid of ->lru usage 2021-10-25 08:22:59 +08:00
super.c erofs: lzma compression support 2021-10-19 23:44:30 +08:00
tagptr.h erofs: clean up file headers & footers 2021-06-08 00:41:24 +08:00
utils.c erofs: get rid of ->lru usage 2021-10-25 08:22:59 +08:00
xattr.c erofs: decouple basic mount options from fs_context 2021-10-17 23:57:15 +08:00
xattr.h vfs: add rcu argument to ->get_acl() callback 2021-08-18 22:08:24 +02:00
zdata.c erofs: get rid of ->lru usage 2021-10-25 08:22:59 +08:00
zdata.h erofs: lzma compression support 2021-10-19 23:44:30 +08:00
zmap.c erofs: lzma compression support 2021-10-19 23:44:30 +08:00
zpvec.h erofs: clean up file headers & footers 2021-06-08 00:41:24 +08:00