Skip to content

wifi: mwifiex: firmware response validation fixes (WMM + sta_list)

Tristan Madani linux-wireless stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2wifi: mwifiex: validate WMM queue_index in firmware responsedrivers/net/wireless/marvell/mwifiex/wmm.c+3 -00 replies
2/2wifi: mwifiex: validate sta_count in AP sta_list responsedrivers/net/wireless/marvell/mwifiex/sta_cmdresp.c+11 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH wireless 0/2] wifi: mwifiex: firmware response validation fixes (WMM + sta_list)

From: Tristan Madani <[email protected]>

Two input validation fixes for the mwifiex driver:

1/2: The WMM status response handler uses the firmware-provided
queue_index to index a 4-entry array without bounds checking. Values >= IEEE80211_NUM_ACS cause an out-of-bounds access.

2/2: The AP station list response handler iterates over sta_info
entries using firmware-provided sta_count without verifying the response buffer is large enough.

Tristan Madani (2):
wifi: mwifiex: validate WMM queue_index in firmware response
wifi: mwifiex: validate sta_count in AP sta_list response

 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c | 14 +++++++++++---
 drivers/net/wireless/marvell/mwifiex/wmm.c         |  3 +++
 2 files changed, 14 insertions(+), 3 deletions(-)
Signature · 1 line
2.47.3