wifi: brcm80211: handle pmk_op allocation failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: brcm80211: handle pmk_op allocation failure
The kzalloc() in brcmf_pmksa_v3_op() will return null if the physical memory has run out. As a result, if we dereference the null value, the null pointer dereference bug will happen.
Return -ENOMEM from brcmf_pmksa_v3_op() if kzalloc() fails for pmk_op.
From the CVE record · Linux
The Linux kernel’s brcm80211 Wi-Fi driver can dereference a null pointer if memory allocation fails in brcmf_pmksa_v3_op(). This can occur when physical memory runs out; the input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the brcm80211 Wi-Fi driver should check their kernel versions; affected versions are not specified.