CVE-2026-97605 (GCVE-0-2026-97605)

Vulnerability from cvelistv5 – Published: 2026-09-25 10:22 – Updated: 2026-09-25 10:22
VLAI
Title
erofs: preserve LZMA decoders on resize failure
Summary
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 622ceaddb7649ca328832f50ba1400af778d75fa , < 604ce546e1b9f35b1f45588004f53fac6b2869c1 (git)
Affected: 622ceaddb7649ca328832f50ba1400af778d75fa , < 0b3c8c39e50249470f00a5f73c288b95a55ab576 (git)
Affected: 622ceaddb7649ca328832f50ba1400af778d75fa , < 38e9e07ac02a9453a117410776f1502a9980997e (git)
Affected: 622ceaddb7649ca328832f50ba1400af778d75fa , < 617d0d8d199ba1790c94310fd75a22d01c97a8d6 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.16
Unaffected: 0 , < 5.16 (semver)
Unaffected: 6.12.111 , ≤ 6.12.* (semver)
Unaffected: 6.18.53 , ≤ 6.18.* (semver)
Unaffected: 7.2.7 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/erofs/decompressor_lzma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "604ce546e1b9f35b1f45588004f53fac6b2869c1",
              "status": "affected",
              "version": "622ceaddb7649ca328832f50ba1400af778d75fa",
              "versionType": "git"
            },
            {
              "lessThan": "0b3c8c39e50249470f00a5f73c288b95a55ab576",
              "status": "affected",
              "version": "622ceaddb7649ca328832f50ba1400af778d75fa",
              "versionType": "git"
            },
            {
              "lessThan": "38e9e07ac02a9453a117410776f1502a9980997e",
              "status": "affected",
              "version": "622ceaddb7649ca328832f50ba1400af778d75fa",
              "versionType": "git"
            },
            {
              "lessThan": "617d0d8d199ba1790c94310fd75a22d01c97a8d6",
              "status": "affected",
              "version": "622ceaddb7649ca328832f50ba1400af778d75fa",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/erofs/decompressor_lzma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.16"
            },
            {
              "lessThan": "5.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc3",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: preserve LZMA decoders on resize failure\n\nThe pool-resize path frees each stream\u0027s old decoder before allocating\nits replacement. If an allocation fails after some streams have already\nbeen replaced, the failed stream is put back on the list with state ==\nNULL. z_erofs_lzma_max_dictsize is still advanced as if the whole\npool had been resized.\n\nAn existing LZMA mount can select the broken stream and pass\nNULL to xz_dec_microlzma_reset(). A retry at the same size also\nskip another resize attempt. Since the global maximum was advanced,\nthus, the invalid state is left unrepaired.\n\nAllocate each replacement before freeing the old decoder, temporarily\nretaining one old decoder during allocation. Stop at the first failure\nand advance z_erofs_lzma_max_dictsize only after all streams satisfy\nthe request.\n\nRecord each stream\u0027s dictionary capacity so retries can skip streams\nalready enlarged before a partial failure."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-25T10:22:17.233Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/604ce546e1b9f35b1f45588004f53fac6b2869c1"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b3c8c39e50249470f00a5f73c288b95a55ab576"
        },
        {
          "url": "https://git.kernel.org/stable/c/38e9e07ac02a9453a117410776f1502a9980997e"
        },
        {
          "url": "https://git.kernel.org/stable/c/617d0d8d199ba1790c94310fd75a22d01c97a8d6"
        }
      ],
      "title": "erofs: preserve LZMA decoders on resize failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-97605",
    "datePublished": "2026-09-25T10:22:17.233Z",
    "dateReserved": "2026-09-24T16:01:01.158Z",
    "dateUpdated": "2026-09-25T10:22:17.233Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-97605",
      "date": "2026-09-28",
      "epss": "0.002",
      "percentile": "0.0881"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-28T00:08:48.000Z",
      "cve": "CVE-2026-97605",
      "id": "msrc_CVE-2026-97605",
      "initial_release_date": "2026-09-28T00:08:48.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "erofs: preserve LZMA decoders on resize failure",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-97605.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/erofs/decompressor_lzma.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "604ce546e1b9f35b1f45588004f53fac6b2869c1",
                    "status": "affected",
                    "version": "622ceaddb7649ca328832f50ba1400af778d75fa",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0b3c8c39e50249470f00a5f73c288b95a55ab576",
                    "status": "affected",
                    "version": "622ceaddb7649ca328832f50ba1400af778d75fa",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "38e9e07ac02a9453a117410776f1502a9980997e",
                    "status": "affected",
                    "version": "622ceaddb7649ca328832f50ba1400af778d75fa",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "617d0d8d199ba1790c94310fd75a22d01c97a8d6",
                    "status": "affected",
                    "version": "622ceaddb7649ca328832f50ba1400af778d75fa",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/erofs/decompressor_lzma.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.16"
                  },
                  {
                    "lessThan": "5.16",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.111",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.53",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: preserve LZMA decoders on resize failure\n\nThe pool-resize path frees each stream\u0027s old decoder before allocating\nits replacement. If an allocation fails after some streams have already\nbeen replaced, the failed stream is put back on the list with state ==\nNULL. z_erofs_lzma_max_dictsize is still advanced as if the whole\npool had been resized.\n\nAn existing LZMA mount can select the broken stream and pass\nNULL to xz_dec_microlzma_reset(). A retry at the same size also\nskip another resize attempt. Since the global maximum was advanced,\nthus, the invalid state is left unrepaired.\n\nAllocate each replacement before freeing the old decoder, temporarily\nretaining one old decoder during allocation. Stop at the first failure\nand advance z_erofs_lzma_max_dictsize only after all streams satisfy\nthe request.\n\nRecord each stream\u0027s dictionary capacity so retries can skip streams\nalready enlarged before a partial failure."
          }
        ],
        "id": "CVE-2026-97605",
        "lastModified": "2026-09-25T11:17:14.543",
        "metrics": {},
        "published": "2026-09-25T11:17:14.543",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0b3c8c39e50249470f00a5f73c288b95a55ab576"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/38e9e07ac02a9453a117410776f1502a9980997e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/604ce546e1b9f35b1f45588004f53fac6b2869c1"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/617d0d8d199ba1790c94310fd75a22d01c97a8d6"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…