CVE-2026-98339·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: don't filter by BSS type when removing stale entries When an assoc AP switches to a channel that already has a BSS entry, cfg80211_update_assoc_bss_entry() removes that entry before rehashing the real one, since the two would otherwise collide in the BSS rbtree. The lookup for that entry also required it to match the connection's BSS type, so an entry advertising e.g. the IBSS capability bit was left in place, and the following cfg80211_rehash_bss() then ran into it: WARN_ON(!cmp) Changing the type shouldn't really happen, but can be triggered by a rogue AP/device, so drop the check and remove any entries matching the comparison.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8, 7.3
- Published
How to fix this CVE
Update your Linux kernel to a patched version that resolves improper BSS entry filtering in cfg80211. Apply the update corresponding to your currently deployed kernel branch: 5.10.271+, 5.15.222+, 6.1.189+, 6.6.158+, 6.12.112+, 6.18.54+, or 7.2.8+ depending on which stable series you run. Most users should update within their existing kernel branch via their distribution's package manager rather than jumping to mainline.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the fixed versions (5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8 or later in your branch).
- Step 2: Verify cfg80211 wireless driver is loaded by running `lsmod | grep cfg80211`. If output is empty, the vulnerable component is not active.
- Step 3: Search kernel logs for BSS rehashing warnings with `sudo dmesg | grep -i 'WARN_ON\|cfg80211\|bss' | tail -20` to identify if the collision handling code executed.
- Step 4: After applying the patch, reboot and confirm the new kernel version with `uname -r` matches one of the fixed releases.
FAQ
What is CVE-2026-98339?
This is a cfg80211 wireless configuration flaw in the Linux kernel where incorrect BSS (Basic Service Set) entry filtering allows rogue access points to cause kernel warnings and potential instability during BSS rehashing operations.
Is CVE-2026-98339 being actively exploited?
No, this vulnerability is not listed on the CISA KEV catalog and no public exploits are available. However, it can be triggered by a malicious or misconfigured wireless access point.
What versions of Kernel are affected by CVE-2026-98339?
The vulnerability affects Linux kernel versions prior to: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.54, and 7.2.8. All kernel versions below these thresholds in their respective branches are vulnerable.
How do I check if my server is vulnerable to CVE-2026-98339?
Run `uname -r` to get your kernel version, then compare it against the fixed versions for your branch. If your version is older than the corresponding fixed release, you are vulnerable.
Does Defensia detect CVE-2026-98339?
Yes — Defensia's CVE advisory scanner compares installed kernel versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2026-98339 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0aa44982125c86b47961be5ac1c82eddab8080f3
- https://git.kernel.org/stable/c/1380ee3a202dbb9f8e8b3c3b87eb410450d57799
- https://git.kernel.org/stable/c/64e23a36d8f04811372365b44cfca325f8e0f4bb
- https://git.kernel.org/stable/c/65fdb973bd905bc3f5cb045a04c1828f2d2a7e24
- https://git.kernel.org/stable/c/6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98339. Free for 1 server.
Get started free