CVE-2023-53715

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxb8a64f0e96c2b258321ee03975aeb0f5e88a055b < 1687845eb8f37360a9ee849a3587ab659b090773affected
LinuxLinuxb8a64f0e96c2b258321ee03975aeb0f5e88a055b < 2bc34facb90ceeff6f8c17d2006575a6d07c3825affected
LinuxLinuxb8a64f0e96c2b258321ee03975aeb0f5e88a055b < 56c7e9c39bd54fd753c0c4b1ed10278cbd3a5f02affected
LinuxLinuxb8a64f0e96c2b258321ee03975aeb0f5e88a055b < 4e8dc0e5c7636efaadbd7e488acd34b4291c0431affected
LinuxLinuxb8a64f0e96c2b258321ee03975aeb0f5e88a055b < e242c66f7ecfe8f5b6eb308f4ea464fd8589c866affected
LinuxLinuxb8a64f0e96c2b258321ee03975aeb0f5e88a055b < f8a6c53ff1d91acd5a20eb627edbffd816eb9a4eaffected
LinuxLinuxb8a64f0e96c2b258321ee03975aeb0f5e88a055b < 2fa3a5226b05e0a797c68b9609dcebe0cd236b27affected
LinuxLinuxb8a64f0e96c2b258321ee03975aeb0f5e88a055b < 89b89e52153fda2733562776c7c9d9d3ebf8dd6daffected
LinuxLinux4.13affected
LinuxLinux0 < 4.13unaffected
LinuxLinux4.14.316 <= 4.14.*unaffected
LinuxLinux4.19.284 <= 4.19.*unaffected
LinuxLinux5.4.244 <= 5.4.*unaffected
LinuxLinux5.10.181 <= 5.10.*unaffected
LinuxLinux5.15.113 <= 5.15.*unaffected
LinuxLinux6.1.30 <= 6.1.*unaffected
LinuxLinux6.3.4 <= 6.3.*unaffected
LinuxLinux6.4 <= *unaffected

Weaknesses

References