CVE-2026-80943: wifi: rtlwifi: rtl8192du: check QoS TID before indexing tids
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: rtlwifi: rtl8192du: check QoS TID before indexing tids
rtl92du_tx_fill_desc() uses ieee80211_get_tid() to read the QoS TID from the 802.11 header and then uses it as an index into sta_entry->tids[]. ieee80211_get_tid() returns the low 4-bit QoS TID value, so the result can be in the range 0..15.
rtlwifi only allocates MAX_TID_COUNT entries for sta_entry->tids[], and MAX_TID_COUNT is 9. A QoS TID greater than 8 therefore indexes past the aggregation state array. Keep the default RTL_AGG_STOP state for out-of-range TIDs, matching rtl92cu_tx_fill_desc().
This issue was detected by our static analysis tool and confirmed by manual audit. UBSAN validation for the same bug pattern reports an array-index-out-of-bounds access with index 10 for type 'rtl_tid_data [9]'.
The Linux kernel CVE team has assigned CVE-2026-80943 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit 8321424134a400a5e3eb39f9acca6bc6946ff447 and fixed in 6.12.109 with commit 6e327f14e1c43e175bf530f9165b2cadff308553 Issue introduced in 6.11 with commit 8321424134a400a5e3eb39f9acca6bc6946ff447 and fixed in 6.18.50 with commit 0c0b374e12d52af23ca741728db31091677cf9dc Issue introduced in 6.11 with commit 8321424134a400a5e3eb39f9acca6bc6946ff447 and fixed in 7.2.4 with commit 42785f7e8d31540e6172bbcf08a7cc3cae1086f8 Issue introduced in 6.11 with commit 8321424134a400a5e3eb39f9acca6bc6946ff447 and fixed in 7.3-rc1 with commit ed4f05d9f2f42fd866f55108db8123eefcc5fb33
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-80943
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/rtlwifi/rtl8192du/trx.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/6e327f14e1c43e175bf530f9165b2cadff308553 https://git.kernel.org/stable/c/0c0b374e12d52af23ca741728db31091677cf9dc https://git.kernel.org/stable/c/42785f7e8d31540e6172bbcf08a7cc3cae1086f8 https://git.kernel.org/stable/c/ed4f05d9f2f42fd866f55108db8123eefcc5fb33