KernelScan.io

HIGH

wifi b43legacy KeyIndex OOB

CVE-2026-46163

CVSS 7.9 / 10.0 KernelScan AI

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

01

In the Linux kernel, the following vulnerability has been resolved: wifi: b43legacy: enforce bounds check on firmware key index in RX path 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.

02

Engine v0.2.0

Risk summary

Systems using legacy Broadcom BCM43xx WiFi hardware are vulnerable to information disclosure and denial of service via out-of-bounds memory reads. An attacker within WiFi range can send crafted 802.11 frames that cause the firmware to pass an invalid key index to the b43legacy_rx() path, leading to an out-of-bounds read of the dev->key[] array. A large invalid index can reference unmapped kernel memory and trigger a kernel panic in the RX softirq path, while a carefully chosen small index can leak sensitive kernel memory contents.

Affecteddrivers/net/wireless/broadcom/b43legacy/xmit.c (b43legacy WiFi driver)

Vulnerability analysis

The vulnerability occurs in b43legacy_rx() where a firmware-provided key index is used to access dev->key[] without an enforcing bounds check. The existing B43legacy_WARN_ON is compiled out or non-fatal in production builds, allowing an attacker-controlled key index that exceeds dev->max_nr_keys to proceed. This results in an out-of-bounds read that can expose kernel slab memory or, depending on the index value, touch unmapped pages. The fix converts the non-enforcing warning into an explicit bounds check that drops the frame when the index is invalid.

03

BranchFixed inPatch commit
5.105.10.258a92bd0503df2
5.155.15.209df805c1d085b
6.16.1.1754242db36de99
6.126.12.886ee946077607
6.186.18.309d1bc1558029
6.66.6.1401baaeb6adecb
7.07.0.7fdd4e51979f4
mainline7.1-rc3a035766f970b