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 6BC36341663 for ; Wed, 22 Oct 2025 13:26:20 +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=1761139580; cv=none; b=irmaclIb5Kkb7WwrVJ5x4DVCL5k8CS+BMaDrx+KPWNv4Y0SGfxvSmt0c4hKG29PGIkgJhGkrl7FR6Wzid13eE2t/GxRltrYM24s75KuO3FulvEVDGNBWXxDprEyXXmwMs8wXK+3Cfa8MKMcAYQtBiAnvNvMl1JaoEc9uFQAPHQk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139580; c=relaxed/simple; bh=uZmOBcyI+vohUgkv2b5AYdwqlzoV6g6FLAbN+H5xspo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bxljm7ugFmCHQREVrlHsYWmL0UmVN8mluUAMnhxGd48VwwXZ9BvJw6m9tLImqKJ4On4bkBILqXpGE3jCtnKWeg7tdl0JkG3SzyIncXYG7yhl/MMEtlq9yfd9pdkUNGMn2cqNIhAUYw6Fcql9gnU5ueR5+8aQSbgG9ObLOzBbsTU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ldy+Fltn; 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="Ldy+Fltn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7B04C4CEE7; Wed, 22 Oct 2025 13:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761139580; bh=uZmOBcyI+vohUgkv2b5AYdwqlzoV6g6FLAbN+H5xspo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Ldy+Fltn/vIC4SU+aZ0J0CV7nEJ27Cj1H0VcTNKuUKCybUa2aVm9klNPXU9Cw1zhY iPrq2C2ZyoXjDSCa8zCL+IXxAv6eVY2okLEchqzUPt0EWvb0T3EAD78oNW3In18D7b 0EuNctErw3SND6zMi65fV9ppQN65ezf7TlSJ/kR0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53715: wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex Date: Wed, 22 Oct 2025 15:24:54 +0200 Message-ID: <2025102213-CVE-2023-53715-fd47@gregkh> X-Mailer: git-send-email 2.51.1 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=2935; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NG7wzIBZJaCdSY/+Lot8PMZ4BnPP2kePynJZCUPAXf8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk/bv190yziU/dJYvKTozMsvJTrU7/M2FXit+OvSALrq 0XPvy750BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT2bGWYa4gF2MTz7KbwkIi 6tNc5Fb1fRZ0/Mmw4JRBx78j75+3elzOY9r4IFqmutDgLQA= 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: brcmfmac: cfg80211: Pass the PMK in binary instead of hex Apparently the hex passphrase mechanism does not work on newer chips/firmware (e.g. BCM4387). It seems there was a simple way of passing it in binary all along, so use that and avoid the hexification. OpenBSD has been doing it like this from the beginning, so this should work on all chips. Also clear the structure before setting the PMK. This was leaking uninitialized stack contents to the device. The Linux kernel CVE team has assigned CVE-2023-53715 to this issue. Affected and fixed versions =========================== Fixed in 4.14.316 with commit 1687845eb8f37360a9ee849a3587ab659b090773 Fixed in 4.19.284 with commit 2bc34facb90ceeff6f8c17d2006575a6d07c3825 Fixed in 5.4.244 with commit 56c7e9c39bd54fd753c0c4b1ed10278cbd3a5f02 Fixed in 5.10.181 with commit 4e8dc0e5c7636efaadbd7e488acd34b4291c0431 Fixed in 5.15.113 with commit e242c66f7ecfe8f5b6eb308f4ea464fd8589c866 Fixed in 6.1.30 with commit f8a6c53ff1d91acd5a20eb627edbffd816eb9a4e Fixed in 6.3.4 with commit 2fa3a5226b05e0a797c68b9609dcebe0cd236b27 Fixed in 6.4 with commit 89b89e52153fda2733562776c7c9d9d3ebf8dd6d 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-2023-53715 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/broadcom/brcm80211/brcmfmac/cfg80211.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/1687845eb8f37360a9ee849a3587ab659b090773 https://git.kernel.org/stable/c/2bc34facb90ceeff6f8c17d2006575a6d07c3825 https://git.kernel.org/stable/c/56c7e9c39bd54fd753c0c4b1ed10278cbd3a5f02 https://git.kernel.org/stable/c/4e8dc0e5c7636efaadbd7e488acd34b4291c0431 https://git.kernel.org/stable/c/e242c66f7ecfe8f5b6eb308f4ea464fd8589c866 https://git.kernel.org/stable/c/f8a6c53ff1d91acd5a20eb627edbffd816eb9a4e https://git.kernel.org/stable/c/2fa3a5226b05e0a797c68b9609dcebe0cd236b27 https://git.kernel.org/stable/c/89b89e52153fda2733562776c7c9d9d3ebf8dd6d