CVE-2026-99578: wifi: rtw88: usb: route bmc frames via the high queue only for DTIM delivery
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtw88: usb: route bmc frames via the high queue only for DTIM delivery
In AP mode every broadcast and multicast data frame is routed to TX_DESC_QSEL_HIGH, the after-DTIM queue, whether or not anybody is asleep. The firmware drains that queue at beacon pace, a dozen or so frames per second measured on RTL8822BU, while one associated client's mDNS/SSDP chatter alone exceeds that. The excess accumulates inside the chip until the shared TX page pool is exhausted (measured: 14 of 1803 pages left). From that point every host-sourced frame queues behind the backlog: authentication responses reach the air seconds after the client has given up, so no station can associate anymore, and the beacon reserved-page download fails the BCN_VALID poll ("error beacon valid") because it needs pages from the same pool. The AP keeps beaconing, so the failure looks like a silent RX stall and only a reboot recovers.
mac80211 already decides when after-DTIM delivery is needed: it sets IEEE80211_TX_CTL_SEND_AFTER_DTIM on bmc frames only while at least one station is actually dozing. Honor that instead of routing
unconditionally: flagged frames keep going through the high queue with the MORE_DATA and HGQMD handling introduced by commit 076f786a0ae1 ("wifi: rtw88: Fix AP mode incorrect DTIM behavior"), everything else leaves at line rate through the AC queues. This partially reverts the usb.c hunk of that commit, whose unconditional routing is what lets the backlog build up.
On a bench AP (USB2, 20 MHz, WPA2, hostapd, a Windows client driven through disconnect/reconnect cycles): reconnects fail 0/5 on RTL8822BU and 0/3 on RTL8821CU before this change, and pass 10/10 and 5/5 with it, with the page pool staying healthy and no beacon errors logged.
The Linux kernel CVE team has assigned CVE-2026-99578 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.118 with commit 8da3a71216a0ecd02980dff5cf9739376249fc72 Fixed in 6.18.64 with commit aa383c35d3e3688da8da0993f751c7b4bab66b02 Fixed in 7.3.5 with commit 781af5ab5a848b3c0767c0f057bd6692e3b7c17e Fixed in 7.4-rc1 with commit c710c7c2e0380d7c0eeb33b686262edcaef7cb07
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-99578
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/realtek/rtw88/usb.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/8da3a71216a0ecd02980dff5cf9739376249fc72 https://git.kernel.org/stable/c/aa383c35d3e3688da8da0993f751c7b4bab66b02 https://git.kernel.org/stable/c/781af5ab5a848b3c0767c0f057bd6692e3b7c17e https://git.kernel.org/stable/c/c710c7c2e0380d7c0eeb33b686262edcaef7cb07