Skip to main content

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)

0
Medium
Published: 10/18/2026 (10/18/2026, 18:32:04 UTC)
Source: GCVE Database

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

AILast updated: 10/18/2026, 22:19:07 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses