diff options
| author | Alex Kazinsky <a.kazinsky@ideco.ru> | 2026-10-15 11:20:05 +0400 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-10-22 12:04:02 +0200 |
| commit | 71f756a4c064b0312f46617c20893ecc17c332e4 (patch) | |
| tree | 09a30b95fd7db252c18ee862c926a97010e37a18 /include/linux | |
| parent | 48c0045366bec142d053f7cf76fb9dd7127cd231 (diff) | |
wifi: rsi: Skip TX aggregation setup for non-QoS frames
When transmitting a non-QoS unicast frame to a station in AP mode,
rsi_core_xmit() assigns IEEE80211_NONQOS_TID (16) to tid. The station
lookup succeeds, allowing tid to index start_tx_aggr[], which has only
IEEE80211_NUM_TIDS (16) elements. This causes an out-of-bounds read and,
if the value read is zero, an out-of-bounds write.
Only access the aggregation state for tids below IEEE80211_NUM_TIDS,
excluding the non-QoS sentinel from TX aggregation setup.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 19844c0a9a19 ("rsi: data and managemet path changes for AP mode")
Cc: stable@vger.kernel.org
Signed-off-by: Alex Kazinsky <a.kazinsky@ideco.ru>
Link: https://patch.msgid.link/20261015072010.742369-1-a.kazinsky@ideco.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
