[PATCH v2] erofs: ensure regular inodes for file-backed mounts
Chao Yu
chao at kernel.org
Fri Oct 11 14:10:26 AEDT 2024
On 2024/9/17 21:08, Gao Xiang wrote:
> Only regular inodes are allowed for file-backed mounts, not directories
> (as seen in the original syzbot case) or special inodes.
>
> Also ensure that .read_folio() is implemented on the underlying fs
> for the primary device.
>
> Fixes: fb176750266a ("erofs: add file-backed mount support")
> Reported-by: syzbot+001306cd9c92ce0df23f at syzkaller.appspotmail.com
> Closes: https://lore.kernel.org/r/00000000000011bdde0622498ee3@google.com
> Tested-by: syzbot+001306cd9c92ce0df23f at syzkaller.appspotmail.com
> 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