Skip to content

wifi: cap a few SSID lengths

Dan Carpenter linux-wireless lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3wifi: cw1200: cap SSID length in cw1200_do_join()drivers/net/wireless/st/cw1200/sta.c+1 -10 replies
2/3wifi: libertas: cap SSID len in lbs_associate()drivers/net/wireless/marvell/libertas/cfg.c+6 -30 replies
3/3wifi: cfg80211: sme: capp SSID length in __cfg80211_connect_result()net/wireless/sme.c+4 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] wifi: cap a few SSID lengths

These patches are based on static analysis and review. The other places which get the ssid from ieee80211_bss_get_ie() do bounds checking to ensure that the ssid length isn't more than IEEE80211_MAX_SSID_LEN (32).

Dan Carpenter (3):
wifi: cw1200: cap SSID length in cw1200_do_join()
wifi: libertas: cap SSID len in lbs_associate()
wifi: cfg80211: sme: capp SSID length in __cfg80211_connect_result()

 drivers/net/wireless/marvell/libertas/cfg.c | 9 ++++++---
 drivers/net/wireless/st/cw1200/sta.c        | 2 +-
 net/wireless/sme.c                          | 5 ++++-
 3 files changed, 11 insertions(+), 5 deletions(-)
Signature · 1 line
2.47.2