Re: [PATCH v3] erofs: fix inconsistent per-file compression format

2024-01-13 Thread Yue Hu
On Sat, 13 Jan 2024 23:06:02 +0800 Gao Xiang wrote: > EROFS can select compression algorithms on a per-file basis, and each > per-file compression algorithm needs to be marked in the on-disk > superblock for initialization. > > However, syzkaller can generate inconsistent crafted images that

[PATCH v3] erofs: fix inconsistent per-file compression format

2024-01-13 Thread Gao Xiang
EROFS can select compression algorithms on a per-file basis, and each per-file compression algorithm needs to be marked in the on-disk superblock for initialization. However, syzkaller can generate inconsistent crafted images that use an unsupported algorithmtype for specific inodes, e.g. use