[GIT PULL] erofs fixes for 7.1-rc7

From: Gao Xiang

Date: Thu Jun 04 2026 - 20:47:42 EST


Hi Linus,

Could you consider these two small fixes for 7.1-rc7?

One fixes a regression introduced in this development
cycle that affects multiple-algorithm filesystems.

The other fixes a narrow race (but found by syzbot
these days) between compressed I/O completion and
unmount.

Thanks,
Gao Xiang

The following changes since commit e7ae89a0c97ce2b68b0983cd01eda67cf373517d:

Linux 7.1-rc5 (2026-05-24 13:48:06 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 27f2d085bd72abe4235689d34d8654cfc876d568:

erofs: fix EFSCORRUPTED on multi-algorithm images in z_erofs_map_sanity_check() (2026-06-02 01:52:58 +0800)

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

- Fix a UAF of sbi->sync_decompress when compressed I/Os
race with unmount

- Fix a regression introduced this development cycle that
incorrectly rejects multiple-algorithm images

----------------------------------------------------------------
Gao Xiang (1):
erofs: fix use-after-free on sbi->sync_decompress

Zhan Xusheng (1):
erofs: fix EFSCORRUPTED on multi-algorithm images in z_erofs_map_sanity_check()

fs/erofs/zdata.c | 6 +++---
fs/erofs/zmap.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)