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-97611 Overview
CVE-2026-97611 is a use-after-free vulnerability in the Linux kernel's Open vSwitch (OVS) subsystem. The flaw lives in tbl_mask_array_realloc(), which schedules the old flow table mask array for RCU-based reclamation before publishing the replacement pointer. A concurrent reader entering ovs_flow_tbl_lookup_stats() during that window dereferences memory that mask_array_rcu_cb() later frees. The result is a slab use-after-free reachable through the normal datapath packet processing path.
Critical Impact
A local user able to generate traffic through an Open vSwitch datapath can trigger kernel memory corruption, enabling denial of service or local privilege escalation on affected Linux hosts.
Affected Products
- Linux kernel builds with CONFIG_OPENVSWITCH enabled
- Linux stable branches prior to the fixes in commits 035e9c3, a0d18d2, ba4ba11, and cd982e1
- Hypervisor and container hosts (KVM, OpenStack, Kubernetes CNI) that rely on the in-kernel OVS datapath
Discovery Timeline
- 2026-09-25 - CVE-2026-97611 published to the National Vulnerability Database
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97611
Vulnerability Analysis
The Open vSwitch flow table maintains a mask_array structure that is reallocated when the number of masks grows or shrinks. The reallocation path in tbl_mask_array_realloc() calls call_rcu(&old->rcu, mask_array_rcu_cb) on the previous array before issuing rcu_assign_pointer(tbl->mask_array, new) to publish the replacement.
Because call_rcu() only waits for read-side critical sections already in flight, any reader that enters ovs_flow_tbl_lookup_stats() after call_rcu() but before rcu_assign_pointer() observes the old pointer in a brand new RCU critical section. The pending grace period does not cover that reader. The reallocation runs in process context under ovs_mutex, which is preemptible, so the window can outlast the grace period. mask_array_rcu_cb() then invokes kfree() on memory still referenced by flow_lookup(), producing a KASAN slab-use-after-free report during ovs_dp_process_packet().
Root Cause
The root cause is incorrect ordering of RCU publication and reclamation. The retired pointer must become unreachable through rcu_assign_pointer() before call_rcu() schedules the free. The original kfree_rcu() the code replaced executed after the swap, which preserved the correct ordering. The refactor to call_rcu() moved reclamation ahead of publication and introduced the race.
Attack Vector
Exploitation requires local access and the ability to send packets through an OVS datapath, which is the normal data path for virtualized networking. An attacker triggers mask array reallocations by adding or removing flows while simultaneously driving packet lookups. Winning the race corrupts kernel heap objects adjacent to the freed mask_array, which can be shaped into arbitrary read, write, or control-flow primitives in the kernel address space. See the upstream fixes in commit 035e9c3, commit a0d18d2, commit ba4ba11, and commit cd982e1 for technical details.
Detection Methods for CVE-2026-97611
Indicators of Compromise
- KASAN reports citing slab-use-after-free in flow_lookup or ovs_flow_tbl_lookup_stats in dmesg and kernel logs
- Unexpected kernel oopses or panics on hosts running Open vSwitch under flow churn
- mask_array_rcu_cb appearing in the freeing stack of a kernel memory corruption report
Detection Strategies
- Enable KASAN on test and staging kernels to surface the use-after-free deterministically during OVS flow-churn workloads
- Audit installed kernel versions against the fixed stable commits across the fleet
- Correlate OVS flow management activity (ovs-vsctl, ovs-ofctl invocations) with kernel error telemetry to identify suspicious patterns
Monitoring Recommendations
- Forward /var/log/kern.log and journald kernel facility events to a centralized logging platform for alerting on KASAN, BUG, and oops entries
- Track processes that repeatedly add and delete OVS flows at high rates, which is required to trigger reallocation
- Monitor host stability metrics (uptime, crash counts) for virtualization and Kubernetes nodes using the in-kernel OVS datapath
How to Mitigate CVE-2026-97611
Immediate Actions Required
- Inventory all Linux hosts using the in-kernel Open vSwitch datapath, including hypervisors, OpenStack compute nodes, and Kubernetes workers with OVS-based CNIs
- Apply the vendor-supplied stable kernel update that incorporates the ordering fix and reboot affected systems
- Restrict local shell and container escape opportunities on multi-tenant hosts until patches are deployed
Patch Information
Upstream fixes publish the new array before retiring the old one, restoring correct RCU ordering. The fix is tracked in kernel commit 035e9c3 and backported in commit a0d18d2, commit ba4ba11, and commit cd982e1. Install the kernel package provided by your distribution that includes these commits.
Workarounds
- Minimize local, unprivileged access on hosts that cannot be patched immediately
- Reduce OVS flow churn by stabilizing flow table configurations where feasible
- Where supported by the deployment, evaluate userspace datapath alternatives (DPDK) to remove the vulnerable kernel code path
# Verify running kernel and confirm the Open vSwitch module is loaded
uname -r
lsmod | grep -E '^openvswitch'
# Apply distribution kernel updates and reboot (example: Debian/Ubuntu)
sudo apt update && sudo apt upgrade -y linux-image-$(uname -r | cut -d- -f3-)
sudo reboot
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

