erofs pointer corruption and kernel crash

Arseniy Krasnov avkrasnov at salutedevices.com
Fri Apr 10 19:59:36 AEST 2026



10.04.2026 12:20, Gao Xiang wrote:
> 
> 
> On 2026/4/10 16:55, Arseniy Krasnov wrote:
>>
>>
> 
> ...
> 
>>>>
>>>> BR2_TARGET_ROOTFS_EROFS=y
>>>> BR2_TARGET_ROOTFS_EROFS_CUSTOM_COMPRESSION=y
>>>> BR2_TARGET_ROOTFS_EROFS_COMPRESSION_ALGORITHMS="zstd,22 --max-extent-bytes 65536 -E48bit"
> 
> btw, may I ask what's the erofs-utils version?
> erofs-utils 1.9?

We have 1.8.5 erofs-utils

> 
> I guess it's related to a relatively new experimental
> feature (-E48bit + encoded extents + zstd) introduced in v6.15.
> 
> If you don't use this new feature, the issue may not be
> reproduced anymore.
> 
> Thanks,
> Gao Xiang
> 
> 
>>>> BR2_TARGET_ROOTFS_EROFS_FRAGMENTS=y
>>>> BR2_TARGET_ROOTFS_EROFS_PCLUSTERSIZE=65536
>>>>
>>>>
>>>>
>>>> May be You know how to fix it or some ideas? Because we are new at erofs and need to discover and
>>>> learn its source code.
>>>>
>>>> Thanks
>>>
> 



More information about the Linux-erofs mailing list