From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx5.sberdevices.ru (mx5.sberdevices.ru [95.181.183.35]) (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 930A33A3E66 for ; Fri, 10 Apr 2026 09:59:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.181.183.35 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775815184; cv=none; b=fMhRxqvfHZRg1oU5D6uHGHPmthbqCZ6wROw7UvcJbYki5oqBEYRvRy11PkMU7yC9NLI/ydhZMYk3/2n01RPp8UzbcleK72x0COa0tRlQm8qsnwEwDnvoJamqk/FsdSLi1yLR1oJJyXvxQgf+C84LM33Y2/bj2VwzFcL9CURvqR4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775815184; c=relaxed/simple; bh=7SFU3cOw4Xhr48m7kT8gDqr8ZPmWK20IV0t1f4FVy0s=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=W4f+tZzRvfc+YcqtuB/e6xImvrNSifK5JfLEFh8yHeYTqvPHhiXE1MSbrMd4RgRAkh6Hqu/jh4JUret5BEf/K/lXNffmxRjrhyegO4deH7Qj1Tftlrc1FITcwXe99w9Y62a7DRin8YqpRk8RArHeHlyzLEkwt/RKnNgwyDA//cE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com; spf=pass smtp.mailfrom=salutedevices.com; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b=d5HbE3+h; arc=none smtp.client-ip=95.181.183.35 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="d5HbE3+h" Received: from p-antispam-ksmg-gc-msk01.sberdevices.ru (localhost [127.0.0.1]) by mx5.sberdevices.ru (Postfix) with ESMTP id 172AB240005; Fri, 10 Apr 2026 12:59:38 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx5.sberdevices.ru 172AB240005 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=post; t=1775815178; bh=BtIe4IBWmj/P7r6crAbsh8CsZp4kJz/jWqbVA9Nmhtw=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type:From; b=d5HbE3+hgFLg7giJPVrevRLO0lnj+7cvwHQlFY96vQVsqdJBCKEsQONwtJ0PUh1xR 7e8dgCfp2qE5O2247sf+5LAf4F1VT4hTl9CLSV/eqycTCzcKhZRt4N0wwzy1U3ZS/B aA8mGnTk27iWTcmn0peiE6OSxn2tK2qNNHrM0VnyqKC3Y7mu7TPhkb6EX+i4rt+4Ou gblPIwC56J1ZvZjG0kAGJp7pyil2Qnx3I3ZgRNNgP9gz/W21cau0GXO/+MeO/MlV+b n6UAdPjYenLua8teYC4m3KP9YRZdA2pTBGwYkV3zbpNg89i3EJxqK5N4sSF8eex9gE V+Mfr9oT3iOCA== Received: from smtp.sberdevices.ru (p-exch-cas-a-m1.sberdevices.ru [172.24.201.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "sberdevices.ru", Issuer "R12" (not verified)) by mx5.sberdevices.ru (Postfix) with ESMTPS; Fri, 10 Apr 2026 12:59:37 +0300 (MSK) Message-ID: Date: Fri, 10 Apr 2026 12:59:36 +0300 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 Content-Language: ru To: Gao Xiang CC: , , , , 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: Arseniy Krasnov In-Reply-To: <16ea58e8-43b7-439b-91db-9f87d2fb2b84@linux.alibaba.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: p-exch-cas-a-m2.sberdevices.ru (172.24.201.210) To p-exch-cas-a-m1.sberdevices.ru (172.24.201.216) X-KSMG-AntiPhishing: NotDetected X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Envelope-From: avkrasnov@salutedevices.com X-KSMG-AntiSpam-Info: LuaCore: 98 0.3.98 ca9d2f3beca9ca2a85e178af9d8e97d5fa2c38a3, {Tracking_arrow_text}, {Tracking_from_domain_doesnt_match_to}, 127.0.0.199:7.1.2;salutedevices.com:7.1.1;smtp.sberdevices.ru:7.1.1,5.0.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1, FromAlignment: s X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiSpam-Lua-Profiles: 202167 [Apr 10 2026] X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Version: 6.1.1.22 X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.1.1.8310, bases: 2026/04/09 21:06:00 #28382314 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-KATA-Status: Not Scanned X-KSMG-LinksScanning: NotDetected X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 5 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 >>> >