PatchSiren cyber security CVE debrief
CVE-2026-98818 Linux CVE debrief
A deadlock vulnerability was found in the Linux kernel's mm/slab implementation. The issue arises when kfree_rcu() is called under pi_lock, a raw spinlock in the scheduler, and attempts to allocate memory with __GFP_KSWAPD_RECLAIM, which can wake up kswapd and lead to a deadlock. This situation can occur when the system is under memory pressure and kswapd is trying to reclaim memory, while a task is holding pi_lock and attempting to free memory using kfree_rcu().
- Vendor
- Linux
- Product
- Unknown
- CVSS
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-18
- Original CVE updated
- 2026-10-19
- Advisory published
- 2026-10-18
- Advisory updated
- 2026-10-19
Who should care
Linux kernel developers and maintainers, Linux distribution maintainers, System administrators and operators of Linux-based systems, Security teams and vulnerability management teams, Operators and administrators responsible for Linux-based infrastructure, Platform and cloud providers using Linux as a core component
Why it matters
This vulnerability can cause deadlocks in the Linux kernel's mm/slab implementation, potentially leading to system instability and hangs. Linux kernel developers, maintainers, and system administrators should assess exposure and prioritize remediation.
- Potential system hangs or freezes due to deadlocks
- Memory pressure and reclaim issues
- Scheduler and memory management instability
Technical summary
The Linux kernel's mm/slab implementation has a vulnerability that can lead to a deadlock when kfree_rcu() is called under pi_lock and attempts to allocate memory with __GFP_KSWAPD_RECLAIM. This can happen when the system is under memory pressure and kswapd is trying to reclaim memory, while a task is holding pi_lock and attempting to free memory using kfree_rcu(). The issue arises due to the potential for kfree_rcu() to be called under pi_lock, a raw spinlock in the scheduler, and its attempt to allocate memory with __GFP_KSWAPD_RECLAIM, which can wake up kswapd and lead to a deadlock. The deadlock can cause system instability and hangs.
Defensive priority
Medium
Recommended defensive actions
- Review and apply the provided patches to ensure the mm/slab implementation is updated with the fix.
- Monitor system logs for potential deadlocks related to kswapd and pi_lock.
- Consider updating to a Linux kernel version that includes the fix for this vulnerability.
- Perform a thorough review of system configurations and deployments to identify potential exposure.
- Implement compensating controls, such as enhanced monitoring and alerting, for exposed systems.
- Conduct a thorough asset inventory to identify systems that may be affected by this vulnerability.
- Track exceptions and retest remediated assets to ensure the vulnerability is fully resolved.
Evidence notes
The existence of the deadlock was verified with a modified kernel that has a lockdep map for waking up kswapd. Reproducing the issue even intentionally was not straightforward due to the rarity of the set_cpus_allowed_force() path that is called under pi_lock.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-98818 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-98818
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-98818 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-98818
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
mm/slab: do not wake up kswapd in __kfree_rcu_sheaf()
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/98xxx/CVE-2026-98818.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/46545c86b54ffb969b6e3662942b4a6191619eaa
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/af2fb3ee6679b517e2fdbd3ba16ec276a8b74312
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.