CVE-2026-98330·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: get the wiphy out of a dying network namespace When a network namespace is destroyed, cfg80211_pernet_exit() moves any wiphy back to the initial namespace, and just warns if that fails. But moving an interface can fail (due to allocation failures), and then the wiphy is left behind with a garbage netns pointer: Kernel mode fault at addr 0x30 genlmsg_multicast_netns.constprop.0+0x46/0xcf [cfg80211] nl80211_notify_wiphy+0xcd/0xe8 [cfg80211] wiphy_unregister+0x169/0x3fc [cfg80211] Note that commit debac3a20dec ("net: Remove conflicting altnames for dying netns in __dev_change_net_namespace().") fixed another path that could reach it without allocation failures. Remove interfaces that cannot be moved instead of failing the switch, so that the wiphy always ends up in the initial namespace. In this case the netdev core will unregister the interfaces anyway.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.18.54, 7.2.8, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98330 scores 7 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to patch a memory safety issue in the WiFi cfg80211 subsystem that can cause kernel crashes when network namespaces are destroyed. Users running kernel 6.18.x should upgrade to 6.18.54 or later, those on 7.2.x should upgrade to 7.2.8 or later, or users on mainline should update to 7.3+. Check with your Linux distribution for the patched kernel package rather than compiling mainline unless you already run a development kernel.
sudo dnf update kernel kernel-headers kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your installed kernel version with `uname -r` and compare against fixed versions (6.18.54+, 7.2.8+, or 7.3+)
- Step 2: Verify if WiFi/cfg80211 modules are loaded with `lsmod | grep cfg80211` or `lsmod | grep mac80211`
- Step 3: Search kernel logs for namespace teardown errors with `sudo journalctl -k | grep -i 'namespace\|cfg80211\|wiphy' | tail -50`
- Step 4: After patching, reboot and confirm new kernel version with `uname -r`, then verify cfg80211 module loads without errors using `sudo modprobe -v cfg80211` and checking `dmesg | tail -20`
FAQ
What is CVE-2026-98330?
This CVE addresses a kernel memory corruption issue in the WiFi cfg80211 subsystem where moving wireless interfaces between network namespaces can fail silently, leaving dangling pointers that cause kernel panics when the namespace is destroyed. The fix ensures interfaces that cannot be migrated are properly unregistered instead of orphaned.
Is CVE-2026-98330 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. It requires local access and specific namespace manipulation to trigger.
What versions of Kernel are affected by CVE-2026-98330?
The vulnerability affects kernel versions prior to 6.18.54, 7.2.8, and mainline 7.3. Users running 6.18.x, 7.2.x, or older stable branches are potentially affected.
How do I check if my server is vulnerable to CVE-2026-98330?
Run `uname -r` to get your kernel version and cross-reference it against the fixed versions: if you see 6.18.53 or earlier, 7.2.7 or earlier, or any version before 7.3, your system is vulnerable.
Does Defensia detect CVE-2026-98330?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel package is installed on a monitored server, CVE-2026-98330 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98330. Free for 1 server.
Get started free