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 EBE053E48E for ; Wed, 6 Mar 2024 06:46:00 +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=1709707561; cv=none; b=gyBnqt8a4TqGw43KO9KiXeFjVQEJWVOoJ2bDfpaRU4o/CWXwxPefrz3FKtXovV79XQzV8lNr0xa3P/mw16S4dhniblavAhgufKVcFeVeoO3A4o7np3dZQGyQTToq3bv78pLavTkRwooBeTIX94vOSkn6377p9yqQIGlt3h8gsVE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709707561; c=relaxed/simple; bh=+TcCEOfFOjfwBcGAnwKODugmH5Sc/BI6olEB9+WPLuc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ujiliLNzBmCWGdUBXPBQA4ijPodwUIWkGhKfJU3F1222JplTk3MBPL1JNInZtTMFi6ajB/2BY5FCiK/ELeOs6Gm+wI6veVXz7MjcYmtNJiHNAez20IgwK7gsXX/s6987nxbCzwNjmMmUPByN9gMJ6gm/NGLNITOxt/JfHahpEJA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2WdPNqNi; 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="2WdPNqNi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BE98C433F1; Wed, 6 Mar 2024 06:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709707560; bh=+TcCEOfFOjfwBcGAnwKODugmH5Sc/BI6olEB9+WPLuc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=2WdPNqNie73XDUdCuHMI9n0imx1rajXMTLTgiJvOHWdl37Pel6sLA/R3H6Y6QaETc 5kDcYD4d8IiJd5VApawus7JN2UelG8WMwZeM1vBVg4XpoVu5jt3NPkU1bMeIYo00o4 d7K7FA5ZCdyH8zNK6CjfvyFVogwgvv5TN4DGbRrg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52593: wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap() Date: Wed, 6 Mar 2024 06:45:51 +0000 Message-ID: <2024030645-CVE-2023-52593-14ef@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=2069; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+TcCEOfFOjfwBcGAnwKODugmH5Sc/BI6olEB9+WPLuc=; b=owGbwMvMwCRo6H6F97bub03G02pJDKkvBCXLf/93DSw7GNz0WsKtQubgQjb/ew5yl5nWf7Roz X2+Z2VpRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEZg3DfAfR96Ernvk8KFR8 aMvEurlGueHYJYb51bFz3A+K7Tn6e3PwYUd7lgvG57/uAQA= 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: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap() Since 'ieee80211_beacon_get()' can return NULL, 'wfx_set_mfp_ap()' should check the return value before examining skb data. So convert the latter to return an appropriate error code and propagate it to return from 'wfx_start_ap()' as well. Compile tested only. The Linux kernel CVE team has assigned CVE-2023-52593 to this issue. Affected and fixed versions =========================== Fixed in 6.1.77 with commit 574dcd3126aa Fixed in 6.6.16 with commit 9ab224744a47 Fixed in 6.7.4 with commit 3739121443f5 Fixed in 6.8-rc1 with commit fe0a7776d4d1 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-52593 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/silabs/wfx/sta.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/574dcd3126aa2eed75437137843f254b1190dd03 https://git.kernel.org/stable/c/9ab224744a47363f74ea29c6894c405e3bcf5132 https://git.kernel.org/stable/c/3739121443f5114c6bcf6d841a5124deb006b878 https://git.kernel.org/stable/c/fe0a7776d4d19e613bb8dd80fe2d78ae49e8b49d