CVE-2026-99060: wifi: mt76: mt7603: initialize global station WCID
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7603: initialize global station WCID
mt7603 uses a driver-private global station WCID for frames that have neither a station nor a vif, including frames injected through a monitor interface. Unlike the core global WCID initialized by mt76_register_device(), this WCID is published without ever being passed to mt76_wcid_init().
Since commit 0335c034e726 ("wifi: mt76: fix race condition related to checking tx queue fill status"), mt76_tx() queues every such frame on the WCID's tx_pending or tx_offchannel queue and links its tx_list. The first injected frame therefore reaches __skb_queue_tail() with an uninitialized sk_buff_head and dereferences a NULL prev pointer.
Initialize the WCID before publishing it.
The fix was tested on an MT7603 PCIe device. Three wildcard probe requests were injected through a monitor interface. The hardware queue head and tail advanced from 0 to 3 and a second radio captured the third request over the air. No oops or reset occurred. After restoring AP mode, a 150 MB transfer also completed without a reset.
The Linux kernel CVE team has assigned CVE-2026-99060 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6.48 with commit d2defcddfe90b3be0cfccc2482495ab1fb759586 and fixed in 6.6.160 with commit 99b8bd6323e6fc69615af828522878b7acb77bff Issue introduced in 6.7 with commit 0335c034e7265d36d956e806f33202c94a8a9860 and fixed in 6.12.113 with commit e454ec553996f21085657c96c8a605e2d89a81a6 Issue introduced in 6.7 with commit 0335c034e7265d36d956e806f33202c94a8a9860 and fixed in 6.18.57 with commit dd117d17e8aa2e89f857fb708e5b770709fb81cb Issue introduced in 6.7 with commit 0335c034e7265d36d956e806f33202c94a8a9860 and fixed in 7.2.11 with commit 19d6fa087dcf242223645828b8282d4040bad168 Issue introduced in 6.7 with commit 0335c034e7265d36d956e806f33202c94a8a9860 and fixed in 7.3 with commit 456de496b53ae73e6e3020fec815dbdc88aa7c07
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-99060
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/mt7603/init.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/99b8bd6323e6fc69615af828522878b7acb77bff https://git.kernel.org/stable/c/e454ec553996f21085657c96c8a605e2d89a81a6 https://git.kernel.org/stable/c/dd117d17e8aa2e89f857fb708e5b770709fb81cb https://git.kernel.org/stable/c/19d6fa087dcf242223645828b8282d4040bad168 https://git.kernel.org/stable/c/456de496b53ae73e6e3020fec815dbdc88aa7c07