diff options
| author | Zhao Li <enderaoelyther@gmail.com> | 2026-10-28 22:22:34 +0800 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-11-10 10:20:57 +0100 |
| commit | f7670bcdf650b37551a9c5d084521f877d939f11 (patch) | |
| tree | 3ba4a66dca588be9e955fbb67d564fd1e7232b71 /tools/perf/scripts/python | |
| parent | 582edbdbc5d288bd128b54935738fe38f15c8c29 (diff) | |
wifi: mac80211: recheck the IBSS station limit before insertion
Frames from successive unknown IBSS peers can make the deferred worker
install more than 128 stations.
The receive path checks local->num_sta before allocating each station,
but pending stations are not included in that count. Several allocations
can therefore pass before the worker inserts any of them, and the worker
then drains the list without rechecking the limit.
Recheck the installed-station limit in the worker under the wiphy mutex
and free entries that no longer fit.
LLM assistance was used to find the bug and review.
Fixes: 8bf11d8d0811 ("mac80211: delay IBSS station insertion")
Cc: stable@vger.kernel.org
Signed-off-by: Zhao Li <enderaoelyther@gmail.com>
Link: https://patch.msgid.link/20261028142235.15428-2-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
