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 31CD03E2767 for ; Tue, 6 Oct 2026 10:28:49 +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=1791282530; cv=none; b=fWzu9kXApQLiRDOR3VdrWUk5grgb5357MLI5RXRhNBOSIyKugOhaqlZtFRSnHleFD1geU7T8Itk7oqoVPTwjv9tusUZZQaStJNAao9C6wCZeck6kTIzZ3l3/PMKXbItQ5FeuTH7KRAkAMvkmR99XeZz+NIcJ7NqMQPwyd/6n7B8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282530; c=relaxed/simple; bh=/1WnVYAePRyvT12r/ozgqd4r9ukrKF80XxCv7HpP7Rw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PPl/UUFyl8Yz1Z48IEOK+Aj34/iglbiMQ0YxBI4foEsVaNfHSjqC0J28NVSAEXQwng+LF+A3y3RcO70JeWyq7MOgp2VMy2aQYK5T9R17msPh0k2TGKLcyYwTaexwcUpIiFTTbenI7nkVXTullrJVU9uqN+W7Jj7MNUKISXzbscQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=034fENzD; 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="034fENzD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86C161F000FF; Tue, 6 Oct 2026 10:28:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282529; bh=hAdW2dk59uw4CTkgl2u1PxQT5O318qYJkAUYkZckf/M=; h=From:To:Cc:Subject:Date:Reply-To; b=034fENzDnjLN0netb3TnoaS1JWq27jj+TTLYlXqDkPqWd2lEqx/FFnaFeNaYJa2dC xH+RYgwftCZHc+zkRrpT+WCpqbSh/1Czw8qUhU09fkhjFGuYsYMsISjOp82QOgBvUr vUPtHxnQWevgOk1lHuzaXIA/1ajuJFkzCbfYDerw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98340: wifi: cfg80211: only group hidden BSSes with beacon entries Date: Tue, 6 Oct 2026 10:47:21 +0200 Message-ID: <2026100617-CVE-2026-98340-0544@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=4170; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YXXHh7BMyzmD0bzEKigo+lR/cOG18eMIvPvLxT4hP/g=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtsreO37ieMJMWeYFd5RnT+SZ0cv9Yrdx8CVGU53Y1 l33WnZu7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJpPQyzM/aufnqQr8TfG9y TTrYpuuGrxDKuciwoGHRZoXYqqrt3Qbfprgd2rh65ouGUgA= 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: only group hidden BSSes with beacon entries When a probe response for an unknown BSS comes in, __cfg80211_bss_update() looks for an existing entry with the same BSSID and a hidden (zero-length or NUL-filled) SSID, and if it finds one it groups them, using the beacon IEs from the existing entry. But that could find another entry without a beacon, if it was also from a probe response (with SSID), so there's a group without beacon elements. If a beacon with a hidden SSID for that BSSID arrives later, cfg80211_combine_bsses() goes looking for the probe response entries that belong to it - i.e. entries with the same BSSID and channel that have no beacon IEs - and finds those two. They are already grouped with each other, so it hits its WARN_ON_ONCE(bss->pub.hidden_beacon_bss) WARN_ON_ONCE(!list_empty(&bss->hidden_list)) which are there because an entry without beacon elements is not supposed to be part of a group yet. Only combine entries when a beacon was already received, ones that are kept separate will be combined when a beacon arrives. The Linux kernel CVE team has assigned CVE-2026-98340 to this issue. Affected and fixed versions =========================== Issue introduced in 3.9 with commit 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc and fixed in 5.10.271 with commit 4cd6a518ce7527284bbc9baab5fa2453a7d477c2 Issue introduced in 3.9 with commit 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc and fixed in 5.15.222 with commit 74ed0d992f392c75e1969415527e06df3f7a4034 Issue introduced in 3.9 with commit 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc and fixed in 6.1.189 with commit 3658093df69849daf4f813a8f087f358e13be203 Issue introduced in 3.9 with commit 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc and fixed in 6.6.158 with commit 73365b81630b57e1a1f9d50dc87281797855c2ac Issue introduced in 3.9 with commit 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc and fixed in 6.12.112 with commit 7405dd19bda4537a2843637d8d7bed1efd4776cf Issue introduced in 3.9 with commit 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc and fixed in 6.18.54 with commit 86235be788094131912e9bd8412b358d91d99f49 Issue introduced in 3.9 with commit 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc and fixed in 7.2.8 with commit 332ea1502c46f53375cb109fa82bfaff818f3a41 Issue introduced in 3.9 with commit 4593c4cbe1c96b3995727dc42f6aa103f4ff5afc and fixed in 7.3-rc4 with commit 068843ed0902c552a13860c5ec6b2ca65b57a065 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-98340 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/4cd6a518ce7527284bbc9baab5fa2453a7d477c2 https://git.kernel.org/stable/c/74ed0d992f392c75e1969415527e06df3f7a4034 https://git.kernel.org/stable/c/3658093df69849daf4f813a8f087f358e13be203 https://git.kernel.org/stable/c/73365b81630b57e1a1f9d50dc87281797855c2ac https://git.kernel.org/stable/c/7405dd19bda4537a2843637d8d7bed1efd4776cf https://git.kernel.org/stable/c/86235be788094131912e9bd8412b358d91d99f49 https://git.kernel.org/stable/c/332ea1502c46f53375cb109fa82bfaff818f3a41 https://git.kernel.org/stable/c/068843ed0902c552a13860c5ec6b2ca65b57a065