From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) (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 356F73382E8 for ; Thu, 22 Jan 2026 09:17:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.113 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769073478; cv=none; b=k1XfM4z/aIm3mFZ8UWqNAuDGSSPw/JkjycnUPI7V0Ut82eRMvw7Ikl0JRglPZZCn5RB0RBCzujiNecqz4vnN7fgBXjWViIExWl8rgPJxiiwgQr7nPfaU+zOzgAK2apNVZjqakn8LbnVi44MfaP3uKiSmfabzXEISDypyxRN0to0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769073478; c=relaxed/simple; bh=Rrb1SYNJKf4BgvpWb799iygoaNoaZJA9purXbnmo1vc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZRKVfU/x9voMKhF07r4c44GiFE3zBfwIZXt9FJVqod6zPfKCYeoz4YWdJy3o+eVLIXsDJAmGOLUuub3BohBfwWLJUDlBE8VvHBEv8WvlSkTPPjsaqA52IddBBPosm7Lefqn7XvcVS2CWoRWiKkCy6sHMnD86anE5Jbe4db0CMK4= 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=kKnybVQB; arc=none smtp.client-ip=115.124.30.113 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="kKnybVQB" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1769073465; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=dVzhAVVW8h6proDBcB6B+2wgIKO8epu78jjLFXmf1Rk=; b=kKnybVQB1vmPtpoEGFAgBKubxPQrcgI8x/cYuQVKNgr2UsAsqIBDfOD9E3JSMldOvwcsf4vs6P/OeOLiefEiXYWMMMTkLD+HU5uR9efbwWSkRXyC5lFEtkJTBYkcF/jacGQMlaYkv2fslSjx0WMqheT5HCoDD+SggDYLR8PkIDE= Received: from 30.221.131.199(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0WxboPyl_1769073464 cluster:ay36) by smtp.aliyun-inc.com; Thu, 22 Jan 2026 17:17:45 +0800 Message-ID: <35fbeb9d-efb2-4f8f-9d71-53038bca289e@linux.alibaba.com> Date: Thu, 22 Jan 2026 17:17:44 +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: [PATCH 1/4] erofs: fix incorrect early exits for invalid metabox-enabled images To: Chao Yu , linux-erofs@lists.ozlabs.org Cc: LKML References: <20251229092949.2316075-1-hsiangkao@linux.alibaba.com> <3ade0cad-2053-42e9-b340-2eb2f6066675@kernel.org> From: Gao Xiang In-Reply-To: <3ade0cad-2053-42e9-b340-2eb2f6066675@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2026/1/22 17:06, Chao Yu wrote: > On 12/29/2025 5:29 PM, Gao Xiang wrote: >> Crafted EROFS images with metadata compression enabled can trigger >> incorrect early returns, leading to folio reference leaks. >> >> However, this does not cause system crashes or other severe issues. >> > > Will be better to add: > > Cc: stable@kernel.org Hi Chao, will add later, I current have some environment issue. Thanks, Gao Xiang > >> Fixes: 414091322c63 ("erofs: implement metadata compression") >> Signed-off-by: Gao Xiang > > Reviewed-by: Chao Yu > > Thanks,