From: Dan Carpenter <dan.carpenter@linaro.org>
To: Marc Bornand <dev.mbornand@systemb.ch>
Cc: Bjorn Helgaas <bhelgaas@google.com>, Felix Fietkau <nbd@nbd.name>,
Johannes Berg <johannes.berg@intel.com>,
Johannes Berg <johannes@sipsolutions.net>,
"John W. Linville" <linville@tuxdriver.com>,
libertas-dev@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-wireless@vger.kernel.org,
Roopni Devanathan <quic_rdevanat@quicinc.com>,
Solomon Peachy <pizza@shaftnet.org>
Subject: [PATCH 0/3] wifi: cap a few SSID lengths
Date: Fri, 29 Aug 2025 15:48:22 +0300 [thread overview]
Message-ID: <cover.1756456951.git.dan.carpenter@linaro.org> (raw)
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
next reply other threads:[~2025-08-29 12:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-29 12:48 Dan Carpenter [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1756456951.git.dan.carpenter@linaro.org \
--to=dan.carpenter@linaro.org \
--cc=bhelgaas@google.com \
--cc=dev.mbornand@systemb.ch \
--cc=johannes.berg@intel.com \
--cc=johannes@sipsolutions.net \
--cc=libertas-dev@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=nbd@nbd.name \
--cc=pizza@shaftnet.org \
--cc=quic_rdevanat@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.