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 A62D2155751 for ; Mon, 29 Jul 2024 14:59:08 +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=1722265148; cv=none; b=mGtqK8brPjhSCVfnl5VR2mnGy79YzQhRvQVf7UUQ1sFE3BiaxUzivRLIx1nuMnAX3jwsE1f64+w9sUvZjwID5J3Ow9EOpfm8qdR+DiUU0eO2k1On8wT9PpkqVZlKc9BetREQIdgqU559hEKkQsfDeQx+PmORPLECJugI01K3Usw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722265148; c=relaxed/simple; bh=JSga1wrs7Ynv5WaJUnHL7fEWEH4kMBVz3KcUjDFoQ4I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mki30jDkg8XpFs0QaqaKGDduViUO1HWl3edF4WIIVgOtsk0D8Jepf0Fww0KDYC5vdlLpcv76wXm3ia70uX/NaRtC4Ca2qLyDrqso40jUFxvaBve54dSrytj6wvfeHKeW1gW2QGLJUW/dWOleLTVADifSBqpdXorI+Z6Qc5jsxnw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Bf34jrau; 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="Bf34jrau" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6BD2C4AF0A; Mon, 29 Jul 2024 14:59:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722265148; bh=JSga1wrs7Ynv5WaJUnHL7fEWEH4kMBVz3KcUjDFoQ4I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Bf34jraujc0FAYY98pXt2W2sukEjuUqK3Ahh/ZXaJP6uKX/8tfLqrT8ksBJrkYOLv NgTkSAaVO4U7y2n2Km5D/hWWAnSKMhKNZwIslfOEAd2MAHIGqzaw9ov7dDyooCYaNq Ut7KCv5LVy1ra/Etr7b7YZ/n2dBKoVWKY+Bnq1cw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41072: wifi: cfg80211: wext: add extra SIOCSIWSCAN data check Date: Mon, 29 Jul 2024 16:58:18 +0200 Message-ID: <2024072909-CVE-2024-41072-86de@gregkh> X-Mailer: git-send-email 2.45.2 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=2455; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JSga1wrs7Ynv5WaJUnHL7fEWEH4kMBVz3KcUjDFoQ4I=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnL1zE+j38t5Mye01/sH3/cIisoI/+fCpNnkU9Z2VHnJ q0LlfIdsSwMgkwMsmKKLF+28RzdX3FI0cvQ9jTMHFYmkCEMXJwCMBEBLoYFu/WZ3+rHysQuPu4j a2w1RXl66k8/hvkutcrdH8K+yfUklBj5TXh2JcA7xA8A 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: wext: add extra SIOCSIWSCAN data check In 'cfg80211_wext_siwscan()', add extra check whether number of channels passed via 'ioctl(sock, SIOCSIWSCAN, ...)' doesn't exceed IW_MAX_FREQUENCIES and reject invalid request with -EINVAL otherwise. The Linux kernel CVE team has assigned CVE-2024-41072 to this issue. Affected and fixed versions =========================== Fixed in 4.19.319 with commit b02ba9a0b55b Fixed in 5.4.281 with commit de5fcf757e33 Fixed in 5.10.223 with commit 6295bad58f98 Fixed in 5.15.164 with commit a43cc0558530 Fixed in 6.1.101 with commit 001120ff0c9e Fixed in 6.6.42 with commit fe9644efd867 Fixed in 6.9.11 with commit 35cee10ccaee Fixed in 6.10 with commit 6ef09cdc5ba0 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-41072 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/b02ba9a0b55b762bd04743a22f3d9f9645005e79 https://git.kernel.org/stable/c/de5fcf757e33596eed32de170ce5a93fa44dd2ac https://git.kernel.org/stable/c/6295bad58f988eaafcf0e6f8b198a580398acb3b https://git.kernel.org/stable/c/a43cc0558530b6c065976b6b9246f512f8d3593b https://git.kernel.org/stable/c/001120ff0c9e3557dee9b5ee0d358e0fc189996f https://git.kernel.org/stable/c/fe9644efd86704afe50e56b64b609de340ab7c95 https://git.kernel.org/stable/c/35cee10ccaee5bd451a480521bbc25dc9f07fa5b https://git.kernel.org/stable/c/6ef09cdc5ba0f93826c09d810c141a8d103a80fc