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 3D0FC3264E9 for ; Tue, 21 Apr 2026 18:11:40 +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=1776795100; cv=none; b=D3DU/TemQD1VIjXd+IuvCF7ylyqX80trAvtnvl9C/DplQPK176Soe/dpw73PTMnjfbCkH3up2XWlHwY7Xxma7J8vVxwhqbCkBidcwH/jQzGHw5D/jTPppz+AtNLheTnYXlvD1Orv7GAW2f/W57PPMU6kZfMuo9SjqjnkE2ze9QI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776795100; c=relaxed/simple; bh=ujT062F7RnHQX9I4MsjE5zC7Gudi2t0iQQFOH6WXu4I=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=iHmEbZFVrzdh+YJfd0R9UqDFYSy9W+KsLI2u2BYRy2KLQ++N17nIRkEHRYbBz1OYJxIn0dhVTGCjPZ+upvBVEpjyiKesHB6nI25UwA72Rqgg54VZbjgI2L8jkiPsymNy2UUlhAzYhBUWRH1n/8Rqnu9VkoImvBEXYa6A9JC6OR4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RPOZq4WM; 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="RPOZq4WM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B03DC2BCB0; Tue, 21 Apr 2026 18:11:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776795099; bh=ujT062F7RnHQX9I4MsjE5zC7Gudi2t0iQQFOH6WXu4I=; h=Date:From:To:Cc:Subject:From; b=RPOZq4WMfCKpr0WLddDqPnlnczcJ91Ia9Pkgm5tgAE8Kb/qvrdc8abMSn/QeqbS59 3uHdz6iJ7giuk4PQNJ06ftlf8ZKIC99ZMdRycHwTK3dchohVH9sXtZoLANU4yTiYO7 FO2EHubkRurHAfuvejAW+Rjlz5F+ccb3YdhLgl4ZPpjw/NASu2hpatv2Azm0pt/5wd XQBfthHF7e3CqULt9/GM6cvai0hjrs5b4SknO7crrp1QZOVYXrmfI1Fvmm45Lsb3wI i4gZl+jGn2Ttr8OSmgwIQr0tSWAfLiatp3LiZmw2EpYglhdGISwuGGU1Nl9xGZ4N9k IkbUPYqJ6FndA== Date: Wed, 22 Apr 2026 02:11:34 +0800 From: Gao Xiang To: Linus Torvalds Cc: linux-erofs@lists.ozlabs.org, LKML , Chao Yu Subject: [GIT PULL] erofs fixes for 7.1-rc1 Message-ID: Mail-Followup-To: Linus Torvalds , linux-erofs@lists.ozlabs.org, LKML , Chao Yu Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi Linus, Could you consider these three fixes as the following updates for 7.1-rc1? They are all small random fixes, but we tend to address them right now given our priority on crafted images, for example. Thanks, Gao Xiang The following changes since commit a5242d37c83abe86df95c6941e2ace9f9055ffcb: erofs: error out obviously illegal extents in advance (2026-04-10 16:53:39 +0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-7.1-rc1-fixes for you to fetch changes up to 2d8c7edcb661812249469f4a5b62e9339118846f: erofs: unify lcn as u64 for 32-bit platforms (2026-04-21 16:56:08 +0800) ---------------------------------------------------------------- Changes since the last update: - Fix dirent nameoff handling to avoid out-of-bound reads out of crafted images - Fix two type truncation issues on 32-bit platforms ---------------------------------------------------------------- Gao Xiang (3): erofs: fix the out-of-bounds nameoff handling for trailing dirents erofs: fix offset truncation when shifting pgoff on 32-bit platforms erofs: unify lcn as u64 for 32-bit platforms fs/erofs/data.c | 2 +- fs/erofs/dir.c | 28 +++++++++++++++------------- fs/erofs/zdata.c | 2 +- fs/erofs/zmap.c | 19 +++++++++---------- 4 files changed, 26 insertions(+), 25 deletions(-)