# CVE-2026-98340: wifi: cfg80211: only group hidden BSSes with beacon entries

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2026-10-06T08:46:30.796Z
- **Modified:** 2026-10-19T10:18:36.320Z

## Who should check

- Anyone running Linux \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 4cd6a518ce7527284bbc9baab5fa2453a7d477c2; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 74ed0d992f392c75e1969415527e06df3f7a4034; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 3658093df69849daf4f813a8f087f358e13be203; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 73365b81630b57e1a1f9d50dc87281797855c2ac; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 7405dd19bda4537a2843637d8d7bed1efd4776cf; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 86235be788094131912e9bd8412b358d91d99f49; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 332ea1502c46f53375cb109fa82bfaff818f3a41; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 068843ed0902c552a13860c5ec6b2ca65b57a065
- Anyone running Linux 3.9

## 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.

## Affected and fixed versions

- Linux: \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 4cd6a518ce7527284bbc9baab5fa2453a7d477c2; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 74ed0d992f392c75e1969415527e06df3f7a4034; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 3658093df69849daf4f813a8f087f358e13be203; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 73365b81630b57e1a1f9d50dc87281797855c2ac; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 7405dd19bda4537a2843637d8d7bed1efd4776cf; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 86235be788094131912e9bd8412b358d91d99f49; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 332ea1502c46f53375cb109fa82bfaff818f3a41; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 068843ed0902c552a13860c5ec6b2ca65b57a065 (cvelist)
- Linux: 3.9 (cvelist)

## Mitigation

- Upgrade Linux to 068843ed0902c552a13860c5ec6b2ca65b57a065 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98340.md
Affected: Linux >= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, < 4cd6a518ce7527284bbc9baab5fa2453a7d477c2; >= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, < 74ed0d992f392c75e1969415527e06df3f7a4034; >= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, < 3658093df69849daf4f813a8f087f358e13be203; >= 4593c4cbe1c96b3995727dc…
Fixed in: Linux 4cd6a518ce7527284bbc9baab5fa2453a7d477c2, Linux 74ed0d992f392c75e1969415527e06df3f7a4034, Linux 3658093df69849daf4f813a8f087f358e13be203, Linux 73365b81630b57e1a1f9d50dc87281797855c2ac, Linux 7405dd19bda4537a2843637d8d7bed1efd4776cf, Linux 86235be788094131912e9bd8412b358d91d99f49, Linux 332ea…

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-98340 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 4cd6a518ce7527284bbc9baab5fa2453a7d477c2; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 74ed0d992f392c75e1969415527e06df3f7a4034; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 3658093df69849daf4f813a8f087f358e13be203; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 73365b81630b57e1a1f9d50dc87281797855c2ac; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 7405dd19bda4537a2843637d8d7bed1efd4776cf; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 86235be788094131912e9bd8412b358d91d99f49; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 332ea1502c46f53375cb109fa82bfaff818f3a41; \>= 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc, \< 068843ed0902c552a13860c5ec6b2ca65b57a065; Linux 3.9.

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

Yes. Fixed in Linux 4cd6a518ce7527284bbc9baab5fa2453a7d477c2, Linux 74ed0d992f392c75e1969415527e06df3f7a4034, Linux 3658093df69849daf4f813a8f087f358e13be203, Linux 73365b81630b57e1a1f9d50dc87281797855c2ac, Linux 7405dd19bda4537a2843637d8d7bed1efd4776cf, Linux 86235be788094131912e9bd8412b358d91d99f49, Linux 332ea1502c46f53375cb109fa82bfaff818f3a41, Linux 068843ed0902c552a13860c5ec6b2ca65b57a065. Upgrade Linux to 068843ed0902c552a13860c5ec6b2ca65b57a065 or later.

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

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/4cd6a518ce7527284bbc9baab5fa2453a7d477c2>
- other: <https://git.kernel.org/stable/c/74ed0d992f392c75e1969415527e06df3f7a4034>
- other: <https://git.kernel.org/stable/c/3658093df69849daf4f813a8f087f358e13be203>
- other: <https://git.kernel.org/stable/c/73365b81630b57e1a1f9d50dc87281797855c2ac>
- other: <https://git.kernel.org/stable/c/7405dd19bda4537a2843637d8d7bed1efd4776cf>
- other: <https://git.kernel.org/stable/c/86235be788094131912e9bd8412b358d91d99f49>
- other: <https://git.kernel.org/stable/c/332ea1502c46f53375cb109fa82bfaff818f3a41>
- other: <https://git.kernel.org/stable/c/068843ed0902c552a13860c5ec6b2ca65b57a065>

## 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-98340>

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