CVE-2023-53715
JSON

Not scored

wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b8a64f0e96c2b258321ee03975aeb0f5e88a055b before 1687845eb8f37360a9ee849a3587ab659b090773, from b8a64f0e96c2b258321ee03975aeb0f5e88a055b before 2bc34facb90ceeff6f8c17d2006575a6d07c3825, from b8a64f0e96c2b258321ee03975aeb0f5e88a055b before 56c7e9c39bd54fd753c0c4b1ed10278cbd3a5f02, from b8a64f0e96c2b258321ee03975aeb0f5e88a055b before 4e8dc0e5c7636efaadbd7e488acd34b4291c0431, from b8a64f0e96c2b258321ee03975aeb0f5e88a055b before e242c66f7ecfe8f5b6eb308f4ea464fd8589c866, from b8a64f0e96c2b258321ee03975aeb0f5e88a055b before f8a6c53ff1d91acd5a20eb627edbffd816eb9a4e, from b8a64f0e96c2b258321ee03975aeb0f5e88a055b before 2fa3a5226b05e0a797c68b9609dcebe0cd236b27, from b8a64f0e96c2b258321ee03975aeb0f5e88a055b before 89b89e52153fda2733562776c7c9d9d3ebf8dd6d and 1 more
Not affected: before 4.13, from 4.14.316 up to 4.14.*, from 4.19.284 up to 4.19.*, from 5.4.244 up to 5.4.*, from 5.10.181 up to 5.10.*, from 5.15.113 up to 5.15.*
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: wifi: brcmfmac: cfg80211: Pasar el PMK en binario en lugar de hexadecimal Aparentemente, el mecanismo de frase de contraseña hexadecimal no funciona en chips/firmware más nuevos (por ejemplo, BCM4387). Parece que siempre hubo una forma sencilla de pasarlo en binario, así que usa eso y evita la hexificación. OpenBSD lo ha estado haciendo así desde el principio, por lo que esto debería funcionar en todos los chips. También limpia la estructura antes de establecer el PMK. Esto estaba filtrando contenido de pila no inicializado al dispositivo.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53715 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-53715 changed 2026-10-28Public domain