From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B7C6D3EF0A9 for ; Thu, 22 Jan 2026 09:06:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769072780; cv=none; b=ctS335I+NfiLNGcNg3e9nXH6JaxZ2qnB7GSfDo72RDp9dTZt778fKfjyLAPF1yXJynbytl3/JxGH4dutTlJZU7vARlChmIlCV09xW6UUNoyjTKxfrXl4PwcVlU4fzgJG9lyp7K4Ee1Z7rFap9WWRkq2YCZSJEGSsXActL+pQXyA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769072780; c=relaxed/simple; bh=SSlkbWXs2HBKgVgS0PNBzt2Rl9RgNm6VF2xx6qvdqMg=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=RhuWoq9Pkm2VBL7eM2SR8vCdqdo9LHglHN3YHpPcji+5l5+MU7imwzd27K1v/m7KFvOKbjiT6+opctyiz4OmyYCVu4tonnu6GS3aioNPs0ssntcA9GnqsPl59OVHyXPC/0ONCaEuItr9YqKMXp7gW3Od3RwK6Q6dbquF68xQHTQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iwfuEehE; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iwfuEehE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19936C116C6; Thu, 22 Jan 2026 09:06:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769072780; bh=SSlkbWXs2HBKgVgS0PNBzt2Rl9RgNm6VF2xx6qvdqMg=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=iwfuEehEn5/me+C5lK/pHv573lXyh8ASZz+dqf6ggc7NHG2Q61KRLzlSe3Ev+xRjJ KJNnwHzW2B2rLGK0exqGLI8d6oyF1ksNoJuskqE/GrFjRk2FccIXSvjmStE05oFtoc 5sESwl6DE0IOo73Pa8HcW7nintmqL0ueYPlpRGXWpHZimBnNPapaZFScVan+e0K6HE tDKPOA1rXOOZN2KtHQMq3DfgoWmdQwRN008IIiFNRlEesPLb8qRgolj739utEFVZUw F+zB81PwwSq6FyCOfpy8r7OyIMlqZaN+KxiSohAAO54iWvqpUIcMUsxY4lowSg+EH7 MSPhvcs5bm9HA== Message-ID: <3ade0cad-2053-42e9-b340-2eb2f6066675@kernel.org> Date: Thu, 22 Jan 2026 17:06:23 +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 Cc: chao@kernel.org, LKML Subject: Re: [PATCH 1/4] erofs: fix incorrect early exits for invalid metabox-enabled images To: Gao Xiang , linux-erofs@lists.ozlabs.org References: <20251229092949.2316075-1-hsiangkao@linux.alibaba.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20251229092949.2316075-1-hsiangkao@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 > Fixes: 414091322c63 ("erofs: implement metadata compression") > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,