Urgent.News

What's breaking now, across thousands of outlets.

Tech

EROFS Disables LZ4 Rolling Decompression Due To Data Corruption Possibility

The EROFS read-only file-system popular for embedded systems, containers, and other use-cases has resorted to temporarily disabling its LZ4 rolling decompression support due to data corruption concerns...

AWS engineers have discovered a potential issue with LZ4 rolling decompression, which could lead to corrupted data in specific datasets. The root cause appears to be uncontrolled backward memory copies within the current LZ4 implementation, which breaks the assumptions of the rolling decompression optimization. Since the kernel LZ4 codebase is not under their control and requires more time to address, AWS recommends disabling LZ4 rolling decompression temporarily to ensure data correctness in real production environments.

LZ4 rolling decompression was introduced to reduce memory usage, but it works by referring to the most recent 64 KiB of decompressed data, requiring a bounded rolling window of temporary pages. This optimization may need to be re-evaluated once the official LZ4 code ensures forward memory copies for non-overlapping ranges or when EROFS maintains its own LZ4 implementation.

Written by urgent.news from Phoronix's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at phoronix.com →

More in Tech

I rebuilt my failed chat app from scratch, here's what changed (GrowsChat)

Hey dev.to! I'm Behan, a solo full-stack developer. I built a random chat platform before this one. It failed, mostly because of media hosting costs and no real rate limiting, the classic "it looked…

  • Behan rebuilt GrowsChat from scratch after original app's failure
  • Platform eliminates high media costs and adds safety checks
  • Launch on Product Hunt September 16th seeking feedback

Building the LBH Protocol from Android/Termux: A Sovereign Edge Architecture

By Cristhiam Leonardo Hernández Quiñonez (CLHQ) Founder – HormigasAIS | Sovereign edge computing ecosystem – San Miguel, El Salvador github.com/Thrumanshow/HormigasAIS 1. The Problem: Depending on the Cloud to Validate What's Real Most content-verification and edge-computing stacks today assume a baseline dependency: a cloud provider, a…

  • LBH Protocol aims to create sovereign edge computing architecture
  • Uses node-based architecture with LBH cryptographic sealing, barrera.js, and humano.js
  • Entire development process can be executed from Android device running Termux

More from Sunday 13 September →