Skip to contentSkip to conversation

CVE-2026-46122: wifi: b43: enforce bounds check on firmware key index in b43_rx()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-46122 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 2.6.24 with commit e4d6b7951812d98417feb10784e400e253caf633 and fixed in 6.6.140 with commit c3d7b90dc95020cd9282c4630e402fe224f7644e
	Issue introduced in 2.6.24 with commit e4d6b7951812d98417feb10784e400e253caf633 and fixed in 6.12.88 with commit 1e9e55cf66f0fa4799f4d86ef3aaba8e606b5c14
	Issue introduced in 2.6.24 with commit e4d6b7951812d98417feb10784e400e253caf633 and fixed in 6.18.30 with commit d7029879bafdac2006c67553807d122283dc6cbf
	Issue introduced in 2.6.24 with commit e4d6b7951812d98417feb10784e400e253caf633 and fixed in 7.0.7 with commit 219ba67e69e49681e48c822d6eaafb5def032f34
	Issue introduced in 2.6.24 with commit e4d6b7951812d98417feb10784e400e253caf633 and fixed in 7.1-rc3 with commit 1f4f78bf8549e6ac4f04fba4176854f3a6e0c332

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-46122

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/wireless/broadcom/b43/xmit.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/c3d7b90dc95020cd9282c4630e402fe224f7644e
	https://git.kernel.org/stable/c/1e9e55cf66f0fa4799f4d86ef3aaba8e606b5c14
	https://git.kernel.org/stable/c/d7029879bafdac2006c67553807d122283dc6cbf
	https://git.kernel.org/stable/c/219ba67e69e49681e48c822d6eaafb5def032f34
	https://git.kernel.org/stable/c/1f4f78bf8549e6ac4f04fba4176854f3a6e0c332