CVE-2026-97605
Received Received - Intake

Memory Corruption in Linux Kernel EROFS

Vulnerability report for CVE-2026-97605, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a flaw in the erofs filesystem's LZMA decompression handling. When resizing the decoder pool, the system frees old decoders before allocating new ones. If allocation fails mid-process, some streams end up with a NULL state decoder, leading to potential corruption. The global maximum dictionary size is incorrectly advanced, leaving the system in an invalid state.

Detection Guidance

This vulnerability is specific to the Linux kernel's EROFS filesystem with LZMA compression. Detection requires checking kernel logs for EROFS-related errors during mount operations or resize attempts. No direct network detection commands are applicable.

Impact Analysis

This vulnerability could cause filesystem corruption or crashes when mounting or accessing erofs filesystems with LZMA compression. It may lead to data loss or system instability if exploited, particularly during filesystem operations involving decompression.

Mitigation Strategies

Upgrade to a patched Linux kernel version that includes the fix for this EROFS LZMA decoder issue. Avoid using EROFS with LZMA compression until patched. Monitor kernel logs for EROFS errors after applying updates.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97605. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart