Linux 7.3-rc3 Disables EROFS LZ4 Optimization Over Data-Corruption Risk
Patch & Detection Intelligence · 2 sources · Updated 2mo ago · First seen Sep 13, 2026

Linux 7.3-rc3 disables EROFS LZ4 rolling decompression after AWS personnel identified rare LZ4 inputs that could corrupt data. The upstream LZ4 implementation can perform uncontrolled backward memory copies, violating EROFS's assumption that non-overlapping ranges are copied forward. The temporary mitigation favors correctness but can add substantial decompression memory use—up to 146 pages per request in a cited workload—partially offset by a reserved decompression-buffer pool.
The release candidate also contains SMB client hardening, including fixes for a potential heap overflow in DACL rewriting, oversized-DACL rejection, and malformed read-response validation, along with a Landlock use-after-free fix. EROFS rolling decompression may return if upstream LZ4 provides the required copy-direction guarantees or EROFS adopts a maintained local implementation.


