mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +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:
|
||
|---|---|---|
| .. | ||
| b43legacy.h | ||
| debugfs.c | ||
| debugfs.h | ||
| dma.c | ||
| dma.h | ||
| ilt.c | ||
| ilt.h | ||
| Kconfig | ||
| leds.c | ||
| leds.h | ||
| main.c | ||
| main.h | ||
| Makefile | ||
| phy.c | ||
| phy.h | ||
| pio.c | ||
| pio.h | ||
| radio.c | ||
| radio.h | ||
| rfkill.c | ||
| rfkill.h | ||
| sysfs.c | ||
| sysfs.h | ||
| xmit.c | ||
| xmit.h | ||