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 6B8DA29DB64 for ; Sat, 16 Aug 2025 10:58:52 +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=1755341932; cv=none; b=qdCe7GzdojLuoLHV2T0cT8+QzgT77q4D+Ikzz2xuz5BRptrs0D5j3aUbFgNBUHVt56fW7+rMSjB6o1ep7K6m1RkVEOb2+8UXM0eNo8Zlq8Zg8wM0j2ANrWKow64cFGeuXKz1seiiO38TEQn+JrrmW9NepcJt//HE0otLrANpq8Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755341932; c=relaxed/simple; bh=AIDFJGBlTXwrctfr5Q/TiWaHnKJ+ur+KhTNejLVWYho=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uljKPizI3qp7M5TYZPNd+/rPKtPqCVautPYtmx8B2prlXYI2yobztaR3583PgLVdfrnKcBpsZF23qE7dhcdLXT2wC3s3OpUqlgWb3rhi/dOHZ9YamuQbVsWHTHpemxDlOLXMg7fDVOipoo4R+/mf7wXyF1Z4np/6RTWUoQKlEyg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XP2IHns0; 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="XP2IHns0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88B93C4CEEF; Sat, 16 Aug 2025 10:58:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755341931; bh=AIDFJGBlTXwrctfr5Q/TiWaHnKJ+ur+KhTNejLVWYho=; h=From:To:Cc:Subject:Date:Reply-to:From; b=XP2IHns0WwYgWEDORdsGOs7R5qLAJr1piOZrmMte6wPwbeJRnQe1mOOUrDW9kEzVX 7aetHXfQkScEXCYj99YETjevPfXeEj8E8yn3oj5Mdnk4Uc5rYuicL0JuMgcPvPI5xF BKmvTcgDXhrsQXWDcaJmE75R+PcaVJCG9v/hOAJc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38509: wifi: mac80211: reject VHT opmode for unsupported channel widths Date: Sat, 16 Aug 2025 12:57:51 +0200 Message-ID: <2025081650-CVE-2025-38509-e803@gregkh> X-Mailer: git-send-email 2.50.1 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=2456; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4z+nzfcPGn2RuM1dA6GIVvwbCafS0fWkuScYKNXmFH0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkLUvQ+tXkHTFUPkt/R2rHHdRLP7P0cuqlruuN7lfVVT 0bkesl2xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESWLWZYcPFVkezv/i72dW4+ 5/NCWmKv3qjuY5ifsr7cVjbULtZyUVvXrE03ZjxVV5gGAA== 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: mac80211: reject VHT opmode for unsupported channel widths VHT operating mode notifications are not defined for channel widths below 20 MHz. In particular, 5 MHz and 10 MHz are not valid under the VHT specification and must be rejected. Without this check, malformed notifications using these widths may reach ieee80211_chan_width_to_rx_bw(), leading to a WARN_ON due to invalid input. This issue was reported by syzbot. Reject these unsupported widths early in sta_link_apply_parameters() when opmode_notif is used. The accepted set includes 20, 40, 80, 160, and 80+80 MHz, which are valid for VHT. While 320 MHz is not defined for VHT, it is allowed to avoid rejecting HE or EHT clients that may still send a VHT opmode notification. The Linux kernel CVE team has assigned CVE-2025-38509 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 751e7489c1d74b94ffffbed619d8fd724eeff4ee and fixed in 6.15.7 with commit 18eca59a04500b68a90e0c5c873f97c9d1ea2bfa Issue introduced in 6.13 with commit 751e7489c1d74b94ffffbed619d8fd724eeff4ee and fixed in 6.16 with commit 58fcb1b4287ce38850402bb2bb16d09bf77b91d9 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-2025-38509 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/cfg.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/18eca59a04500b68a90e0c5c873f97c9d1ea2bfa https://git.kernel.org/stable/c/58fcb1b4287ce38850402bb2bb16d09bf77b91d9