Skip to contentSkip to conversation

CVE-2026-53317: wifi: mt76: mt7921: Place upper limit on station AID

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 26

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: mt7921: Place upper limit on station AID

Any station configured with an AID over 20 causes a firmware crash. This situation occurred in our testing using an AP interface on 7922 hardware, with a modified hostapd, sourced from Mediatek's OpenWRT feeds.

In stock hostapd, station AIDs begin counting at 1, and this configuration is prevented with an upper limit on associated stations. However, the modified hostapd began allocation at 65, which caused the firmware to crash. This fix does not allow these AIDs to work, but will prevent the firmware crash.

This crash was only seen on IFTYPE_AP interfaces, and the fix does not appear to have an effect on IFTYPE_STATION behavior.

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

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

	Issue introduced in 5.12 with commit 5c14a5f944b91371961548b1907802f74a4d2e5c and fixed in 6.12.91 with commit 6dbe70f9ef14d8ac1c24bf19fd9510978a3ab952
	Issue introduced in 5.12 with commit 5c14a5f944b91371961548b1907802f74a4d2e5c and fixed in 6.18.33 with commit 35835ff71e6e618155578b8e3905597edd5f601c
	Issue introduced in 5.12 with commit 5c14a5f944b91371961548b1907802f74a4d2e5c and fixed in 7.0.10 with commit 1a4b802afe15c5b33b2dcb37a594aba2fa215d52
	Issue introduced in 5.12 with commit 5c14a5f944b91371961548b1907802f74a4d2e5c and fixed in 7.1 with commit 4d0bf21e3e20619d51d06c0c36207aabab8b712c

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

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/mt7921/main.c
	drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h

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/6dbe70f9ef14d8ac1c24bf19fd9510978a3ab952
	https://git.kernel.org/stable/c/35835ff71e6e618155578b8e3905597edd5f601c
	https://git.kernel.org/stable/c/1a4b802afe15c5b33b2dcb37a594aba2fa215d52
	https://git.kernel.org/stable/c/4d0bf21e3e20619d51d06c0c36207aabab8b712c