[PATCH] erofs-utils: lib: fix `1UL << vi->u.chunkbits` on 32-bit platforms

Colin Walters walters at verbum.org
Thu Apr 10 02:51:40 AEST 2025


Patch looks sane to me.

On Wed, Apr 9, 2025, at 2:17 AM, Gao Xiang wrote:

> I think it should be fixed on the kernel side too, yet I rarely look
> after 32-bit platforms due to lack of test environments.  

It is relatively easy to run 32 bit containers on a 64bit host, that’s what the Debian CI environment that hit this is doing.

I think the bigger question here is fuzzing on 32 bit right? That likely would have caught this quickly.

I don’t know…roughly though it feels to me as long as the Linux kernel supports 32 bit we are going to keep getting pulled to do so too. Especially there’s a long tail of 32 bit ARM out there as I understand it.

>


More information about the Linux-erofs mailing list