CVE-2026-98340
wifi: cfg80211: only group hidden BSSes with beacon entries
Check your servers for CVE-2026-98340
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-98340 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: cfg80211: only group hidden BSSes with beacon entries
When a probe response for an unknown BSS comes in, __cfg80211_bss_update() looks for an existing entry with the same BSSID and a hidden (zero-length or NUL-filled) SSID, and if it finds one it groups them, using the beacon IEs from the existing entry.
But that could find another entry without a beacon, if it was also from a probe response (with SSID), so there's a group without beacon elements.
If a beacon with a hidden SSID for that BSSID arrives later, cfg80211_combine_bsses() goes looking for the probe response entries that belong to it - i.e. entries with the same BSSID and channel that have no beacon IEs - and finds those two. They are already grouped with each other, so it hits its
WARN_ON_ONCE(bss->pub.hidden_beacon_bss) WARN_ON_ONCE(!list_empty(&bss->hidden_list))
which are there because an entry without beacon elements is not supposed to be part of a group yet.
Only combine entries when a beacon was already received, ones that are kept separate will be combined when a beacon arrives.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.54% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, before 4cd6a518ce7527284bbc9baab5fa2453a7d477c2 affected from 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, before 74ed0d992f392c75e1969415527e06df3f7a4034 affected from 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, before 3658093df69849daf4f813a8f087f358e13be203 affected from 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, before 73365b81630b57e1a1f9d50dc87281797855c2ac affected from 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, before 7405dd19bda4537a2843637d8d7bed1efd4776cf affected from 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, before 86235be788094131912e9bd8412b358d91d99f49 affected from 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, before 332ea1502c46f53375cb109fa82bfaff818f3a41 affected from 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, before 068843ed0902c552a13860c5ec6b2ca65b57a065
Other versions: unaffected
|
| Linux |
affected 3.9 unaffected before 3.9 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* 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-98340 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98340
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-98340
trivy image --scanners vuln IMAGE | grep CVE-2026-98340
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/4cd6a518ce7527284bbc9baab5fa2453a7d477c2 git.kernel.org
- https://git.kernel.org/stable/c/74ed0d992f392c75e1969415527e06df3f7a4034 git.kernel.org
- https://git.kernel.org/stable/c/3658093df69849daf4f813a8f087f358e13be203 git.kernel.org
- https://git.kernel.org/stable/c/73365b81630b57e1a1f9d50dc87281797855c2ac git.kernel.org
- https://git.kernel.org/stable/c/7405dd19bda4537a2843637d8d7bed1efd4776cf git.kernel.org
- https://git.kernel.org/stable/c/86235be788094131912e9bd8412b358d91d99f49 git.kernel.org
- https://git.kernel.org/stable/c/332ea1502c46f53375cb109fa82bfaff818f3a41 git.kernel.org
- https://git.kernel.org/stable/c/068843ed0902c552a13860c5ec6b2ca65b57a065 git.kernel.org
Source: the record CVE-2026-98340 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