# CVE-2026-98339: wifi: cfg80211: don't filter by BSS type when removing stale entries

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-10-06T08:46:29.998Z
- Modified: 2026-10-19T10:18:36.170Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f before 6ef87a853327434ae1cd9c5a2c27a557fb4047fc; from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f before 1380ee3a202dbb9f8e8b3c3b87eb410450d57799; from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f before fb445ec7480da5d2b82bf681e3b4313603722729; from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f before 65fdb973bd905bc3f5cb045a04c1828f2d2a7e24; from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f before 64e23a36d8f04811372365b44cfca325f8e0f4bb; from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f before 6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25; from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f before 0aa44982125c86b47961be5ac1c82eddab8080f3; from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f before b377e1000d963e7182a987082b4b06580bd7ac84; 5.4 (not affected: before 5.4; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/6ef87a853327434ae1cd9c5a2c27a557fb4047fc>
- <https://git.kernel.org/stable/c/1380ee3a202dbb9f8e8b3c3b87eb410450d57799>
- <https://git.kernel.org/stable/c/fb445ec7480da5d2b82bf681e3b4313603722729>
- <https://git.kernel.org/stable/c/65fdb973bd905bc3f5cb045a04c1828f2d2a7e24>
- <https://git.kernel.org/stable/c/64e23a36d8f04811372365b44cfca325f8e0f4bb>
- <https://git.kernel.org/stable/c/6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25>
- <https://git.kernel.org/stable/c/0aa44982125c86b47961be5ac1c82eddab8080f3>
- <https://git.kernel.org/stable/c/b377e1000d963e7182a987082b4b06580bd7ac84>

## Sources

- CVE List: [CVE-2026-98339](https://www.cve.org/CVERecord?id=CVE-2026-98339), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98339](https://nvd.nist.gov/vuln/detail/CVE-2026-98339), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98339 · Whole record: https://cve.day/CVE-2026-98339.json · Rebuilt by cve.day 2026-11-25T22:59:42.334Z
