From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA79137C0F2 for ; Fri, 10 Apr 2026 10:06:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.98 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775815571; cv=none; b=dr1ZgCQ8RQ5q7dzT8aeT5UqgU0LdlVgilLrDqB32leLeo0JCVy2VeXQ9LK73nHjwKnQ2Jwm/gvCusBtDTv4w0dpmdcgM7dJRwPb9DeSXTEl4ss9/jZfNvOwLpR1TcJa8YlPVQa4gxZoXvq4jm+ThuBL2GnUAicKYVlk8Jg2LXeo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775815571; c=relaxed/simple; bh=nik73LrhyfMApVdmIAF4jzJhitvsY98cdlSmDRcvxbs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uo+93oHEV9ZId/+/g/m5P4YcSqFRQ/4q9l9Ki0f1HWGb0Y4YR4N+VYiNWGj+Srq8W3RHYPs/6jjzDbtrc3Myr6S4NTUFPxg7GH3eL/4rjhgQbeklqBK3xTgAscrsUCnWePHEsQOMkEdPKGBSdGVU/YPcO1PI1MxtjTQUsauwx+s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=f+RHJbaS; arc=none smtp.client-ip=115.124.30.98 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="f+RHJbaS" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1775815567; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=AeAHf9/ou6cD3bpJp5OYIP7QdLqeK8HJO0Wre2/s2bE=; b=f+RHJbaSH44fi6rd0hNLODkXeG+Fmd+uVcq/iK/l33KmgyBAvKWCJQvC8nyboOmuacqF20sw5BAEQ3u3/ox+D/e9hPh7mIiEsP+aOpXmp98eUKPFuDD9rXpIfrRsZ938GhzI4NEm+cABB+hL9wuOcMa0FmIkhFnzEYpFaiFVoY8= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R651e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037026112;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0X0kw22-_1775815565; Received: from 30.221.132.105(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0X0kw22-_1775815565 cluster:ay36) by smtp.aliyun-inc.com; Fri, 10 Apr 2026 18:06:06 +0800 Message-ID: Date: Fri, 10 Apr 2026 18:06:05 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: erofs pointer corruption and kernel crash To: Arseniy Krasnov Cc: oxffffaa@gmail.com, linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org, kernel@salutedevices.com, Gao Xiang , Chao Yu , Yue Hu , Jeffle Xu , Sandeep Dhavale , Hongbo Li , Sheng Yong References: <4a2f3801-fac1-42fe-ae75-da315822e088@salutedevices.com> <9d8a073a-982e-4c7b-9445-623941a16b05@salutedevices.com> <16ea58e8-43b7-439b-91db-9f87d2fb2b84@linux.alibaba.com> From: Gao Xiang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2026/4/10 18:03, Arseniy Krasnov wrote: > > > 10.04.2026 13:01, Gao Xiang пишет: >> >> >> On 2026/4/10 17:59, Arseniy Krasnov wrote: >>> >>> >>> 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 >> >> 1.8.5 shouldn't have `-E48bit` support, that is my question. > > You mean to try to reproduce with 1.9 utils ? Nope, I meant BR2_TARGET_ROOTFS_EROFS_COMPRESSION_ALGORITHMS="zstd,22 --max-extent-bytes 65536 -E48bit" is invalid in erofs-utils 1.8.5. If you were using erofs-utils 1.9+, that may be due to the new `-E48bit`; but you said you are using erofs-utils 1.8.5, that makes me feel confused. Thanks, Gao Xiang