Messages in this thread | | | Date | Tue, 8 Nov 2022 11:06:24 +0800 | Subject | Re: [PATCH v2] erofs: fix general protection fault when reading fragment | From | Chao Yu <> |
| |
On 2022/10/21 16:53, Yue Hu wrote: > From: Yue Hu <huyue2@coolpad.com> > > As syzbot reported [1], the fragment feature sb flag is not set, so > packed_inode != NULL needs to be checked in z_erofs_read_fragment(). > > [1] https://lore.kernel.org/all/0000000000002e7a8905eb841ddd@google.com/ > > Reported-by: syzbot+3faecbfd845a895c04cb@syzkaller.appspotmail.com > Fixes: 08a0c9ef3e7e ("erofs: support on-disk compressed fragments data") > Signed-off-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Thanks,
| |