# CVE-2026-98331: wifi: mac80211: unlist vifs when their netdev is unregistered

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 2, 2026-11-26)
- **Published:** 2026-10-06T08:46:23.481Z
- **Modified:** 2026-10-19T10:18:35.267Z

## Who should check

- Anyone running Linux \>= 463d018323851a608eef52a9427b0585005c647f, \< a22c02863439993095acd0c3db97fa53cd515f4f; \>= 463d018323851a608eef52a9427b0585005c647f, \< 20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0; \>= 463d018323851a608eef52a9427b0585005c647f, \< b735ad1a9aca6080192c1316cf2706e5e1318762; \>= 463d018323851a608eef52a9427b0585005c647f, \< d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1; \>= 463d018323851a608eef52a9427b0585005c647f, \< 821bab0456dfca12acef6df702c8f2477d313227; \>= 463d018323851a608eef52a9427b0585005c647f, \< eee2efd82867b623982ac51925b5a1812a74c50d
- Anyone running Linux 2.6.32

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211: unlist vifs when their netdev is unregistered

mac80211 only removes vifs from the local-\>interfaces list when
an interface is removed via ieee80211\_if\_remove(), before it
unregisters the netdev. However, it's possible for a netdev to
be unregistered without going through that: When the netns that
holds the wiphy is destroyed, the wiphy is supposed to move to
the init\_ns, but that can run into allocation failures.

Then, mac80211 has an interface listed that doesn't exist, and
will eventually hit

  BUG: failure at net/wireless/core.h:141/wiphy\_to\_rdev()!
  ...
  \_cfg80211\_unregister\_wdev+0x24/0x36a \[cfg80211\]
  cfg80211\_unregister\_wdev+0x15/0x1d \[cfg80211\]
  ieee80211\_remove\_interfaces+0x1ff/0x257 \[mac80211\]
  ieee80211\_unregister\_hw+0x73/0x1d1 \[mac80211\]
  mac80211\_hwsim\_del\_radio+0x114/0x166 \[mac80211\_hwsim\]

Remove the interface from the list in -\>ndo\_uninit if it's still
around to avoid this.

## Affected and fixed versions

- Linux: \>= 463d018323851a608eef52a9427b0585005c647f, \< a22c02863439993095acd0c3db97fa53cd515f4f; \>= 463d018323851a608eef52a9427b0585005c647f, \< 20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0; \>= 463d018323851a608eef52a9427b0585005c647f, \< b735ad1a9aca6080192c1316cf2706e5e1318762; \>= 463d018323851a608eef52a9427b0585005c647f, \< d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1; \>= 463d018323851a608eef52a9427b0585005c647f, \< 821bab0456dfca12acef6df702c8f2477d313227; \>= 463d018323851a608eef52a9427b0585005c647f, \< eee2efd82867b623982ac51925b5a1812a74c50d (cvelist)
- Linux: 2.6.32 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98331. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98331.md
Affected: Linux >= 463d018323851a608eef52a9427b0585005c647f, < a22c02863439993095acd0c3db97fa53cd515f4f; >= 463d018323851a608eef52a9427b0585005c647f, < 20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0; >= 463d018323851a608eef52a9427b0585005c647f, < b735ad1a9aca6080192c1316cf2706e5e1318762; >= 463d018323851a608eef52a…
Fixed in: Linux 20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0, Linux 821bab0456dfca12acef6df702c8f2477d313227

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98331 being exploited?

There is no confirmed exploitation: CVE-2026-98331 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98331?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-98331?

Linux \>= 463d018323851a608eef52a9427b0585005c647f, \< a22c02863439993095acd0c3db97fa53cd515f4f; \>= 463d018323851a608eef52a9427b0585005c647f, \< 20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0; \>= 463d018323851a608eef52a9427b0585005c647f, \< b735ad1a9aca6080192c1316cf2706e5e1318762; \>= 463d018323851a608eef52a9427b0585005c647f, \< d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1; \>= 463d018323851a608eef52a9427b0585005c647f, \< 821bab0456dfca12acef6df702c8f2477d313227; \>= 463d018323851a608eef52a9427b0585005c647f, \< eee2efd82867b623982ac51925b5a1812a74c50d; Linux 2.6.32.

### Is there a fix for CVE-2026-98331?

Yes. Fixed in Linux 20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0, Linux 821bab0456dfca12acef6df702c8f2477d313227. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98331?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a22c02863439993095acd0c3db97fa53cd515f4f>
- other: <https://git.kernel.org/stable/c/20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0>
- other: <https://git.kernel.org/stable/c/b735ad1a9aca6080192c1316cf2706e5e1318762>
- other: <https://git.kernel.org/stable/c/d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1>
- other: <https://git.kernel.org/stable/c/821bab0456dfca12acef6df702c8f2477d313227>
- other: <https://git.kernel.org/stable/c/eee2efd82867b623982ac51925b5a1812a74c50d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98331>

HTML: <https://flawdb.com/CVE-2026-98331> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98331>
