[GIT PULL] erofs fixes for 7.3-rc3

From: Gao Xiang

Date: Sat Sep 12 2026 - 08:55:45 EST


Hi Linus,

Could you consider these fixes for 7.3-rc3?

The most impacted one is to disable LZ4 rolling decompression for now:
AWS folks recently found their systems could get corrupted data with
some rare, specific LZ4 datasets, and after a deeper analysis, I found
the root cause is that there could be uncontrolled backward memory
copies in the current LZ4 implementation and it breaks the assumption
of the rolling decompression optimization, since the kernel LZ4 codebase
is out of our control and it needs more time to plan how to do next, so
disable LZ4 rolling decompression for now to ensure data correctness for
real production on these rare cases first. The technical details also
see the corresponding commit.

Other changes are random minor fixes. All commits have been in -next
and no potential merge conflict is observed.

Thanks,
Gao Xiang

The following changes since commit cee9395acd8043be0644b25c34bfa86623f2b935:

Linux 7.3-rc1 (2026-08-30 13:34:40 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 135d84c66f85426299db01a09d93a79a87af18ba:

erofs: add missing buf->off in erofs_bread() (2026-09-11 12:16:20 +0800)

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

- Fix the missing sysfs feature entry for xattr prefixes

- Fix invalid LZMA decoders on resize failure

- Disable LZ4 rolling decompression for now due to the uncontrolled
LZ4 implementation

- Rearrange the inode_share cache key to avoid potential collisions

- Fix erofs_bread() when fsoffset is used on sub-page-block EROFS
filesystems

----------------------------------------------------------------
Binglei Wang (1):
erofs: add missing buf->off in erofs_bread()

Chengyu Zhu (1):
erofs: delimit inode_share cache key components

Gao Xiang (1):
erofs: disable LZ4 rolling decompression for now

Jingbo Xu (1):
erofs: add sysfs feature entry for xattr prefixes

Nikhil Gurudasani (1):
erofs: preserve LZMA decoders on resize failure

Documentation/ABI/testing/sysfs-fs-erofs | 2 +-
fs/erofs/data.c | 2 +-
fs/erofs/decompressor.c | 55 +++++++-------------------------
fs/erofs/decompressor_lzma.c | 18 ++++++++---
fs/erofs/internal.h | 6 +---
fs/erofs/sysfs.c | 2 ++
fs/erofs/xattr.c | 9 +++---
fs/erofs/zdata.c | 18 ++---------
8 files changed, 39 insertions(+), 73 deletions(-)