Skip to contentSkip to conversation

CVE-2026-98958: wifi: mt76: account non-AQL frames per peer rather than per link

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

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: mt76: account non-AQL frames per peer rather than per link

The driver increments wcid->non_aql_packets when a frame goes to the hardware queue. The completion path decrements the counter again.

For an MLO peer, the hardware reports the completion on the link that it used for the transmission. This link can differ from the link that the driver queued the frame on. In that case, the increment and the decrement go to different link wcids, and the count drifts upwards until it blocks the station.

Keep the count on the wcid of the primary link, like the other peer-wide state.

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

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

	Issue introduced in 6.11 with commit 86c051f2c418abd7eefd8c545a01bdffd220cb95 and fixed in 6.18.57 with commit 9f28f504650869d41f7b3e98e4bc4547af4d5670
	Issue introduced in 6.11 with commit 86c051f2c418abd7eefd8c545a01bdffd220cb95 and fixed in 7.2.11 with commit e0f2ae4a7539454ec50c353571779fcda8c0cfcf
	Issue introduced in 6.11 with commit 86c051f2c418abd7eefd8c545a01bdffd220cb95 and fixed in 7.3 with commit 752770d7a58c821c17909c3ca67f9f14ab146a40

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

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/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/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/9f28f504650869d41f7b3e98e4bc4547af4d5670
	https://git.kernel.org/stable/c/e0f2ae4a7539454ec50c353571779fcda8c0cfcf
	https://git.kernel.org/stable/c/752770d7a58c821c17909c3ca67f9f14ab146a40