linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] wifi: cap a few SSID lengths
@ 2025-08-29 12:48 Dan Carpenter
  2025-08-29 12:48 ` [PATCH 1/3] wifi: cw1200: cap SSID length in cw1200_do_join() Dan Carpenter
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dan Carpenter @ 2025-08-29 12:48 UTC (permalink / raw)
  To: Marc Bornand
  Cc: Bjorn Helgaas, Felix Fietkau, Johannes Berg, Johannes Berg,
	John W. Linville, libertas-dev, linux-kernel, linux-wireless,
	Roopni Devanathan, Solomon Peachy

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(-)

-- 
2.47.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-29 12:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-29 12:48 [PATCH 0/3] wifi: cap a few SSID lengths Dan Carpenter
2025-08-29 12:48 ` [PATCH 1/3] wifi: cw1200: cap SSID length in cw1200_do_join() Dan Carpenter
2025-08-29 12:48 ` [PATCH 2/3] wifi: libertas: cap SSID len in lbs_associate() Dan Carpenter
2025-08-29 12:48 ` [PATCH 3/3] wifi: cfg80211: sme: capp SSID length in __cfg80211_connect_result() Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).