summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhao Li <enderaoelyther@gmail.com>2026-09-10 14:52:51 +0800
committerJohannes Berg <johannes.berg@intel.com>2026-09-22 10:47:53 +0200
commita10a2f80476d166fd81c361ec0319493671b694e (patch)
treececd71ef11775aafacc66d0073ea16bcc9c020a2 /tools/perf/scripts/python
parente588e83e5c7a0f6d7a77dbbb58927c8c8cfd598e (diff)
downloadlinux-a10a2f80476d166fd81c361ec0319493671b694e.tar.gz
linux-a10a2f80476d166fd81c361ec0319493671b694e.zip
wifi: mac80211: keep fallback association elements alive
Associating to a non-transmitted MBSSID profile reads freed memory while determining the operating channel and applying HT capabilities. When an association response omits WMM, HT, or VHT information, ieee80211_assoc_config_link() parses the cached BSS IEs and copies the missing element pointers out of that fallback parse. For a non-transmitted MBSSID profile those pointers refer to merged-profile storage owned by the parse object, and the fallback block frees that object at its end. The copied pointers are used afterwards to determine the operating channel, configure bandwidth, and apply HT capabilities. Keep the fallback parse result alive until association setup finishes. Fixes: 5023b14cf4df ("mac80211: support profile split between elements") Cc: stable@kernel.org Assisted-by: LLM sparse kasan [reorder variable declaration] Signed-off-by: Zhao Li <enderaoelyther@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions