Shellfeed logo Shellfeed

CVE-2026-89602 · HIGH (CVSS 7.8)

Summary: erofs: skip sufficiently large global buffers when resizing

Details

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.

Severity

HIGH (CVSS 7.8) — vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [d6db47e571dcaecaeaafa8840d00ae849ae3907b – 3fbdd15d5830f52661eb78be95058d101cb0c2cb]
  • Linux Kernel [6.10.0 – 6.12.111] [6.13.0 – 6.18.51] [6.19.0 – 7.2.4]

References