CVE-2026-99025: openvswitch: fix soft lockup in the netlink flow dump

Published Oct 23, 2026
·
Updated

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

openvswitch: fix soft lockup in the netlink flow dump

A production compute node carrying a few thousand datapath flows hit a soft lockup inside a single netlink flow dump and panicked.

ovsflowcmddump() calls ovsflowstatsget() for every flow it emits, and that releases stats->lock with spinunlockbh() once per CPU that has touched the flow. Every release is a localbhenable(), and each one runs the pending softirq backlog in the dumping thread's own context.

The skb bounds the flows one callback emits, but not the softirq work it absorbs. On a CPU that carries the box's packet load the backlog refills as fast as it drains, so the dumping thread becomes that CPU's softirq engine. It never sleeps and it has no reschedule point, so under voluntary preemption nothing can take the CPU away from it: neither the ksoftirqd the kernel woke to take the work over, nor the stopper thread the softlockup detector dispatches to refresh its timestamp.

Hold BH off across the whole callback instead, the way ctnetlinkdumptable() does, so the nested spinunlockbh() stop draining softirqs. The loop already runs under rcureadlock() and cannot sleep. What it gives up is preemption under CONFIGPREEMPT, since a BH-off region is not preemptible outside PREEMPTRT. The region stays short: the skb caps the flows one callback emits, and empty buckets cost no skb space but are each visited once per dump, as the cursor only moves forward. The table grows on insert and shrinks only on flush, so the walk is bounded by the largest flow count the datapath has held. The softirq backlog the callback used to absorb has no bound at all.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Open vSwitch netlink flow dump callback, keep bottom halves disabled across the entire callback instead of calling local_bh_enable() after each flow; avoid nested spin_unlock_bh() operations that re-enable bottom halves while the dump is still running.

Event History

Oct 23, 2026
CVE Published
via MITRE·12:21 PM
Data Sourced
via MITRE·12:21 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203