🔍 CVE-2026-98067

0.0
CVSS Score
UNKNOWN
2026-09-25
2026-10-21 13:21
✅ 완료

🇰🇷 한글 설명

Linux 커널의 EROFS 파일 시스템에서 LZ4 롤링 압축 해제 기능이 데이터 무결성을 보장하지 못하는 결함이 발견되어 비활성화되었습니다. LZ4 구현 방식의 문제로 인해 압축 해제 시 데이터가 올바르게 복구되지 않을 위험이 있어, 데이터 정확성을 위해 해당 최적화 기능을 일시적으로 중단한 조치입니다.

💡 쉬운 설명

파일을 압축 해제할 때 메모리를 아끼려고 쓰던 기술이 데이터 내용을 잘못 읽어올 수 있는 오류를 일으킬 수 있습니다. 그래서 데이터가 깨지는 것을 막기 위해 메모리를 조금 더 쓰더라도 안전한 방식으로 변경했습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: erofs: disable LZ4 rolling decompression for now LZ4 rolling decompression [1] was introduced to reduce the memory footprint of temporary pages: For many cases, it is needed for users to read small data within a compressed extent (pcluster), either due to random small read, or since uptodate folios (typically order-0) cannot be reused for decompression again since decompression algorithm refills already-uptodate folios. Rolling decompression works because LZ4 is LZ77-based and only refers to the most recent 64 KiB of decompressed data, so in theory only a bounded rolling window of temporary pages is needed when decompressing. It can save a lot of temporary memory, e.g. 601,960-byte data can be compressed into a 256k LZ4 compressed extent, which means it needs 146 extra pages per request in the worst case if rolling decompression is disabled. However, the upstream LZ4 implementation is not under EROFS' control: For example, the literal copy memmove() may still **copy long literals backward** on x86 based on the address comparison even when the source and destination ranges do not overlap (IOWs, inline decompression doesn't need to be considered here). That breaks the rolling assumption and makes the optimization broken. Disable it for now to make sure the data correctness first since EROFS is used everywhere now: The rolling window approach can be revived once we either ensure that the official LZ4 code always copies forward for non-overlapping ranges or maintain our own LZ4 implementation in EROFS. The main impact is a higher runtime memory footprint; However, recent commit 0f6273ab4637 ("erofs: add a reserved buffer pool for lz4 decompression") helps mitigate this when enabled but it's still not perfect. [1] https://www.usenix.org/conference/atc19/presentation/gao § 3.3 Decompression

📍 영향받는 시스템

LZ4 롤링 압축 해제 기능이 활성화된 Linux 커널 기반 시스템 (EROFS 사용 환경)

⚔️ 공격 벡터

직접적인 공격보다는 압축된 파일의 잘못된 압축 해제로 인한 데이터 손상 또는 시스템 오류 유발 가능성

🛡️ 대응 방법

최신 커널 패치가 적용된 버전으로 업데이트하여 LZ4 롤링 압축 해제 기능이 비활성화된 상태를 유지하십시오.

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel