# CVE-2026-98330: wifi: cfg80211: get the wiphy out of a dying network namespace

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-10-06T08:46:22.688Z
- Modified: 2026-10-19T10:18:35.153Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 463d018323851a608eef52a9427b0585005c647f before caa02072b2986d4b0e7a824de05782ef7b03a0ba; from 463d018323851a608eef52a9427b0585005c647f before b949b2720688691f1e41bdbfbe3df2b6dc77c34d; from 463d018323851a608eef52a9427b0585005c647f before 4635b1a1c1d693178a537446a6e09963f0fdae52; 2.6.32 (not affected: before 2.6.32; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/caa02072b2986d4b0e7a824de05782ef7b03a0ba>
- <https://git.kernel.org/stable/c/b949b2720688691f1e41bdbfbe3df2b6dc77c34d>
- <https://git.kernel.org/stable/c/4635b1a1c1d693178a537446a6e09963f0fdae52>

## Sources

- CVE List: [CVE-2026-98330](https://www.cve.org/CVERecord?id=CVE-2026-98330), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98330](https://nvd.nist.gov/vuln/detail/CVE-2026-98330), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98330 · Whole record: https://cve.day/CVE-2026-98330.json · Rebuilt by cve.day 2026-11-25T22:59:42.331Z
