🔍 CVE-2026-97605

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

🇰🇷 한글 설명

Linux 커널의 erofs 파일 시스템에서 풀 크기 조정 실패 시 LZMA 디코더 상태가 비정상적으로 관리되는 취약점입니다. 할당 실패 시 일부 스트림이 NULL 상태로 남게 되어, 이후 재시도 시에도 잘못된 상태가 유지될 수 있습니다.

💡 쉬운 설명

파일 시스템의 용량을 조절하는 과정에서 오류가 발생하면, 데이터를 읽어주는 도구가 고장 난 상태로 방치될 수 있습니다. 이로 인해 나중에 다시 시도해도 정상적으로 작동하지 않을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: erofs: preserve LZMA decoders on resize failure The pool-resize path frees each stream's old decoder before allocating its replacement. If an allocation fails after some streams have already been replaced, the failed stream is put back on the list with state == NULL. z_erofs_lzma_max_dictsize is still advanced as if the whole pool had been resized. An existing LZMA mount can select the broken stream and pass NULL to xz_dec_microlzma_reset(). A retry at the same size also skip another resize attempt. Since the global maximum was advanced, thus, the invalid state is left unrepaired. Allocate each replacement before freeing the old decoder, temporarily retaining one old decoder during allocation. Stop at the first failure and advance z_erofs_lzma_max_dictsize only after all streams satisfy the request. Record each stream's dictionary capacity so retries can skip streams already enlarged before a partial failure.

📍 영향받는 시스템

LZMA 디코더를 사용하는 Linux 커널의 erofs 파일 시스템

⚔️ 공격 벡터

조작된 erofs 이미지 마운트를 통한 메모리 할당 실패 유도 및 커널 상태 오염

🛡️ 대응 방법

LZMA 디코더 할당 로직이 수정된 최신 버전의 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 릴리스 버전인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel