Skip to contentSkip to conversation

CVE-2022-49646: wifi: mac80211: fix queue selection for mesh/OCB interfaces

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Feb 26, 2025

lore
Share & tools
lore
#0 lore raw

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

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211: fix queue selection for mesh/OCB interfaces

When using iTXQ, the code assumes that there is only one vif queue for broadcast packets, using the BE queue. Allowing non-BE queue marking violates that assumption and txq->ac == skb_queue_mapping is no longer guaranteed. This can cause issues with queue handling in the driver and also causes issues with the recent ATF change, resulting in an AQL underflow warning.

The Linux kernel CVE team has assigned CVE-2022-49646 to this issue.

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

	Fixed in 5.4.207 with commit 444be5a02b77f3b7a8ac9c1a0b074fbb3bd89cd0
	Fixed in 5.10.132 with commit e013ea2a51a94b903b396a8dff531a07d470335d
	Fixed in 5.15.56 with commit 5a9df31017999197b6e60535940f2f2fe1bd3b0d
	Fixed in 5.18.13 with commit 41ecab279a70dced9005f4d55fa0fcde8938603f
	Fixed in 5.19 with commit 50e2ab39291947b6c6c7025cf01707c270fcde59

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-2022-49646

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/wme.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/444be5a02b77f3b7a8ac9c1a0b074fbb3bd89cd0
	https://git.kernel.org/stable/c/e013ea2a51a94b903b396a8dff531a07d470335d
	https://git.kernel.org/stable/c/5a9df31017999197b6e60535940f2f2fe1bd3b0d
	https://git.kernel.org/stable/c/41ecab279a70dced9005f4d55fa0fcde8938603f
	https://git.kernel.org/stable/c/50e2ab39291947b6c6c7025cf01707c270fcde59