From mboxrd@z Thu Jan 1 00:00:00 1970 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 57CA4191 for ; Wed, 21 Aug 2024 00:07:50 +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=1724198870; cv=none; b=pXIe6oYLINWtGs1rRpGdUf9kQSRkp+KVS2ZfoRJeVWdIPqahbKW3+YH49Q+ehfSCz/hv19Mbvt99H3kgqEjGGVQKh72CL6YzEC8LRLLJ2dMfawYTdFnao8VDIn4GMuIncB5kiLwBz2m+Tq1AY6ALe/Np+r7mXj6w8Macl1L6KrM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724198870; c=relaxed/simple; bh=Z3AzGPKBNAsVbPdCc+0boiW50d05MJIa6COSYgIrxEE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bElzfiNQ6o+GBgPOfjpPShT5T2sq5CLW6w8tlvxa35nhMdqkdCEQsHuN8s0j8wfOKk3+05o1YQoD3/7A/CBBDS/IUfaSZMndD9z0f4B9xnaOSjfkwYrJOLUu2WBwTSWk7+tvMTFzBwjnuvMSXrzMEj6KbHgCFf98kKUE+SoXVkU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=l81tdGAY; 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="l81tdGAY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 732F0C4AF09; Wed, 21 Aug 2024 00:07:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724198869; bh=Z3AzGPKBNAsVbPdCc+0boiW50d05MJIa6COSYgIrxEE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=l81tdGAY43uh+8NhilmSXcIskg8OtIeAUOET667OVmdostXOxqDKoA37C29xrowoa m8CMCOldW8uv+9GiFXcptwmpBi+FsAfdyBfu/2yAEDBl0yXV2Em8pgWSOG6tKqjM2T 7ybcHt+S54uL1F8JeSRIKKz1J6lhNsVlWSdriW1w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43879: wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he() Date: Wed, 21 Aug 2024 08:07:43 +0800 Message-ID: <2024082137-CVE-2024-43879-95cb@gregkh> X-Mailer: git-send-email 2.46.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=3069; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Z3AzGPKBNAsVbPdCc+0boiW50d05MJIa6COSYgIrxEE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlH9U8uP8EnJ7TmROq79MmtKy26BZluZgc1ZD88IdOTK nqDU9muI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYyyYxhfskk/myWYJvJMac3 q/3nS2Z7xaulxbBg5WTHuc6sfuxaPW8mnddOVtC5+m4BAA== 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: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he() Currently NL80211_RATE_INFO_HE_RU_ALLOC_2x996 is not handled in cfg80211_calculate_bitrate_he(), leading to below warning: kernel: invalid HE MCS: bw:6, ru:6 kernel: WARNING: CPU: 0 PID: 2312 at net/wireless/util.c:1501 cfg80211_calculate_bitrate_he+0x22b/0x270 [cfg80211] Fix it by handling 2x996 RU allocation in the same way as 160 MHz bandwidth. The Linux kernel CVE team has assigned CVE-2024-43879 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit c4cbaf7973a7 and fixed in 4.19.320 with commit 45d20a1c54be Issue introduced in 4.19 with commit c4cbaf7973a7 and fixed in 5.4.282 with commit b289ebb05165 Issue introduced in 4.19 with commit c4cbaf7973a7 and fixed in 5.10.224 with commit 2e201b3d162c Issue introduced in 4.19 with commit c4cbaf7973a7 and fixed in 5.15.165 with commit 576c64622649 Issue introduced in 4.19 with commit c4cbaf7973a7 and fixed in 6.1.103 with commit 16ad67e73309 Issue introduced in 4.19 with commit c4cbaf7973a7 and fixed in 6.6.44 with commit 67b5f1054197 Issue introduced in 4.19 with commit c4cbaf7973a7 and fixed in 6.10.3 with commit 19eaf4f2f5a9 Issue introduced in 4.19 with commit c4cbaf7973a7 and fixed in 6.11-rc1 with commit bcbd771cd5d6 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-43879 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/util.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/45d20a1c54be4f3173862c7b950d4468447814c9 https://git.kernel.org/stable/c/b289ebb0516526cb4abae081b7ec29fd4fa1209d https://git.kernel.org/stable/c/2e201b3d162c6c49417c438ffb30b58c9f85769f https://git.kernel.org/stable/c/576c64622649f3ec07e97bac8fec8b8a2ef4d086 https://git.kernel.org/stable/c/16ad67e73309db0c20cc2a651992bd01c05e6b27 https://git.kernel.org/stable/c/67b5f1054197e4f5553047759c15c1d67d4c8142 https://git.kernel.org/stable/c/19eaf4f2f5a981f55a265242ada2bf92b0c742dd https://git.kernel.org/stable/c/bcbd771cd5d68c0c52567556097d75f9fc4e7cd6