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.
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 1687845eb8f37360a9ee849a3587ab659b090773
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 2bc34facb90ceeff6f8c17d2006575a6d07c3825
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 56c7e9c39bd54fd753c0c4b1ed10278cbd3a5f02
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 4e8dc0e5c7636efaadbd7e488acd34b4291c0431
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before e242c66f7ecfe8f5b6eb308f4ea464fd8589c866
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before f8a6c53ff1d91acd5a20eb627edbffd816eb9a4e
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 2fa3a5226b05e0a797c68b9609dcebe0cd236b27
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 89b89e52153fda2733562776c7c9d9d3ebf8dd6d
4.14.316 (semver)
4.19.284 (semver)
5.4.244 (semver)
5.10.181 (semver)
5.15.113 (semver)
6.1.30 (semver)
6.3.4 (semver)
6.4 (original_commit_for_fix)
References
git.kernel.org/...c/1687845eb8f37360a9ee849a3587ab659b090773
git.kernel.org/...c/2bc34facb90ceeff6f8c17d2006575a6d07c3825
git.kernel.org/...c/56c7e9c39bd54fd753c0c4b1ed10278cbd3a5f02
git.kernel.org/...c/4e8dc0e5c7636efaadbd7e488acd34b4291c0431
git.kernel.org/...c/e242c66f7ecfe8f5b6eb308f4ea464fd8589c866
git.kernel.org/...c/f8a6c53ff1d91acd5a20eb627edbffd816eb9a4e
git.kernel.org/...c/2fa3a5226b05e0a797c68b9609dcebe0cd236b27
git.kernel.org/...c/89b89e52153fda2733562776c7c9d9d3ebf8dd6d