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 CB496257AFB for ; Tue, 20 May 2025 16:48:02 +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=1747759682; cv=none; b=RcoYJVGiVM44Xhmtc5nO9XSLa1GkMk2Fl79y0hUJ9H4aGN/l7xJe1Ngjc/M2f9u1bqxbNGPzhzPSldHuiqUSblPD00FBLnJijMNiB5g8o4pPxpurM2Q4k82figQ9JUXzqjiEVnA7/0ych0mgIKOJrVopmlVGMy3TMFNdsAasIVk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747759682; c=relaxed/simple; bh=Z/XNd+jIJ+54DHybUOTeM3S7F6nQNhDZ30wMFw6nu7o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sk7JRRnnAL3NAMkoRumC6lr91n3asmtZlm1UnJb7aoKA/yd/myYGAHex+TFQCob6MIc28o7GjkbShBlAJWYIWaxPOHSqv2npwDhZQd8pPeF13ZvS8fW4Y/qFvyJs3Cw9JZKkk+qAUSYN3cpF+br3Pn7BaTb1ZtHY5M7iWUGY8cs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EYr8OMmd; 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="EYr8OMmd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02E62C4CEE9; Tue, 20 May 2025 16:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747759682; bh=Z/XNd+jIJ+54DHybUOTeM3S7F6nQNhDZ30wMFw6nu7o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=EYr8OMmdg0G4Z6adnHYEIRRE0Vl/utCdUWdvE8TXWE9rnDvhQFDzfff+w64ZiMi4W pNi79x0f5NOafpCdtuiUKaC5Mjl9cvsnLsGkcp8DYHfb6Var+JFFXYTfI4/kGeoDGs JMxybKp2aRLF3Q10KZv2MIZBUbiXB3mWLVPcG3mc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37973: wifi: cfg80211: fix out-of-bounds access during multi-link element defragmentation Date: Tue, 20 May 2025 18:45:52 +0200 Message-ID: <2025052046-CVE-2025-37973-3687@gregkh> X-Mailer: git-send-email 2.49.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=2763; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=D1nBgh/rzcoPxS8FalZTkh5vO8WTpHpTmWkm9mP5umY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk6G3f1cHCr2Ry0ieWSOHJttaPbRKnUl7ZKQj9Xhc6L+ 5PaqsHTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABP50cuwYP/JHauDzxuc1MsI +X657vB87yyJLIZ51mcX6v+cMN9jtfXeC9/yjcoq101vBgA= 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: cfg80211: fix out-of-bounds access during multi-link element defragmentation Currently during the multi-link element defragmentation process, the multi-link element length added to the total IEs length when calculating the length of remaining IEs after the multi-link element in cfg80211_defrag_mle(). This could lead to out-of-bounds access if the multi-link element or its corresponding fragment elements are the last elements in the IEs buffer. To address this issue, correctly calculate the remaining IEs length by deducting the multi-link element end offset from total IEs end offset. The Linux kernel CVE team has assigned CVE-2025-37973 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 2481b5da9c6b2ee1fde55a1c29eb2ca377145a10 and fixed in 6.6.91 with commit 73dde269a1a43e6b1aa92eba13ad2df58bfdd38e Issue introduced in 6.5 with commit 2481b5da9c6b2ee1fde55a1c29eb2ca377145a10 and fixed in 6.12.29 with commit 9423f6da825172b8dc60d4688ed3d147291c3be9 Issue introduced in 6.5 with commit 2481b5da9c6b2ee1fde55a1c29eb2ca377145a10 and fixed in 6.14.7 with commit e1c6d0c6199bd5f4cfc7a66ae7032b6e805f904d Issue introduced in 6.5 with commit 2481b5da9c6b2ee1fde55a1c29eb2ca377145a10 and fixed in 6.15-rc6 with commit 023c1f2f0609218103cbcb48e0104b144d4a16dc 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-37973 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/73dde269a1a43e6b1aa92eba13ad2df58bfdd38e https://git.kernel.org/stable/c/9423f6da825172b8dc60d4688ed3d147291c3be9 https://git.kernel.org/stable/c/e1c6d0c6199bd5f4cfc7a66ae7032b6e805f904d https://git.kernel.org/stable/c/023c1f2f0609218103cbcb48e0104b144d4a16dc