Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9030D175BC for ; Tue, 2 Apr 2024 07:02:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712041367; cv=none; b=p2n/F09tT8OW0jUMi6GySFeBPLPyBrPSiLJ+nditsgL0SyANq0lEgQGhwOboB1ukPPES7KiK6dxNjo3Q1u3LHEDm61nv0WZ8Jcoj4ZNEp31Hz/uO4ZXq+IPxqZO3U7aUmvj9xdoDalsYU94a6nxpvGQM0VLkYc2kqzIY4nS4aos= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712041367; c=relaxed/simple; bh=f+aa5UY2av+lsWwCe/DWCWq/Q4iULrSCvYy5FvdJaa8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YSAPN6qDfmUDW7W+MCAKyIbWvIlg0RozenY/4hn0k/ZuTEm/iQnF5w3xmWWhoR4aUOwHVcgNsT/J5hZ033U3gTTbnh+K2IoeXwEsIyydIlegXifSetAPXYFMFqkkkIiH21Bz5ddtk9NQJiSp67jUEj3OG8dNPwsKwn7A8Y6CbOI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HJuRMSSS; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="HJuRMSSS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13E11C433C7; Tue, 2 Apr 2024 07:02:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712041367; bh=f+aa5UY2av+lsWwCe/DWCWq/Q4iULrSCvYy5FvdJaa8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=HJuRMSSS1Af9XDSqIJe6v22uDDXTqbCVUlMms0mUSnK1tIcnZTd6S9fvkJhofL1Dc dIRqsQVA9zK2cBv+coDnstxQNDOiSdSoUPWoqqMfsfuuW9WVziUAZFm7rFlIADYBLP s1/cj8xIrcurwy1wPnvGBnrRtlaOytXabr4C4618= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26682: wifi: mac80211: improve CSA/ECSA connection refusal Date: Tue, 2 Apr 2024 09:01:59 +0200 Message-ID: <2024040254-CVE-2024-26682-f2b2@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2304; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=f+aa5UY2av+lsWwCe/DWCWq/Q4iULrSCvYy5FvdJaa8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnca5OeBS+7dH6+kFjx+azv/JXy2Ul5q2Z+uOjWyGP2c J2Z2qfsjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI638M8+tPLQt7eTefbfL3 vWbuGkfntjQsiWaYK2i3SOrHr/k7d/i+tJTUaz1bInvqEwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: improve CSA/ECSA connection refusal As mentioned in the previous commit, we pretty quickly found that some APs have ECSA elements stuck in their probe response, so using that to not attempt to connect while CSA is happening we never connect to such an AP. Improve this situation by checking more carefully and ignoring the ECSA if cfg80211 has previously detected the ECSA element being stuck in the probe response. Additionally, allow connecting to an AP that's switching to a channel it's already using, unless it's using quiet mode. In this case, we may just have to adjust bandwidth later. If it's actually switching channels, it's better not to try to connect in the middle of that. The Linux kernel CVE team has assigned CVE-2024-26682 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit c09c4f31998b and fixed in 6.7.5 with commit ea88bde8e3fe Issue introduced in 6.7 with commit c09c4f31998b and fixed in 6.8 with commit 35e2385dbe78 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-2024-26682 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/mac80211/mlme.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/ea88bde8e3fefbe4268f6991375dd629895a090a https://git.kernel.org/stable/c/35e2385dbe787936c793d70755a5177d267a40aa