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-98073 Overview
CVE-2026-98073 affects the Linux kernel networking subsystem. The flaw occurs in __dev_change_net_namespace() when a dying network namespace (netns) contains network devices with alternative names (altnames) that conflict with devices in the destination namespace. A syzbot-reported warning in cfg80211_pernet_exit() traces the issue to cfg80211_switch_netns() and cfg802154_switch_netns() failing on altname collisions during namespace teardown. The regression originated with commit 7663d522099e ("net: check for altname conflicts when changing netdev's netns"). A prior fix (d09486a04f5d) addressed default_device_exit_net(), but the wireless pernet exit paths remained vulnerable to the same cleanup failure.
Critical Impact
A local user able to create and manipulate network namespaces can trigger kernel warnings and disrupt namespace cleanup, affecting system availability and integrity of networking state.
Affected Products
- Linux kernel versions containing commit 7663d522099e prior to the fix
- Mainline Linux kernel networking subsystem (net/core/dev.c)
- Wireless subsystems using cfg80211_pernet_exit() and cfg802154_pernet_exit()
Discovery Timeline
- 2026-09-25 - CVE-2026-98073 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-98073
Vulnerability Analysis
The vulnerability resides in the Linux kernel network namespace teardown logic. When a non-root netns is destroyed, the kernel attempts to migrate residual network devices back to init_net. The migration path in cfg80211_switch_netns() and cfg802154_switch_netns() enforces altname uniqueness across namespaces.
If a device in init_net and a device in the dying namespace share an altname, the switch fails. This leaves orphaned state and triggers a WARN at net/wireless/core.c:1871 during cleanup_net workqueue execution. The reproduction requires creating two devices across root and non-root namespaces, assigning identical altnames to each, and then removing the non-root namespace.
The fix generalises the earlier default_device_exit_net() remediation by removing conflicting altnames for dying netns directly inside __dev_change_net_namespace(). This ensures all pernet exit paths, including wireless subsystems, handle altname collisions correctly rather than requiring per-subsystem fixes.
Root Cause
The root cause is incomplete coverage of the altname conflict check introduced in commit 7663d522099e. The original hardening prevented duplicate altnames across namespaces during normal operations but did not account for forced device migration during namespace teardown. Subsystem-specific pernet exit handlers lacked the altname cleanup logic that default_device_exit_net() received in commit d09486a04f5d.
Attack Vector
Exploitation requires local access and the capability to create user or network namespaces, typically via CLONE_NEWNET or unprivileged user namespaces where enabled. An attacker crafts a sequence that assigns conflicting altnames to devices in different namespaces, then triggers destruction of the non-root namespace. The resulting kernel warning and failed cleanup degrade system reliability and can leave stale networking resources.
No verified public exploit code is available. See the upstream commits a29ea5b, ac66318, and debac3a for the fix details.
Detection Methods for CVE-2026-98073
Indicators of Compromise
- Kernel warnings matching WARNING: net/wireless/core.c:1871 at cfg80211_pernet_exit in dmesg or /var/log/kern.log
- Call traces including cleanup_net, ops_undo_list, and cfg80211_pernet_exit on the kworker/u* netns cleanup workqueue
- Repeated network namespace creation and destruction by non-root processes
Detection Strategies
- Monitor kernel ring buffer for WARN entries referencing cfg80211_pernet_exit or cfg802154_pernet_exit
- Audit unshare, clone, and ip netns activity against baseline process behavior
- Correlate netlink RTM_NEWLINKPROP operations that set IFLA_ALT_IFNAME across multiple namespaces
Monitoring Recommendations
- Enable kernel.panic_on_warn=0 and ship kernel logs to a centralized SIEM for aggregation
- Alert on repeated namespace cleanup failures or workqueue stalls on netns cleanup_net
- Track Linux kernel version inventory to prioritize patch rollout across hosts
How to Mitigate CVE-2026-98073
Immediate Actions Required
- Apply the upstream Linux kernel patches referenced in commits a29ea5b, ac66318, and debac3a through your distribution's security updates
- Restrict unprivileged user namespace creation where operationally feasible using kernel.unprivileged_userns_clone=0 or equivalent sysctl
- Audit container runtimes and multi-tenant hosts for namespace manipulation capabilities
Patch Information
The fix removes conflicting altnames for a dying netns inside __dev_change_net_namespace(), generalising the earlier default_device_exit_net() remediation. Vendor kernel updates are published in the stable tree. Reference the kernel.org commits a29ea5b, ac66318, and debac3a when verifying backports.
Workarounds
- Restrict CAP_NET_ADMIN and user namespace creation to trusted users and workloads
- Avoid assigning duplicate altnames across network namespaces in orchestration tooling
- Isolate multi-tenant workloads using dedicated hosts until patched kernels are deployed
# Disable unprivileged user namespaces (Debian/Ubuntu example)
sysctl -w kernel.unprivileged_userns_clone=0
echo 'kernel.unprivileged_userns_clone=0' > /etc/sysctl.d/99-userns.conf
# Verify kernel version after patching
uname -r
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

