Skip to contentSkip to conversation

erofs fixes for 7.1-rc1

GIT PULL Merged Gao Xiang 2 participants 2 messages Apr 21

lore
Share & tools
lore

Gao Xiang

author
#0 lore raw

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(-)
merge bot Merged
#1 lore raw
The pull request you sent on Wed, 22 Apr 2026 02:11:34 +0800:

The pull request you sent on Wed, 22 Apr 2026 02:11:34 +0800:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-7.1-rc1-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6fdca3c5ab55d6a74277efcae2db9828f567a06a

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html