CVE-2026-89602

erofs: skip sufficiently large global buffers when resizing

State
Published
Severity
7.8 High
Published
Sep 11, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d6db47e571dcaecaeaafa8840d00ae849ae3907b to before 3fbdd15d5830f52661eb78be95058d101cb0c2cbAffected
  • d6db47e571dcaecaeaafa8840d00ae849ae3907b to before 7267557ce98ccd07faaf3bc86382448950cc4ff6Affected
  • d6db47e571dcaecaeaafa8840d00ae849ae3907b to before 7f4a89d4f0d6acaf4b756c31de48f2109a257b70Affected
  • d6db47e571dcaecaeaafa8840d00ae849ae3907b to before a7d097cf01301c5da37927c8f26123d006f0fd8aAffected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.4 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.