---
id: CVE-2026-89602
title: |-
  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
summary: |-
  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 som…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d6db47e571dcaecaeaafa8840d00ae849ae3907b <
    3fbdd15d5830f52661eb78be95058d101cb0c2cb
  - >-
    Linux >= d6db47e571dcaecaeaafa8840d00ae849ae3907b <
    7267557ce98ccd07faaf3bc86382448950cc4ff6
  - >-
    Linux >= d6db47e571dcaecaeaafa8840d00ae849ae3907b <
    7f4a89d4f0d6acaf4b756c31de48f2109a257b70
  - >-
    Linux >= d6db47e571dcaecaeaafa8840d00ae849ae3907b <
    a7d097cf01301c5da37927c8f26123d006f0fd8a
  - Linux 6.10
published: '2026-09-11'
updated: '2026-09-21'
sourceUpdated: '2026-09-21T14:17:23.817'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89602'
references:
  - url: 'https://git.kernel.org/stable/c/3fbdd15d5830f52661eb78be95058d101cb0c2cb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7267557ce98ccd07faaf3bc86382448950cc4ff6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7f4a89d4f0d6acaf4b756c31de48f2109a257b70'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a7d097cf01301c5da37927c8f26123d006f0fd8a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89602.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89602'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2532403'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89602'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89602'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-89602.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00174
epssPercentile: 0.07121
scores:
  nvd: 7.8
  cna: 7.8
  vendor: 7
ingestedAt: '2026-09-14T15:23:07.474Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10 · no fix planned: Red Hat Enterprise Linux 10 · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89602.json)
