CVE-2026-98331·Kernel vulnerability
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
- high
- Software
- Kernel
- Fixed in
- 6.1.189, 6.6.158, 6.12.112, 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-98331 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 a patched stable version to resolve a critical interface management flaw in mac80211 wireless drivers. Users should upgrade to kernel 6.1.189, 6.6.158, 6.12.112, 6.18.54, or 7.2.8 depending on their current stable branch, or install the patched kernel package provided by their Linux distribution. Do not jump to mainline kernel 7.3 unless you are already tracking development releases.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if your kernel version is older than 6.1.189, 6.6.158, 6.12.112, 6.18.54, or 7.2.8 by comparing the version numbers against the fixed releases for your stable branch
- Search kernel logs for the BUG message: sudo grep -i 'BUG.*wiphy_to_rdev' /var/log/kern.log or dmesg | grep -i 'wiphy_to_rdev'
- Confirm the patch was applied by checking: cat /proc/version and verifying the kernel version matches or exceeds the fixed version for your branch
FAQ
What is CVE-2026-98331?
This vulnerability affects the Linux kernel's mac80211 wireless driver subsystem, where virtual interfaces (vifs) could remain listed in memory after their network devices are unregistered, causing kernel crashes when the system attempts to access dangling references during cleanup.
Is CVE-2026-98331 being actively exploited?
No, there are no reports of active exploitation or public exploits available for this vulnerability. It is primarily a stability/reliability issue rather than a security bypass.
What versions of Kernel are affected by CVE-2026-98331?
Versions prior to 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8, and mainline 7.3 are affected. The exact affected version range depends on which stable branch you are running.
How do I check if my server is vulnerable to CVE-2026-98331?
Run 'uname -r' and compare your kernel version against the fixed versions: 6.1.189, 6.6.158, 6.12.112, 6.18.54, or 7.2.8. If your version is older than the corresponding fixed release for your branch, you are vulnerable.
Does Defensia detect CVE-2026-98331?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98331 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/20a56e96a6f7b4dfbd13f8732fd2673409fc7ba0
- https://git.kernel.org/stable/c/821bab0456dfca12acef6df702c8f2477d313227
- https://git.kernel.org/stable/c/a22c02863439993095acd0c3db97fa53cd515f4f
- https://git.kernel.org/stable/c/b735ad1a9aca6080192c1316cf2706e5e1318762
- https://git.kernel.org/stable/c/d45bf731ec7085d2cc2c5d179d3b3b6c743d4fb1
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98331. Free for 1 server.
Get started free