summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRuide Cao <caoruide123@gmail.com>2026-09-23 02:02:23 +0800
committerJohannes Berg <johannes.berg@intel.com>2026-09-28 11:10:01 +0200
commit56e236759f0a8dc910c2ae7cd3c161f298ee5794 (patch)
treece06b3ff953350f049eb8a0c14cb1fe44298be6c /tools/perf/scripts/python/stackcollapse.py
parent4febc02cd02f021f2b6d0768332be643ef14a12d (diff)
downloadlinux-56e236759f0a8dc910c2ae7cd3c161f298ee5794.tar.gz
linux-56e236759f0a8dc910c2ae7cd3c161f298ee5794.zip
wifi: mac80211: reject invalid 320 MHz CSA bandwidth
The HT/VHT channel definition validator can receive a 320 MHz bandwidth indication from a received CSA frame on a non-6 GHz link. It warns for this unsupported width but continues with an uninitialized vht_operation.chan_width, which is then read by ieee80211_chandef_vht_oper(). With panic_on_warn enabled, this lets a received frame panic the kernel. Reject the channel definition before entering the VHT operation conversion. This preserves the existing CSA fallback while avoiding both the warning and the uninitialized read. Fixes: 21c3f8f95554 ("wifi: mac80211: refactor STA CSA parsing flows") Cc: stable@vger.kernel.org Reported-by: Vega <vega@nebusec.ai> Assisted-by: LLM Signed-off-by: Ruide Cao <caoruide123@gmail.com> Signed-off-by: Ren Wei <weir@nebusec.ai> Link: https://patch.msgid.link/bd68e360e06135c750397cb6be003a01a834a179.1787222001.git.vega.cover-letter@nebusec.ai Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions