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-97956 Overview
CVE-2026-97956 is a deadlock vulnerability in the Linux kernel's net_failover subsystem. The flaw resides in the net_failover_slave_name_change() function, which invokes dev_open() while the netdevice lock is already held by upper callers. This nested locking path triggers a mutex deadlock during slave rename operations propagated through the netdevice notifier chain.
The fix is a sibling of commit b84c5632c7b3 ("net: net_failover: Fix the deadlock in slave register") and replaces dev_open() with netif_open() to respect the existing netdev_lock_ops() context held by callers.
Critical Impact
A local actor with network configuration privileges can trigger a kernel deadlock by renaming a failover slave interface, leading to denial of service on affected systems.
Affected Products
- Linux kernel versions containing the net_failover driver prior to the referenced stable commits
- Linux distributions shipping affected mainline and stable kernel branches
- Virtualized environments relying on net_failover for VirtIO/accelerated NIC pairing
Discovery Timeline
- 2026-09-25 - CVE-2026-97956 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97956
Vulnerability Analysis
The net_failover driver coordinates a primary and standby network interface pair, commonly used for live migration of virtual machines. When a slave device's name changes, the netdevice core emits a notification that the failover driver consumes through failover_event(), which in turn calls net_failover_slave_name_change().
The callers higher up the stack (do_setlink → netif_change_name) already acquire the netdevice operations lock via netdev_lock_ops(). The slave name change handler then calls dev_open(), which attempts to re-acquire the same mutex. The kernel's scheduler captures the resulting deadlock in the stack trace, showing __mutex_lock_slowpath blocking on an already-held mutex. [CWE-667] (Improper Locking) accurately categorizes this defect.
Root Cause
The root cause is a locking contract violation. dev_open() performs its own locking, assuming callers do not already hold netdev_lock_ops(). The failover notifier path invalidates that assumption. The fix substitutes netif_open(), the lockless variant that expects the caller to hold the device operations lock, aligning the call site with the surrounding context.
Attack Vector
Exploitation requires local privileges sufficient to issue RTM_SETLINK netlink messages, typically CAP_NET_ADMIN. An actor renames a failover slave interface through standard tooling such as ip link set or raw netlink. The notifier chain fires net_failover_slave_name_change(), which calls dev_open() and blocks on the already-held netdevice mutex. The kernel thread hangs, which can stall additional network configuration operations and produce a denial-of-service condition.
No arbitrary code execution or memory corruption primitive is present. See the Kernel Git Commit Log for the full patch.
Detection Methods for CVE-2026-97956
Indicators of Compromise
- Kernel task hangs with stack traces containing net_failover_slave_name_change, failover_event, and dev_open blocked in __mutex_lock_slowpath.
- hung_task watchdog warnings referencing rtnl_setlink or netif_change_name paths on hosts running net_failover.
- Stalled ip link or netlink RTM_SETLINK operations that fail to return control to userspace.
Detection Strategies
- Monitor dmesg and /var/log/kern.log for INFO: task ... blocked for more than messages involving the netdevice subsystem.
- Audit kernel versions across the fleet against the stable commits 4b20e66d2e52, 985a663bf007, and c49bfa2c5dbd to identify unpatched hosts.
- Correlate netlink RTM_SETLINK activity against the appearance of hung-task reports to confirm the deadlock trigger.
Monitoring Recommendations
- Enable kernel.hung_task_panic or raise hung_task_timeout_secs alerting in observability pipelines to catch the deadlock early.
- Collect kernel crash dumps and sysrq-t output when network configuration operations stop responding on virtualized hosts.
- Track EPSS and vendor advisories for updates; current EPSS is 0.166% (percentile 5.231), reflecting low observed exploitation interest.
How to Mitigate CVE-2026-97956
Immediate Actions Required
- Apply the upstream stable kernel commits referenced in the advisory to all hosts running net_failover.
- Restrict CAP_NET_ADMIN to trusted administrators and automation services to limit who can trigger netlink RTM_SETLINK operations.
- Validate that virtualization management stacks do not programmatically rename failover slave interfaces until patched kernels are deployed.
Patch Information
The fix replaces dev_open() with netif_open() inside net_failover_slave_name_change(). Reference the stable commits 4b20e66d2e52, 985a663bf007, and c49bfa2c5dbd. Distribution maintainers will backport these commits into supported kernel streams; consume vendor kernel updates as they become available.
Workarounds
- Avoid renaming slave interfaces attached to a net_failover master until patched kernels are installed.
- Where feasible, disable the net_failover driver on hosts that do not require VirtIO failover pairing.
- Enforce change-management controls that gate ip link set ... name operations on production virtualization hosts.
# Verify running kernel against the fixed stable commits
uname -r
git log --oneline | grep -E "4b20e66d2e52|985a663bf007|c49bfa2c5dbd"
# Temporarily restrict interface renames until patched
# (requires appropriate change-management approval)
sysctl -w kernel.hung_task_timeout_secs=60
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

