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 E70B44122C for ; Sat, 2 Mar 2024 21:54:54 +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=1709416495; cv=none; b=h7jRMRKaOAtgaRCk4z+drJ/s0mxuonBXZKOqBwrU67fGSxinPbB5wtogWYVVgQifjs6SnbPuMxx9HROh3U46ZLLdH2XNjF+rpjppk4424z3SZIKabWXiXUYbnkESAw/kh+zt24DREar48tE8ibN3xcxSiXmLS3falUBz9uejAmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709416495; c=relaxed/simple; bh=sSDrNVvuC7Pko7cy5e8UVJijxLnV/P2tBt3PHuznm3g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MXpX7aXHNb6bySf4E217xj0ne4oVZpQiDlQFnvB3fu0yqyhmDeLTje5qujL46/JkjJCKkEc7wOZAPf6Avrzy/Qs2wLwfiEVRpw4qGQvZ3uHn49hGqSYZe/huwKj9YgKrVZnWR8xVmMbZqtVilSmspkvOY10kY0kfi1/gIufWxhA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hiomYLJ6; 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="hiomYLJ6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FA2AC433F1; Sat, 2 Mar 2024 21:54:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709416494; bh=sSDrNVvuC7Pko7cy5e8UVJijxLnV/P2tBt3PHuznm3g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hiomYLJ6cAMCoJSv0H+gNkYe7X776kiBw4rz8F1BqExErOZXDS2pQGQgSEvjm0tuy dAl8kEAOvDyDXhYHsbSVMfK+msmoI2S00xS/BfSlrSPdg24jixCsLetpr0LqgPOm8F 1eoCCSr0wEWxiCKLeRvnxz0vZZfMRTesMr9gOc2w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52525: wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet Date: Sat, 2 Mar 2024 22:53:09 +0100 Message-ID: <2024030254-CVE-2023-52525-3989@gregkh> X-Mailer: git-send-email 2.44.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=2732; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sSDrNVvuC7Pko7cy5e8UVJijxLnV/P2tBt3PHuznm3g=; b=owGbwMvMwCRo6H6F97bub03G02pJDKmP5287rBD3xks/R2TDvlUXeW6dZQyP0Vt/7uhmDyanx Nl9k9RYOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAidVMYFqwTuCiUav9XiS3p /4NKNu9F6/hajBnmmU1cwt7oztnw522de5eNbFySsdwBAA== 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: mwifiex: Fix oob check condition in mwifiex_process_rx_packet Only skip the code path trying to access the rfc1042 headers when the buffer is too small, so the driver can still process packets without rfc1042 headers. The Linux kernel CVE team has assigned CVE-2023-52525 to this issue. Affected and fixed versions =========================== Issue introduced in 4.14.326 with commit a7a35f35b7a4 and fixed in 4.14.327 with commit 71b1d2b57f14 Issue introduced in 4.19.295 with commit 68a1716869af and fixed in 4.19.296 with commit 16cc18b90808 Issue introduced in 5.4.257 with commit df1753eae74b and fixed in 5.4.258 with commit b8e260654a29 Issue introduced in 5.10.195 with commit 08a6e99a334d and fixed in 5.10.198 with commit 10a18c8bac7f Issue introduced in 5.15.132 with commit 89f19a9a055d and fixed in 5.15.135 with commit 5afb996349cb Issue introduced in 6.1.53 with commit cde525d61178 and fixed in 6.1.57 with commit 6b706286473d Issue introduced in 6.5.3 with commit 7be3bf0bb299 and fixed in 6.5.7 with commit be2ff39b1504 Please see https://www.kernel.org or 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-2023-52525 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: drivers/net/wireless/marvell/mwifiex/sta_rx.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/71b1d2b57f145c8469aa9346f0fd57bf59b2b89c https://git.kernel.org/stable/c/16cc18b9080892d1a0200a38e36ae52e464bc555 https://git.kernel.org/stable/c/b8e260654a29de872e7cb85387d8ab8974694e8e https://git.kernel.org/stable/c/10a18c8bac7f60d32b7af22da03b66f350beee38 https://git.kernel.org/stable/c/5afb996349cb6d1f14d6ba9aaa7aed3bd82534f6 https://git.kernel.org/stable/c/6b706286473db4fd54b5f869faa67f4a8cb18e99 https://git.kernel.org/stable/c/be2ff39b1504c5359f4a083c1cfcad21d666e216