From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) (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 CAE4533689A for ; Fri, 10 Apr 2026 09:21:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.99 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775812863; cv=none; b=G3AtSELsG3TU14kySeMu9VQVHo4B/fk2wGeW0yzOK2y8YktdU4+mnvEUNM7YiapXt2YDwew/eyORpNyz/ud3RG/x5hcgdkWTYw4DZKHJY0bL1eeyeElWeb7VdgG/P98AjaxyU+DIV3n3Jp9o+rtN7gkwCt852ooK8jO1kOtyVWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775812863; c=relaxed/simple; bh=hZnK1P3ELRMxv4wVaPB8+xYBPI7dooPF5ESOsRERxFE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Xw+X1SC7w/hH+oStmzinP3ja/wOmNWdQzyf3C1dmxZF9ZxKGjqOeI5Lj8txMJ0DAfug9R3Ca2COH2CRCNolg9BE16TkXKfj0FZruO71R6Z1o1auVxM1LjHgGLQMIsULpGG2Nnp2CSMLPnYP+8YDltGYINI/XqwawwQxyC5Hc0Z4= 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=OoHbOBmb; arc=none smtp.client-ip=115.124.30.99 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="OoHbOBmb" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1775812852; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=wnWcYguAqwjF8FcXrJmbksHV5AKeP1VA/I33KJYK2h8=; b=OoHbOBmbGFqGbfL2Fxlw4LTy8zL2m7Cxr8m3sU35Ia11N1T3Lr41j9ZSGUcHGVtR03ttviZQWobY04lSiqYmcC3O+/4nQpvqgK+qGeV8ZkDreSiXBa1Bd7e9sSpCDkafErBh9xHoT973Z7PTV0mIf3mCY1WEbUHIIgaGTP2Qlzs= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R871e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033045098064;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0X0ksjaY_1775812850; Received: from 30.221.132.105(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0X0ksjaY_1775812850 cluster:ay36) by smtp.aliyun-inc.com; Fri, 10 Apr 2026 17:20:51 +0800 Message-ID: <16ea58e8-43b7-439b-91db-9f87d2fb2b84@linux.alibaba.com> Date: Fri, 10 Apr 2026 17:20:50 +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> From: Gao Xiang In-Reply-To: <9d8a073a-982e-4c7b-9445-623941a16b05@salutedevices.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 >>