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 18FC823EAA4 for ; Thu, 22 Jan 2026 09:07:23 +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=1769072844; cv=none; b=FB2WxUE3AXyNzP0PzhP+2+n56e7aYNcid3nU9yT86reEkvPu1TBgTqG5EbOuOquSXK/Y+JcHdQvJrUYW5Nbc4M6DxKOJpbeUIfxkSvabaIuWu8aAlU7AmOOSX+mbH9aqVCt25ZUz6PqZ+U87jJuvJjS6usoq6FUV6j1MWsmg+hI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769072844; c=relaxed/simple; bh=u3ok0sg5/nL6TiH6Pus4jQHK3tl7flif93KDA6HbCyA=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=kWiPsL0VOCe0C//QQqUbePhV1brlP2oHP0hi+opzbfDB9hYCwPzJbeqcPD2czm8Nmqc+ULkeD7jvm3TpBoPA5W9qT0xkod046BU8G59MFfhfjgmESaQ2rhoIx7HqpNT2md4vcQu5cdeVxgt2e7ORhjFOj53jAFSA1pKXIiWjZ8I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P4CvsgZv; 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="P4CvsgZv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EB7AC116C6; Thu, 22 Jan 2026 09:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769072843; bh=u3ok0sg5/nL6TiH6Pus4jQHK3tl7flif93KDA6HbCyA=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=P4CvsgZvpN8W4Rtyk1A+AcSJOG6wWSVw6Y5EBR1DNQ+Pkh8Ps1+l4BjZBRB0C/nck CKJYIkcf2DsGq3AzgL229eoFHCIK8eYKNgF+xSBshC8B69Ga4Y/PhMpUB+gztg4jU9 J0LSIwuqh0sl7EHTJml710IDcfbnPr8WIJMXh4Rum54+QXhSwZ3KgT/ObvTithOrJ7 GF7gxtTxAioU+51dqc9hpx9sbz7A3YdCxux16K2Tw6kh/XpdYehBdZ1D9i3l0WixQh LetqaKuq5qmbRUmIA7p6CQBt7FRiu8y+BPx9MM355hARN8AcAo/Pzc2aFCHsYsdgQN ymzI8ZBw6uRmQ== Message-ID: <1af5d4ed-7c3c-4330-90d4-a7a07c93d400@kernel.org> Date: Thu, 22 Jan 2026 17:07:27 +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 2/4] erofs: fix incorrect early exits in volume label handling To: Gao Xiang , linux-erofs@lists.ozlabs.org References: <20251229092949.2316075-1-hsiangkao@linux.alibaba.com> <20251229092949.2316075-2-hsiangkao@linux.alibaba.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20251229092949.2316075-2-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 containing valid volume labels 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: 1cf12c717741 ("erofs: Add support for FS_IOC_GETFSLABEL") > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,