Skip to contentSkip to conversation

erofs fixes for 7.1-rc7

GIT PULL Merged Gao Xiang 2 participants 2 messages Jun 5

lore
Share & tools
lore

Gao Xiang

author
#0 lore raw

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(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 5 Jun 2026 08:47:01 +0800:

The pull request you sent on Fri, 5 Jun 2026 08:47:01 +0800:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/2b389a573b76f4e3e1e17654eeaced3eb48c2972

Thank you!

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