CVE-2026-98339 PUBLISHED

wifi: cfg80211: don't filter by BSS type when removing stale entries

Assigner: Linux
Reserved: 25.09.2026 Published: 06.10.2026 Updated: 06.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to 6ef87a853327434ae1cd9c5a2c27a557fb4047fc (excl.)
  • affected from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to 1380ee3a202dbb9f8e8b3c3b87eb410450d57799 (excl.)
  • affected from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to fb445ec7480da5d2b82bf681e3b4313603722729 (excl.)
  • affected from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to 65fdb973bd905bc3f5cb045a04c1828f2d2a7e24 (excl.)
  • affected from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to 64e23a36d8f04811372365b44cfca325f8e0f4bb (excl.)
  • affected from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to 6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25 (excl.)
  • affected from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to 0aa44982125c86b47961be5ac1c82eddab8080f3 (excl.)
  • affected from 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to b377e1000d963e7182a987082b4b06580bd7ac84 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.4 is affected
  • unaffected from 0 to 5.4 (excl.)
  • unaffected from 5.10.271 to 5.10.* (incl.)
  • unaffected from 5.15.222 to 5.15.* (incl.)
  • unaffected from 6.1.189 to 6.1.* (incl.)
  • unaffected from 6.6.158 to 6.6.* (incl.)
  • unaffected from 6.12.112 to 6.12.* (incl.)
  • unaffected from 6.18.54 to 6.18.* (incl.)
  • unaffected from 7.2.8 to 7.2.* (incl.)
  • unaffected from 7.3-rc4 to * (incl.)

References