In the Linux kernel, the following vulnerability has been resolved: erofs: skip sufficiently large global buffers when resizing z_erofs_gbuf_nrpages… (CVE-2026-89602)
A vulnerability in the Linux kernel's erofs filesystem code related to resizing global buffers has been resolved. The issue involves improper handling of buffer resizing retries, which can lead to memory allocation errors or copying more pointers than an array can hold. This flaw could cause allocation failures or memory corruption during buffer resizing operations.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's erofs filesystem concerns the resizing logic of global buffers tracked by z_erofs_gbuf_nrpages. When resizing buffers, if some buffers are enlarged but a resize attempt fails, retrying the resize can revisit already enlarged buffers. Retrying the same size leads to an -ENOMEM error due to alloc_pages_bulk() having no pages to allocate, which is incorrectly treated as failure. Retrying with an intermediate size causes allocation of a temporary pointer array smaller than the number of pages, resulting in copying more pointers than the array can hold. The fix involves skipping buffers that already meet the size requirement and advancing z_erofs_gbuf_nrpages only after all buffers have caught up, ensuring safe resizing.
Potential Impact
The vulnerability can cause memory allocation failures or buffer overflows during buffer resizing in the erofs filesystem, potentially leading to kernel instability or crashes. There is no indication of known exploitation in the wild or direct impact beyond memory management errors within the kernel module.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: erofs: skip sufficiently large global buffers when resizing z_erofs_gbuf_nrpages… (CVE-2026-89602)
Description
A vulnerability in the Linux kernel's erofs filesystem code related to resizing global buffers has been resolved. The issue involves improper handling of buffer resizing retries, which can lead to memory allocation errors or copying more pointers than an array can hold. This flaw could cause allocation failures or memory corruption during buffer resizing operations.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's erofs filesystem concerns the resizing logic of global buffers tracked by z_erofs_gbuf_nrpages. When resizing buffers, if some buffers are enlarged but a resize attempt fails, retrying the resize can revisit already enlarged buffers. Retrying the same size leads to an -ENOMEM error due to alloc_pages_bulk() having no pages to allocate, which is incorrectly treated as failure. Retrying with an intermediate size causes allocation of a temporary pointer array smaller than the number of pages, resulting in copying more pointers than the array can hold. The fix involves skipping buffers that already meet the size requirement and advancing z_erofs_gbuf_nrpages only after all buffers have caught up, ensuring safe resizing.
Potential Impact
The vulnerability can cause memory allocation failures or buffer overflows during buffer resizing in the erofs filesystem, potentially leading to kernel instability or crashes. There is no indication of known exploitation in the wild or direct impact beyond memory management errors within the kernel module.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-jv24-3qj8-gmg3
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89602"]
Threat ID: 6aa4a00c55bf5e2cf5a8667b
Added to database: 09/12/2026, 00:42:52 UTC
Last enriched: 09/12/2026, 01:03:07 UTC
Last updated: 09/12/2026, 01:03:07 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.