CVE-2026-98331
wifi: mac80211: unlist vifs when their netdev is unregistered
Check your servers for CVE-2026-98331
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98331 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.46% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 463d018323851a608eef52a9427b0585005c647f, before a22c02863439993095acd0c3db97fa53cd515f4f affected from 463d018323851a608eef52a9427b0585005c647f, before 20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0 affected from 463d018323851a608eef52a9427b0585005c647f, before b735ad1a9aca6080192c1316cf2706e5e1318762 affected from 463d018323851a608eef52a9427b0585005c647f, before d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1 affected from 463d018323851a608eef52a9427b0585005c647f, before 821bab0456dfca12acef6df702c8f2477d313227 affected from 463d018323851a608eef52a9427b0585005c647f, before eee2efd82867b623982ac51925b5a1812a74c50d
Other versions: unaffected
|
| Linux |
affected 2.6.32 unaffected before 2.6.32 unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.54 up to and including 6.18.* unaffected from 7.2.8 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98331 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98331
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98331
trivy image --scanners vuln IMAGE | grep CVE-2026-98331
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a22c02863439993095acd0c3db97fa53cd515f4f git.kernel.org
- https://git.kernel.org/stable/c/20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0 git.kernel.org
- https://git.kernel.org/stable/c/b735ad1a9aca6080192c1316cf2706e5e1318762 git.kernel.org
- https://git.kernel.org/stable/c/d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1 git.kernel.org
- https://git.kernel.org/stable/c/821bab0456dfca12acef6df702c8f2477d313227 git.kernel.org
- https://git.kernel.org/stable/c/eee2efd82867b623982ac51925b5a1812a74c50d git.kernel.org
Source: the record CVE-2026-98331 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse