wifi: cfg80211: don't filter by BSS type when removing stale entries
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 0afd425b1b64251f19b5d8d8b49bf56fefbc643f · fixed in 6ef87a853327434ae1cd9c5a2c27a557fb4047fc; From 0afd425b1b64251f19b5d8d8b49bf56fefbc643f · fixed in 1380ee3a202dbb9f8e8b3c3b87eb410450d57799; From 0afd425b1b64251f19b5d8d8b49bf56fefbc643f · fixed in fb445ec7480da5d2b82bf681e3b4313603722729; From 0afd425b1b64251f19b5d8d8b49bf56fefbc643f · fixed in 65fdb973bd905bc3f5cb045a04c1828f2d2a7e24; From 0afd425b1b64251f19b5d8d8b49bf56fefbc643f · fixed in 64e23a36d8f04811372365b44cfca325f8e0f4bb; From 0afd425b1b64251f19b5d8d8b49bf56fefbc643f · fixed in 6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25; From 0afd425b1b64251f19b5d8d8b49bf56fefbc643f · fixed in 0aa44982125c86b47961be5ac1c82eddab8080f3; From 0afd425b1b64251f19b5d8d8b49bf56fefbc643f · fixed in b377e1000d963e7182a987082b4b06580bd7ac84
- Linux Linux
5.4
- KernelLinux
From 5.4.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8
References 8
git.kernel.org
- stable/c/6ef87a853327434ae1cd9c5a2c27a557fb4047fc
- stable/c/1380ee3a202dbb9f8e8b3c3b87eb410450d57799
- stable/c/fb445ec7480da5d2b82bf681e3b4313603722729
- stable/c/65fdb973bd905bc3f5cb045a04c1828f2d2a7e24
- stable/c/64e23a36d8f04811372365b44cfca325f8e0f4bb
- stable/c/6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25
- stable/c/0aa44982125c86b47961be5ac1c82eddab8080f3
- stable/c/b377e1000d963e7182a987082b4b06580bd7ac84