In the Linux kernel, the following vulnerability has been resolved: writeback: bound cleanup_offline_cgwb() rescans by rotating scanned inodes… (CVE-2026-98538)
Description
A vulnerability in the Linux kernel's writeback mechanism involving the cleanup_offline_cgwb() function has been resolved. The issue caused rescans of inodes to be quadratic in complexity due to repeated scanning of inodes that remain on the list, leading to potential soft lockups with CPUs stuck for extended periods. The fix changes the scanning approach to linear by reordering inodes during processing, preventing excessive rescanning and improving performance.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's writeback subsystem involved the cleanup_offline_cgwb() function, which prepares at most WB_MAX_INODES_PER_ISW inodes per call and is repeatedly called until the dying writeback (wb) is drained. Each call rescans the wb->b_attached and wb->b_dirty_time lists from the same end, causing inodes that cannot be switched or are already prepared to remain on the list. This results in a quadratic time complexity for draining the list, which can lead to soft lockups when a large number of inodes (~17 million) are attached to a dying cgwb. The fix involves walking both lists from the oldest end and moving each scanned inode to the newest end, making the drain process linear in complexity and preventing CPU soft lockups.
Potential Impact
The vulnerability can cause soft lockups in the Linux kernel due to excessive CPU time spent rescanning inodes during writeback cleanup. This results in CPUs being reported as stuck for durations between 21 to 48 seconds, potentially affecting system responsiveness and stability under heavy inode writeback conditions.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by changing the inode scanning order to linearize the cleanup process. Users should apply the official kernel update or patch that includes this fix once available. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory or Linux kernel mailing lists for the current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m444-q4wx-jpmh
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98538"]
Threat ID: 6ad520af2cdf04f656993ac4
Added to database: 10/18/2026, 19:40:31 UTC
Last enriched: 10/18/2026, 20:48:30 UTC
Last updated: 10/18/2026, 22:08:09 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.