wifi: rtw89: fix IE length passed to cfg80211_find_ie()
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 3 repliesIn review
Changes in v2 from the cover letter
- Straightened the cfg80211_find_ie() call in wow.c to a single line
- Removed unnecessary blank line in wow.c
Both per Ping-Ke Shih review feedback.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | wifi: rtw89: fix IE length passed to cfg80211_find_ie() in 6 GHz probedrivers/ | +5 | 1 reply | |
| 2/2 | wifi: rtw89: fix IE length passed to cfg80211_find_ie() in WoW AKMdrivers/ | +5 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Ping-Ke Shih |
|---|---|
| 1/2 | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH wireless v2 0/2] wifi: rtw89: fix IE length passed to cfg80211_find_ie()
From: Tristan Madani <[email protected]>
Two callers of cfg80211_find_ie() in rtw89 pass skb->len as the IE data length, but since ies points past the management frame header and fixed fields, the correct length is skb->len minus the header offset. This causes cfg80211_find_ie() to potentially read past the IE data boundary.
Changes since v1:
- Straightened the cfg80211_find_ie() call in wow.c to a single line
- Removed unnecessary blank line in wow.c
Both per Ping-Ke Shih review feedback.
Tristan Madani (2):
wifi: rtw89: fix IE length passed to cfg80211_find_ie() in 6 GHz probe
wifi: rtw89: fix IE length passed to cfg80211_find_ie() in WoW AKM
drivers/net/wireless/realtek/rtw89/core.c | 6 +++++- drivers/net/wireless/realtek/rtw89/wow.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-)
--
2.47.3