[GIT PULL] erofs fixes for 6.18-rc3

From: Gao Xiang

Date: Wed Oct 22 2025 - 10:26:39 EST


Hi Linus,

Could you consider those fixes for 6.18-rc3?

Just three small fixes to address fuzzed images in relatively new
features, as reported by Robert.

Thanks,
Gao Xiang

The following changes since commit 3a8660878839faadb4f1a6dd72c3179c1df56787:

Linux 6.18-rc1 (2025-10-12 13:42:36 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.18-rc3-fixes

for you to fetch changes up to 2a13fc417f493e28bdd368785320dd4c2b3d732e:

erofs: consolidate z_erofs_extent_lookback() (2025-10-22 07:54:31 +0800)

----------------------------------------------------------------
Changes since last update:

- Hardening against fuzzed encoded extents

- Fix infinite loops due to crafted subpage compact indexes

- Improve z_erofs_extent_lookback()

----------------------------------------------------------------
Gao Xiang (3):
erofs: fix crafted invalid cases for encoded extents
erofs: avoid infinite loops due to corrupted subpage compact indexes
erofs: consolidate z_erofs_extent_lookback()

fs/erofs/zmap.c | 59 +++++++++++++++++++++++++++++----------------------------
1 file changed, 30 insertions(+), 29 deletions(-)