Skip to main content
Vulnerability Database/CVE-2026-98558

CVE-2026-98558: Linux Kernel Network Stack DoS Vulnerability

CVE-2026-98558 is a denial of service flaw in the Linux kernel that causes stranded network packets when CPUs go offline, potentially stalling system operations. This article covers technical details, impact analysis, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98558 Overview

CVE-2026-98558 is a Linux kernel networking vulnerability in the CPU hotplug teardown path. When a CPU goes offline, dev_cpu_dead() drains its softnet queues but leaves net_hotdata.skb_defer_nodes untouched. Pending socket buffers (skbs) can remain stranded on the offlined CPU's deferred-free list until that CPU is brought back online. If any stranded skb holds page_pool fragments, page_pool_destroy() stalls indefinitely waiting for inflight pages during netdev or driver teardown. A related preemption race in skb_attempt_defer_free() and a stale defer_ipi_scheduled flag in kick_defer_list_purge() compound the problem.

Critical Impact

Indefinite stalls in page_pool_destroy() during network driver or netdev teardown while a CPU is offline, producing hangs in networking subsystems that depend on page pool reclamation.

Affected Products

  • Linux kernel networking core (net/core/dev.c, skbuff deferred-free path)
  • Kernel builds using page_pool with CPU hotplug enabled
  • Systems performing dynamic CPU offlining under network load

Discovery Timeline

  • 2026-10-18 - CVE-2026-98558 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98558

Vulnerability Analysis

The Linux kernel defers skb frees to a per-CPU skb_defer_nodes list, flushing them through an inter-processor interrupt (IPI) once a threshold is reached. When a CPU is taken offline, dev_cpu_dead() drains several softnet queues including completion_queue, output_queue, poll_list, process_queue, and input_pkt_queue, but it does not touch net_hotdata.skb_defer_nodes.

Skbs below the sysctl_skb_defer_max >> 1 IPI threshold, or skbs queued while an IPI races with CPU teardown, remain stranded on the offline CPU. Skbs that hold page_pool fragments prevent page_pool_destroy() from completing because inflight pages are never returned. The result is a kernel stall when a network device or driver is torn down while the previously used CPU is still offline.

Two related defects worsen the condition. In kick_defer_list_purge(), when smp_call_function_single_async() fails because the target CPU is offline, defer_ipi_scheduled is left set and blocks future IPI kicks once the CPU returns. In skb_attempt_defer_free(), a time-of-check to time-of-use (TOCTOU) window exists between selecting the target CPU and calling llist_add(), allowing the caller to migrate or the target CPU to go offline between those steps.

Root Cause

The root cause is incomplete per-CPU state cleanup in the CPU hotplug teardown path combined with a race condition in the deferred skb free logic. dev_cpu_dead() does not include skb_defer_nodes in its drain set, and skb_attempt_defer_free() does not re-validate CPU online status after queuing.

Attack Vector

This is a reliability and denial-of-service class defect reachable through legitimate CPU hotplug operations under network load. Triggering requires offlining a CPU that holds deferred skbs referencing page_pool fragments, then tearing down the associated netdev or driver. The vulnerability does not require network-reachable input and is not characterized by NVD with a CVSS vector.

No verified exploit code is available. The upstream patches are referenced in the kernel git tree at commits 06e3f54e8b22 and c68f41574634.

Detection Methods for CVE-2026-98558

Indicators of Compromise

  • Kernel threads blocked in page_pool_destroy() or page_pool_release() with long uninterruptible sleep durations.
  • Network driver unload or netdev removal operations that hang after a CPU offline event.
  • Non-zero inflight page counters in /proc or tracepoints associated with page_pool after device teardown.
  • defer_ipi_scheduled remaining set on a CPU following a failed smp_call_function_single_async() call.

Detection Strategies

  • Monitor dmesg for hung task warnings referencing page_pool_destroy, unregister_netdevice, or driver removal paths.
  • Enable CONFIG_DETECT_HUNG_TASK and alert on stalls in networking cleanup code following CPU hotplug activity.
  • Correlate CPU offline events with subsequent driver teardown stalls in system logs.

Monitoring Recommendations

  • Track CPU hotplug events alongside page_pool inflight page metrics on production hosts.
  • Audit any automation that performs CPU offlining under load to detect post-event network stalls.
  • Capture ftrace traces of skb_attempt_defer_free, kick_defer_list_purge, and dev_cpu_dead on affected kernels when investigating hangs.

How to Mitigate CVE-2026-98558

Immediate Actions Required

  • Apply the upstream kernel patches referenced below as soon as vendor-rebuilt kernels are available for your distribution.
  • Avoid CPU offlining operations under heavy network load on kernels that lack the fix.
  • Defer unloading or re-binding network drivers while any CPU previously used by that driver remains offline.

Patch Information

The fix flushes skb_defer_nodes during dev_cpu_dead(), resets defer_ipi_scheduled when smp_call_function_single_async() fails, drains NUMA node slots when the last online CPU on a node goes offline, and re-checks cpu_online(cpu) after llist_add() in skb_attempt_defer_free() to close the preemption TOCTOU race. See the upstream commits: kernel commit 06e3f54e8b22 and kernel commit c68f41574634.

Workarounds

  • Disable or avoid dynamic CPU offlining on hosts running affected kernels until patched builds are deployed.
  • Bring any offlined CPU back online before performing network driver unload or netdev teardown.
  • Reduce reliance on page_pool-backed drivers in environments that require frequent CPU hotplug cycling.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.