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 18D8C1F429E for ; Mon, 21 Oct 2024 12:16:45 +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=1729513006; cv=none; b=m3tJQ9798kTT7shpOpPN91A6VsAaDmV72VMpAb4kuWkSykYuiVodZo8iDYzz66Q5Jmm3KelKQLA201dwEgjxImr92HNg/fKw9GiGELWh2IvVbrGLMCk+nmuipRSb6X7Ow2cJ204q4Geukaqe2Cpc65sN8cY7mmTVGnHjxOjaRKg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729513006; c=relaxed/simple; bh=ToONniNVcOB6tgot8Zf01J28IRXSX92NQKSY6nLBC50=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=h0HCJAq/CHJtIfvspcn4kaG9xTQHCGDEAyJQA2kZij0dG4Az/dlZ8Sja/L1lXAG29QRpyd7Keh2VCZn2nYdXTTKHtdbmxnD7CicZphK/9v4iE6kkmCyABXHoLP7AtlismZdHvOR6Yx3aZhHITT+m9LHdhVXKrq+q9yLk0wuAHu8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RbykPuBw; 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="RbykPuBw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47D65C4CEC3; Mon, 21 Oct 2024 12:16:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729513005; bh=ToONniNVcOB6tgot8Zf01J28IRXSX92NQKSY6nLBC50=; h=From:To:Cc:Subject:Date:Reply-to:From; b=RbykPuBwW8iXiwXZPdQTwjgY4xRxbp8kiksDnC9/Q0kArLZj5SVc+3atslnF2dp6A w8vydYm5wgVzlF7fUFFDzrh47+mn0suextEw8jjiLRDQW0l0ilK77VlHbnaDKfpXyC aRY4J1oBg1BjfkL7k2o37HVdIdIk2WxnwWZ3qFGs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-47738: wifi: mac80211: don't use rate mask for offchannel TX either Date: Mon, 21 Oct 2024 14:16:17 +0200 Message-ID: <2024102108-CVE-2024-47738-3f0e@gregkh> X-Mailer: git-send-email 2.47.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=3120; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ToONniNVcOB6tgot8Zf01J28IRXSX92NQKSY6nLBC50=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlibpzNkyTVXQMP+T/eF7gyqaO9/m6W7TrPazr8Ee3Tl HXtXid1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwES8HzDMFaidnX1uevH1O8G3 Z31d0KPavXOrAcM8JfXiwLZXmf+6Gx1n8vFYmkq9ba4FAA== 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: don't use rate mask for offchannel TX either Like the commit ab9177d83c04 ("wifi: mac80211: don't use rate mask for scanning"), ignore incorrect settings to avoid no supported rate warning reported by syzbot. The syzbot did bisect and found cause is commit 9df66d5b9f45 ("cfg80211: fix default HE tx bitrate mask in 2G band"), which however corrects bitmask of HE MCS and recognizes correctly settings of empty legacy rate plus HE MCS rate instead of returning -EINVAL. As suggestions [1], follow the change of SCAN TX to consider this case of offchannel TX as well. [1] https://lore.kernel.org/linux-wireless/6ab2dc9c3afe753ca6fdcdd1421e7a1f47e87b84.camel@sipsolutions.net/T/#m2ac2a6d2be06a37c9c47a3d8a44b4f647ed4f024 The Linux kernel CVE team has assigned CVE-2024-47738 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 9df66d5b9f45 and fixed in 6.1.113 with commit aafca50e71dc Issue introduced in 5.14 with commit 9df66d5b9f45 and fixed in 6.6.54 with commit d54455a3a965 Issue introduced in 5.14 with commit 9df66d5b9f45 and fixed in 6.10.13 with commit 3565ef215101 Issue introduced in 5.14 with commit 9df66d5b9f45 and fixed in 6.11.2 with commit 43897111481b Issue introduced in 5.14 with commit 9df66d5b9f45 and fixed in 6.12-rc1 with commit e7a7ef9a0742 Issue introduced in 5.10.51 with commit 1b728869a134 Issue introduced in 5.12.18 with commit ccedf8163fa6 Issue introduced in 5.13.3 with commit 5924678a442d 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-47738 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: include/net/mac80211.h net/mac80211/offchannel.c net/mac80211/rate.c net/mac80211/scan.c net/mac80211/tx.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/aafca50e71dc8f3192a5bfb325135a7908f3ef9e https://git.kernel.org/stable/c/d54455a3a965feb547711aff7afd2ca5deadb99c https://git.kernel.org/stable/c/3565ef215101ffadb5fe5394c70b1fca51376b25 https://git.kernel.org/stable/c/43897111481b679508711d3ca881c4c6593e9247 https://git.kernel.org/stable/c/e7a7ef9a0742dbd0818d5b15fba2c5313ace765b