Skip to contentSkip to conversation

CVE-2026-43113: wifi: wl1251: validate packet IDs before indexing tx_frames

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

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: wl1251: validate packet IDs before indexing tx_frames

wl1251_tx_packet_cb() uses the firmware completion ID directly to index the fixed 16-entry wl->tx_frames[] array. The ID is a raw u8 from the completion block, and the callback does not currently verify that it fits the array before dereferencing it.

Reject completion IDs that fall outside wl->tx_frames[] and keep the existing NULL check in the same guard. This keeps the fix local to the trust boundary and avoids touching the rest of the completion flow.

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

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

	Fixed in 6.6.136 with commit b6ba1eacf276063ebeefbbae8056043c24f2efaf
	Fixed in 6.12.83 with commit df15adc692a802636dd3f258fc7cca8bf7a0ed9a
	Fixed in 6.18.24 with commit 8d7465be5163a923ee5d7459719ef5a021c1584a
	Fixed in 6.19.14 with commit 26ee518695c484f75e3606d631278e84bd24ae02
	Fixed in 7.0 with commit 0fd56fad9c56356e7fa7a7c52e7ecbf807a44eb0

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-43113

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/ti/wl1251/tx.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/b6ba1eacf276063ebeefbbae8056043c24f2efaf
	https://git.kernel.org/stable/c/df15adc692a802636dd3f258fc7cca8bf7a0ed9a
	https://git.kernel.org/stable/c/8d7465be5163a923ee5d7459719ef5a021c1584a
	https://git.kernel.org/stable/c/26ee518695c484f75e3606d631278e84bd24ae02
	https://git.kernel.org/stable/c/0fd56fad9c56356e7fa7a7c52e7ecbf807a44eb0