CVE-2026-98339

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

State
Published
Severity
8.8 High
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to before 6ef87a853327434ae1cd9c5a2c27a557fb4047fcAffected
  • 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to before 1380ee3a202dbb9f8e8b3c3b87eb410450d57799Affected
  • 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to before fb445ec7480da5d2b82bf681e3b4313603722729Affected
  • 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to before 65fdb973bd905bc3f5cb045a04c1828f2d2a7e24Affected
  • 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to before 64e23a36d8f04811372365b44cfca325f8e0f4bbAffected
  • 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to before 6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25Affected
  • 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to before 0aa44982125c86b47961be5ac1c82eddab8080f3Affected
  • 0afd425b1b64251f19b5d8d8b49bf56fefbc643f to before b377e1000d963e7182a987082b4b06580bd7ac84Affected
LinuxLinux
  • 5.4Affected
  • before 5.4Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.