Skip to contentSkip to conversation

CVE-2026-99577: wifi: rtw88: usb: bound what the driver feeds the after-DTIM queue

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 20

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: rtw88: usb: bound what the driver feeds the after-DTIM queue

Frames routed to the high queue are transmitted right after DTIM beacons only, inside the ATIM window, while they wait in the shared TX page pool. The driver puts no limit on how many it hands over, so as long as one station dozes, any sustained broadcast or multicast traffic outruns the drain and empties the pool: measured on an RTL8822BU AP with a single client in power save and ~40 frames/s of mDNS chatter, the free page count at 0x240 goes from 1803 to 16 in about 100 seconds and stays there for as long as the traffic lasts. From that point every other transmit queues behind the backlog, authentication responses arrive too late for anyone to join, and the reserved page download fails ("error beacon valid"). The AP keeps beaconing and only a reboot recovers.

Feed the high queue through a small budget that refills below the measured drain rate (about 3 frames per DTIM, ~15/s at dtim_period 2 on the default 2 TU ATIM window); whatever exceeds the budget leaves on its access category queue right away. The high queue backlog is now bounded by the burst size under any load, so the page pool cannot run dry, at the price that a dozing station may miss part of a broadcast storm.

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

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

	Fixed in 6.12.118 with commit 9f7c09a830398003de105004035ed7aa0185b65f
	Fixed in 6.18.64 with commit 0bd2548fee3ae403550a394b5270d914bc2b76e9
	Fixed in 7.3.5 with commit 99085c31b8521eb588b66b726ca6d08338e3a14e
	Fixed in 7.4-rc1 with commit 04cc8c59a3d79ef7ec2341f1c7aef1d40a0ce7df

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

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
drivers/net/wireless/realtek/rtw88/usb.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/9f7c09a830398003de105004035ed7aa0185b65f
	https://git.kernel.org/stable/c/0bd2548fee3ae403550a394b5270d914bc2b76e9
	https://git.kernel.org/stable/c/99085c31b8521eb588b66b726ca6d08338e3a14e
	https://git.kernel.org/stable/c/04cc8c59a3d79ef7ec2341f1c7aef1d40a0ce7df