In the Linux kernel, the following vulnerability has been resolved: mm/slab: do not wake up kswapd in __kfree_rcu_sheaf() Since kfree_rcu() can be… (CVE-2026-98818)
Description
A deadlock vulnerability in the Linux kernel's memory management subsystem was resolved. The issue involved the function __kfree_rcu_sheaf() waking up kswapd while holding a raw spinlock (pi_lock), which could lead to a circular locking dependency and deadlock. This deadlock was difficult to reproduce and was verified using a modified kernel with lock dependency detection. The vulnerability was fixed by ensuring kfree_rcu() does not wake up kswapd under pi_lock.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-98818 concerns a deadlock caused by __kfree_rcu_sheaf() waking up the kswapd kernel thread while holding the pi_lock raw spinlock. Since kfree_rcu() can be called under pi_lock, waking up kswapd (which also acquires pi_lock) leads to a circular locking dependency and deadlock. The issue was confirmed using a kernel with lockdep instrumentation, revealing a complex lock dependency chain involving pi_lock and kswapd_wait. The fix prevents kfree_rcu() from waking kswapd under pi_lock, eliminating the deadlock scenario.
Potential Impact
The vulnerability could cause a kernel deadlock, potentially freezing affected systems or kernel threads. However, reproducing the deadlock was not straightforward and required specific conditions. There is no indication of direct security compromise such as privilege escalation or data corruption, but system stability could be affected.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to prevent kfree_rcu() from waking kswapd under pi_lock, thereby avoiding the deadlock. Users should apply the official kernel updates that include this fix. Since this is a kernel-level issue, updating to a patched kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-hqwf-4r5g-q2h4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98818"]
Threat ID: 6ad520aa2cdf04f6569938bc
Added to database: 10/18/2026, 19:40:26 UTC
Last enriched: 10/18/2026, 22:19:07 UTC
Last updated: 10/18/2026, 22:19: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.