CVE-2026-97605

erofs: preserve LZMA decoders on resize failure

No CVSS score yet EPSS 0.22%

Published 25 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-97605

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97605 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.87% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 622ceaddb7649ca328832f50ba1400af778d75fa, before 164cdbd7ac748c4df1a0c9b435286835668c1f33
affected from 622ceaddb7649ca328832f50ba1400af778d75fa, before db0c3465b54a16debc089b2b3bda251d26c953d0
affected from 622ceaddb7649ca328832f50ba1400af778d75fa, before 604ce546e1b9f35b1f45588004f53fac6b2869c1
affected from 622ceaddb7649ca328832f50ba1400af778d75fa, before 0b3c8c39e50249470f00a5f73c288b95a55ab576
affected from 622ceaddb7649ca328832f50ba1400af778d75fa, before 38e9e07ac02a9453a117410776f1502a9980997e
affected from 622ceaddb7649ca328832f50ba1400af778d75fa, before 617d0d8d199ba1790c94310fd75a22d01c97a8d6
Other versions: unaffected
Linux
affected 5.16
unaffected before 5.16
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.111 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected from 7.2.7 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97605 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97605

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-97605
trivy image --scanners vuln IMAGE | grep CVE-2026-97605

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-97605 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.