Skip to content
Heist/ feed
High

erofs: skip sufficiently large global buffers when resizing

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: erofs: skip sufficiently large global buffers when resizing z_erofs_gbuf_nrpages is advanced only after every global buffer has been grown. If a resize fails after some buffers were enlarged, a retry revisits those enlarged buffers. Retrying the same size then returns -ENOMEM because alloc_pages_bulk() has no pages to add and the unchanged return value is treated as a failure. Retrying an intermediate size allocates a temporary pointer array smaller than gbuf->nrpages and copies more existing pointers than the array can hold. Skip buffers that already satisfy the request. Once all remaining buffers have caught up, advancing z_erofs_gbuf_nrpages again describes the guaranteed minimum size across the pool.

Announced Group revision 1
Original source ↗

CVE-2026-89602

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89602

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "d6db47e571dcaecaeaafa8840d00ae849ae3907b",
        "lessThan": "3fbdd15d5830f52661eb78be95058d101cb0c2cb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d6db47e571dcaecaeaafa8840d00ae849ae3907b",
        "lessThan": "7267557ce98ccd07faaf3bc86382448950cc4ff6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d6db47e571dcaecaeaafa8840d00ae849ae3907b",
        "lessThan": "7f4a89d4f0d6acaf4b756c31de48f2109a257b70",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d6db47e571dcaecaeaafa8840d00ae849ae3907b",
        "lessThan": "a7d097cf01301c5da37927c8f26123d006f0fd8a",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/erofs/zutil.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.10"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.10",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.51",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/erofs/zutil.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89602

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#35109 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement