# CVE-2026-98558: net: flush skb_defer_nodes in dev_cpu_dead()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-10-18T15:18:25.282Z
- Modified: 2026-10-19T10:19:12.330Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: flush skb_defer_nodes in dev_cpu_dead()

When a CPU goes offline, dev_cpu_dead() drains its softnet queues
(completion_queue, output_queue, poll_list, process_queue, and
input_pkt_queue), but leaves net_hotdata.skb_defer_nodes untouched.

If oldcpu goes offline while holding pending skbs in its
skb_defer_nodes lists (e.g. below the sysctl_skb_defer_max >> 1 IPI
threshold, or if the IPI races with CPU teardown), those skbs remain
stranded until oldcpu is brought back online. If any of these skbs
hold page_pool fragments, page_pool_destroy() will stall indefinitely
waiting for inflight pages to be returned when a netdev or driver is
torn down while oldcpu is offline.

Additionally, if smp_call_function_single_async() fails in
kick_defer_list_purge() because the target CPU went offline, reset
defer_ipi_scheduled to 0 so future IPI kicks are not blocked when the
CPU comes back online.

Also, if oldcpu was the last online CPU on its NUMA node, drain that
node's slot across all CPUs so no skbs deferred from that node remain
stranded on idle remote CPUs (or if the node itself is subsequently
offlined).

Finally, in skb_attempt_defer_free(), re-check cpu_online(cpu) and
whether the caller migrated CPUs after llist_add(), flushing the node
list if so, to close the preemption TOCTOU race against CPU/node
teardown.

(As written by CVE List.)

## Affected

- Linux Linux: from 68822bdf76f10c3dc80609d4e2cdc1e847429086 before c68f4157463448a76893223e117170be8374d773; from 68822bdf76f10c3dc80609d4e2cdc1e847429086 before 06e3f54e8b22040ada01a28343badf1990b4dd7d; 5.19 (not affected: before 5.19; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c68f4157463448a76893223e117170be8374d773>
- <https://git.kernel.org/stable/c/06e3f54e8b22040ada01a28343badf1990b4dd7d>

## Sources

- CVE List: [CVE-2026-98558](https://www.cve.org/CVERecord?id=CVE-2026-98558), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98558](https://nvd.nist.gov/vuln/detail/CVE-2026-98558), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98558 · Whole record: https://cve.day/CVE-2026-98558.json · Rebuilt by cve.day 2026-11-25T22:59:45.227Z
