wifi: rtlwifi: 8192cu: fix tid out of range in rtl92cu_tx_fill_desc()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.646.18.46.19In the Linux kernel, the following vulnerability has been resolved:
wifi: rtlwifi: 8192cu: fix tid out of range in rtl92cu_tx_fill_desc()
TID getting from ieee80211_get_tid() might be out of range of array size of sta_entry->tids[], so check TID is less than MAX_TID_COUNT. Othwerwise, UBSAN warn:
UBSAN: array-index-out-of-bounds in drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c:514:30 index 10 is out of range for type 'rtl_tid_data [9]'
From the CVE record · Linux
The rtlwifi 8192cu driver can index beyond the sta_entry->tids[] array when ieee80211_get_tid() returns a TID outside the array's range. This triggers an array-index-out-of-bounds warning; the input does not establish an attacker-controlled path or specify network, authentication, or user-interaction requirements.
Engineers running the Linux kernel with the rtlwifi 8192cu driver should check their installations; affected versions are not specified.