---
id: CVE-2026-98330
title: |-
  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 namesp…
summary: |-
  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 namesp…
severity: high
cvss: 7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 463d018323851a608eef52a9427b0585005c647f <
    caa02072b2986d4b0e7a824de05782ef7b03a0ba
  - >-
    Linux >= 463d018323851a608eef52a9427b0585005c647f <
    b949b2720688691f1e41bdbfbe3df2b6dc77c34d
  - >-
    Linux >= 463d018323851a608eef52a9427b0585005c647f <
    4635b1a1c1d693178a537446a6e09963f0fdae52
  - Linux 2.6.32
published: '2026-10-06'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T07:17:09.257'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98330'
references:
  - url: 'https://git.kernel.org/stable/c/4635b1a1c1d693178a537446a6e09963f0fdae52'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b949b2720688691f1e41bdbfbe3df2b6dc77c34d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/caa02072b2986d4b0e7a824de05782ef7b03a0ba'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98330.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98330'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2546504'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98330'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98330'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98330.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.0012
epssPercentile: 0.018
ingestedAt: '2026-10-06T08:50:17.403Z'
cwe:
  - CWE-825
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-10-10 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98330.json)
