{"id":"CVE-2026-98340","aliases":["CVE-2026-98340"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: cfg80211: only group hidden BSSes with beacon entries","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: only group hidden BSSes with beacon entries\n\nWhen a probe response for an unknown BSS comes in, __cfg80211_bss_update()\nlooks for an existing entry with the same BSSID and a hidden (zero-length\nor NUL-filled) SSID, and if it finds one it groups them, using the beacon\nIEs from the existing entry.\n\nBut that could find another entry without a beacon, if it was also from a\nprobe response (with SSID), so there's a group without beacon elements.\n\nIf a beacon with a hidden SSID for that BSSID arrives later,\ncfg80211_combine_bsses() goes looking for the probe response entries that\nbelong to it - i.e. entries with the same BSSID and channel that have no\nbeacon IEs - and finds those two. They are already grouped with each\nother, so it hits its\n\n  WARN_ON_ONCE(bss->pub.hidden_beacon_bss)\n  WARN_ON_ONCE(!list_empty(&bss->hidden_list))\n\nwhich are there because an entry without beacon elements is not supposed\nto be part of a group yet.\n\nOnly combine entries when a beacon was already received, ones that are\nkept separate will be combined when a beacon arrives.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: only group hidden BSSes with beacon entries\n\nWhen a probe response for an unknown BSS comes in, __cfg80211_bss_update()\nlooks for an existing entry with the same BSSID and a hidden (zero-length\nor NUL-filled) SSID, and if it finds one it groups them, using the beacon\nIEs from the existing entry.\n\nBut that could find another entry without a beacon, if it was also from a\nprobe response (with SSID), so there's a group without beacon elements.\n\nIf a beacon with a hidden SSID for that BSSID arrives later,\ncfg80211_combine_bsses() goes looking for the probe response entries that\nbelong to it - i.e. entries with the same BSSID and channel that have no\nbeacon IEs - and finds those two. They are already grouped with each\nother, so it hits its\n\n  WARN_ON_ONCE(bss->pub.hidden_beacon_bss)\n  WARN_ON_ONCE(!list_empty(&bss->hidden_list))\n\nwhich are there because an entry without beacon elements is not supposed\nto be part of a group yet.\n\nOnly combine entries when a beacon was already received, ones that are\nkept separate will be combined when a beacon arrives.","source":"cvelist"}],"published":"2026-10-06T08:46:30.796Z","modified":"2026-10-19T10:18:36.320Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4593c4cbe1c96b3995727dc42f6aa103f4ff5afc","fixed":"4cd6a518ce7527284bbc9baab5fa2453a7d477c2","status":"affected"},{"type":"git","introduced":"4593c4cbe1c96b3995727dc42f6aa103f4ff5afc","fixed":"74ed0d992f392c75e1969415527e06df3f7a4034","status":"affected"},{"type":"git","introduced":"4593c4cbe1c96b3995727dc42f6aa103f4ff5afc","fixed":"3658093df69849daf4f813a8f087f358e13be203","status":"affected"},{"type":"git","introduced":"4593c4cbe1c96b3995727dc42f6aa103f4ff5afc","fixed":"73365b81630b57e1a1f9d50dc87281797855c2ac","status":"affected"},{"type":"git","introduced":"4593c4cbe1c96b3995727dc42f6aa103f4ff5afc","fixed":"7405dd19bda4537a2843637d8d7bed1efd4776cf","status":"affected"},{"type":"git","introduced":"4593c4cbe1c96b3995727dc42f6aa103f4ff5afc","fixed":"86235be788094131912e9bd8412b358d91d99f49","status":"affected"},{"type":"git","introduced":"4593c4cbe1c96b3995727dc42f6aa103f4ff5afc","fixed":"332ea1502c46f53375cb109fa82bfaff818f3a41","status":"affected"},{"type":"git","introduced":"4593c4cbe1c96b3995727dc42f6aa103f4ff5afc","fixed":"068843ed0902c552a13860c5ec6b2ca65b57a065","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4cd6a518ce7527284bbc9baab5fa2453a7d477c2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/74ed0d992f392c75e1969415527e06df3f7a4034","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3658093df69849daf4f813a8f087f358e13be203","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73365b81630b57e1a1f9d50dc87281797855c2ac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7405dd19bda4537a2843637d8d7bed1efd4776cf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86235be788094131912e9bd8412b358d91d99f49","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/332ea1502c46f53375cb109fa82bfaff818f3a41","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/068843ed0902c552a13860c5ec6b2ca65b57a065","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98340","url":"https://www.cve.org/CVERecord?id=CVE-2026-98340","licence":"CVE Terms of Use","modified":"2026-10-19T09:17:51.387Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98340","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98340","licence":"Public domain","modified":"2026-10-19T10:18:36.320Z"}],"updatedAt":"2026-11-25T22:59:42.334Z","epss":{"score":0.00177,"percentile":0.07537,"date":"2026-12-01T12:00:22.000Z"}}