Skip to contentSkip to conversation

CVE-2026-46152: wifi: mac80211: drop stray 'static' from fast-RX rx_result

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: mac80211: drop stray 'static' from fast-RX rx_result

ieee80211_invoke_fast_rx() is documented as safe for parallel RX, but its per-invocation rx_result is declared static. Concurrent callers then share one instance and can overwrite each other's result between ieee80211_rx_mesh_data() and the switch on res.

That can make a packet that was queued or consumed by ieee80211_rx_mesh_data() fall through into ieee80211_rx_8023(), or make a packet that should continue return as queued.

Make res an automatic variable so each invocation keeps its own result.

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

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

	Issue introduced in 6.4 with commit 3468e1e0c639032a603450f0830ccabfa76f5806 and fixed in 6.6.140 with commit 03584528bfffb195e384698af9148b94e42e3f14
	Issue introduced in 6.4 with commit 3468e1e0c639032a603450f0830ccabfa76f5806 and fixed in 6.12.88 with commit 1739fc31b4de06c5c78ce0741182770fb079091e
	Issue introduced in 6.4 with commit 3468e1e0c639032a603450f0830ccabfa76f5806 and fixed in 6.18.30 with commit e131562d6f2b958148c35c98831b007f47f0e3d3
	Issue introduced in 6.4 with commit 3468e1e0c639032a603450f0830ccabfa76f5806 and fixed in 7.0.7 with commit 3ef44f96ccc3e06e059dec57842e366f0c4b1893
	Issue introduced in 6.4 with commit 3468e1e0c639032a603450f0830ccabfa76f5806 and fixed in 7.1-rc3 with commit 7a5b81e0c87a075afd572f659d8eb68c9c4cd2ba

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

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:

	net/mac80211/rx.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/03584528bfffb195e384698af9148b94e42e3f14
	https://git.kernel.org/stable/c/1739fc31b4de06c5c78ce0741182770fb079091e
	https://git.kernel.org/stable/c/e131562d6f2b958148c35c98831b007f47f0e3d3
	https://git.kernel.org/stable/c/3ef44f96ccc3e06e059dec57842e366f0c4b1893
	https://git.kernel.org/stable/c/7a5b81e0c87a075afd572f659d8eb68c9c4cd2ba