mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 16:59:27 +02:00
Same fix as b43: the firmware-controlled key index in b43legacy_rx()
can exceed dev->max_nr_keys. The existing B43legacy_WARN_ON is
non-enforcing in production builds, allowing an out-of-bounds read of
dev->key[].
Make the check enforcing by dropping the frame for invalid indices.
Fixes:
|
||
|---|---|---|
| .. | ||
| b43 | ||
| b43legacy | ||
| brcm80211 | ||
| Kconfig | ||
| Makefile | ||