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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Published: 2026-09-11T19:45:05.783Z
- Modified: 2026-10-19T09:17:56.743Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d6db47e571dcaecaeaafa8840d00ae849ae3907b before 3fbdd15d5830f52661eb78be95058d101cb0c2cb; from d6db47e571dcaecaeaafa8840d00ae849ae3907b before 7267557ce98ccd07faaf3bc86382448950cc4ff6; from d6db47e571dcaecaeaafa8840d00ae849ae3907b before 7f4a89d4f0d6acaf4b756c31de48f2109a257b70; from d6db47e571dcaecaeaafa8840d00ae849ae3907b before a7d097cf01301c5da37927c8f26123d006f0fd8a; 6.10 (not affected: before 6.10; from 6.12.111 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-89602](https://www.cve.org/CVERecord?id=CVE-2026-89602), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89602](https://nvd.nist.gov/vuln/detail/CVE-2026-89602), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89602 · Whole record: https://cve.day/CVE-2026-89602.json · Rebuilt by cve.day 2026-11-25T22:59:38.081Z
