Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 268C43E2ACA for ; Tue, 6 Oct 2026 10:28:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282527; cv=none; b=iaaYT05N0MvpryW6868rOcexK75Cvo4g7tSSLBn1IVCvH/lgVCRIHGHiuIVKGqoZVyHEiWwAdKZc60OIRnzuKUXsXCe4mt5fpoRz1i9riT+v000Vz3NOPnhXxMmK53TpWp8S5/DwF3mKGe4SlohfiqG/dO3NohVLkfLsiTm3Aqg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282527; c=relaxed/simple; bh=MHC2+sJc/LD/u3DrR2iFvETFtcl7B27DxwWVLHAZRAE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XUEsu9nXaE7rdyMPFxaMTNhy4pG+bFb3FNKhkOjX/9wf2w1kehBcMGBb6sIhBy+omlFV6kLQGV1qh3JPI3ThHoDrLy1JY91MeJxU8CmaMtJDFsFeYEdFapucW09EcLOz8MLDaTqw4AyKsm9xK+nPAyPgH5NUIaBD9axNUwrGRj4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=A8s/Ni+Z; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="A8s/Ni+Z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E1CA1F000FF; Tue, 6 Oct 2026 10:28:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282525; bh=JGvQYwFjEjXLIl9ffrJVxwQHLI9wiMlHnbfQzBVPJXw=; h=From:To:Cc:Subject:Date:Reply-To; b=A8s/Ni+ZaB+0nOAZalSlwGmSEoMTd/li0Xxi0qfqtixxhW88Y3ozl01UpoDRG6fiw WfWy5PkRYUQqFoKJm/mytfjzNPSt5GYFnMOlDhNC7680DYeMedx1RTK5B/gtBNYZiz kNmq5UYrW64ce/SdzQcy0f8nfBPmNpgMyVQ5ee0Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98339: wifi: cfg80211: don't filter by BSS type when removing stale entries Date: Tue, 6 Oct 2026 10:47:20 +0200 Message-ID: <2026100617-CVE-2026-98339-012f@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3743; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bO4xYYP+u6wMTqBQFr4td6Qw9N2p1KwKWojEQLhHiMk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtsrODW3vlZbkWH6Gu/dG+wre5b+2p3zZ/n/r7EPtP ivPTlzf2BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATyVdnWHB9sq+2T7QM92y2 OKNfc3gfZxQzeTLMZvP/eXtNM+OHI2ql7EbmIkesDs81BgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98339 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 0afd425b1b64251f19b5d8d8b49bf56fefbc643f and fixed in 5.10.271 with commit 6ef87a853327434ae1cd9c5a2c27a557fb4047fc Issue introduced in 5.4 with commit 0afd425b1b64251f19b5d8d8b49bf56fefbc643f and fixed in 5.15.222 with commit 1380ee3a202dbb9f8e8b3c3b87eb410450d57799 Issue introduced in 5.4 with commit 0afd425b1b64251f19b5d8d8b49bf56fefbc643f and fixed in 6.1.189 with commit fb445ec7480da5d2b82bf681e3b4313603722729 Issue introduced in 5.4 with commit 0afd425b1b64251f19b5d8d8b49bf56fefbc643f and fixed in 6.6.158 with commit 65fdb973bd905bc3f5cb045a04c1828f2d2a7e24 Issue introduced in 5.4 with commit 0afd425b1b64251f19b5d8d8b49bf56fefbc643f and fixed in 6.12.112 with commit 64e23a36d8f04811372365b44cfca325f8e0f4bb Issue introduced in 5.4 with commit 0afd425b1b64251f19b5d8d8b49bf56fefbc643f and fixed in 6.18.54 with commit 6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25 Issue introduced in 5.4 with commit 0afd425b1b64251f19b5d8d8b49bf56fefbc643f and fixed in 7.2.8 with commit 0aa44982125c86b47961be5ac1c82eddab8080f3 Issue introduced in 5.4 with commit 0afd425b1b64251f19b5d8d8b49bf56fefbc643f and fixed in 7.3-rc4 with commit b377e1000d963e7182a987082b4b06580bd7ac84 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98339 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/wireless/scan.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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