wifi: b43: enforce bounds check on firmware key index in b43_rx()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e4d6b7951812d98417feb10784e400e253caf633 · < d7029879bafdac2006c67553807d122283dc6cbf| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: b43: enforce bounds check on firmware key index in b43_rx()
The firmware-controlled key index in b43_rx() can exceed the dev->key[] array size (58 entries). The existing B43_WARN_ON is non-enforcing in production builds, allowing an out-of-bounds read.
Make the B43_WARN_ON check enforcing by dropping the frame when the firmware returns an invalid key index.
From the CVE record · Linux
The Linux kernel’s b43 Wi-Fi driver does not enforce a bounds check on a firmware-controlled key index in b43_rx(). If the firmware returns an invalid index, the driver can read beyond its key array; the input does not specify whether an attacker needs network access, authentication, or user interaction.
Engineers running Linux kernels with the b43 Wi-Fi driver should check their versions against the vendor advisory; affected versions were not provided.