# CVE-2026-97605: erofs: preserve LZMA decoders on resize failure

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2026-09-25T10:22:17.233Z
- **Modified:** 2026-10-30T13:21:09.363Z

## Who should check

- Anyone running Linux \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 164cdbd7ac748c4df1a0c9b435286835668c1f33; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< db0c3465b54a16debc089b2b3bda251d26c953d0; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 604ce546e1b9f35b1f45588004f53fac6b2869c1; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 0b3c8c39e50249470f00a5f73c288b95a55ab576; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 38e9e07ac02a9453a117410776f1502a9980997e; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 617d0d8d199ba1790c94310fd75a22d01c97a8d6
- Anyone running Linux 5.16

## 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.

## Affected and fixed versions

- Linux: \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 164cdbd7ac748c4df1a0c9b435286835668c1f33; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< db0c3465b54a16debc089b2b3bda251d26c953d0; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 604ce546e1b9f35b1f45588004f53fac6b2869c1; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 0b3c8c39e50249470f00a5f73c288b95a55ab576; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 38e9e07ac02a9453a117410776f1502a9980997e; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 617d0d8d199ba1790c94310fd75a22d01c97a8d6 (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 617d0d8d199ba1790c94310fd75a22d01c97a8d6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97605. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97605.md
Affected: Linux >= 622ceaddb7649ca328832f50ba1400af778d75fa, < 164cdbd7ac748c4df1a0c9b435286835668c1f33; >= 622ceaddb7649ca328832f50ba1400af778d75fa, < db0c3465b54a16debc089b2b3bda251d26c953d0; >= 622ceaddb7649ca328832f50ba1400af778d75fa, < 604ce546e1b9f35b1f45588004f53fac6b2869c1; >= 622ceaddb7649ca328832f5…
Fixed in: Linux 164cdbd7ac748c4df1a0c9b435286835668c1f33, Linux 604ce546e1b9f35b1f45588004f53fac6b2869c1, Linux 0b3c8c39e50249470f00a5f73c288b95a55ab576, Linux 38e9e07ac02a9453a117410776f1502a9980997e, Linux 617d0d8d199ba1790c94310fd75a22d01c97a8d6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97605 being exploited?

There is no confirmed exploitation: CVE-2026-97605 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-97605?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97605?

Linux \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 164cdbd7ac748c4df1a0c9b435286835668c1f33; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< db0c3465b54a16debc089b2b3bda251d26c953d0; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 604ce546e1b9f35b1f45588004f53fac6b2869c1; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 0b3c8c39e50249470f00a5f73c288b95a55ab576; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 38e9e07ac02a9453a117410776f1502a9980997e; \>= 622ceaddb7649ca328832f50ba1400af778d75fa, \< 617d0d8d199ba1790c94310fd75a22d01c97a8d6; Linux 5.16.

### Is there a fix for CVE-2026-97605?

Yes. Fixed in Linux 164cdbd7ac748c4df1a0c9b435286835668c1f33, Linux 604ce546e1b9f35b1f45588004f53fac6b2869c1, Linux 0b3c8c39e50249470f00a5f73c288b95a55ab576, Linux 38e9e07ac02a9453a117410776f1502a9980997e, Linux 617d0d8d199ba1790c94310fd75a22d01c97a8d6. Upgrade Linux to 617d0d8d199ba1790c94310fd75a22d01c97a8d6 or later.

### How do I check if I'm affected by CVE-2026-97605?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/164cdbd7ac748c4df1a0c9b435286835668c1f33>
- other: <https://git.kernel.org/stable/c/db0c3465b54a16debc089b2b3bda251d26c953d0>
- other: <https://git.kernel.org/stable/c/604ce546e1b9f35b1f45588004f53fac6b2869c1>
- other: <https://git.kernel.org/stable/c/0b3c8c39e50249470f00a5f73c288b95a55ab576>
- other: <https://git.kernel.org/stable/c/38e9e07ac02a9453a117410776f1502a9980997e>
- other: <https://git.kernel.org/stable/c/617d0d8d199ba1790c94310fd75a22d01c97a8d6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97605>

HTML: <https://flawdb.com/CVE-2026-97605> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97605>
