Re: erofs pointer corruption and kernel crash
From: Gao Xiang
Date: Fri Apr 10 2026 - 05:21:10 EST
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?
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