{"id":"CVE-2026-98338","summary":"wifi: cfg80211: ibss: ref BSS entry for joined event","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: ibss: ref BSS entry for joined event\n\nWhen the IBSS is joined, we only record the BSSID/channel in the event\nand look up the BSS entry when processing it. However, that's racy,\ne.g. a new scan with NL80211_SCAN_FLAG_FLUSH can remove it, causing a\nwarning in the event work:\n\n  !bss\n  WARNING: net/wireless/ibss.c:37 at __cfg80211_ibss_joined+0x3d3/0x440\n  Workqueue: cfg80211 cfg80211_event_work\n   cfg80211_process_wdev_events+0x39f/0x5b0 net/wireless/util.c:1144\n   cfg80211_process_rdev_events+0xa1/0x110 net/wireless/util.c:1179\n   cfg80211_event_work+0x2f/0x40 net/wireless/core.c:393\n\nDo the lookup early (the driver is expected to only join an IBSS that\nhas a BSS entry) and keep a reference to it.","modified":"2026-10-08T02:52:57.706953822Z","published":"2026-10-06T08:46:29.213Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98338.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/708f9d43d6a2eb9c6b83fe62af628de9dffd9314"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0e3f019e461ac42e45aa3ec1216cefaca2f4a8b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98338.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98338"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"667503ddcb96f3b10211f997fe55907fa7509841"},{"fixed":"b0e3f019e461ac42e45aa3ec1216cefaca2f4a8b"},{"fixed":"708f9d43d6a2eb9c6b83fe62af628de9dffd9314"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98338.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.32"},{"fixed":"7.2.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98338.json"}}],"schema_version":"1.9.0"}