FILS IP address and station shutdown fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ie: Fill in pending FILS IP Address responsessrc/ | +1 | 0 replies | |
| 2/2 | station: Unregister BSS objects before freeingsrc/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] FILS IP address and station shutdown fixes
Two fixes for bugs I hit while testing ell netconfig changes under mac80211_hwsim, with iwd in AP mode as the access point and dnsmasq sending RAs:
1: an iwd AP that has no DHCP lease for the station sends a pending FILS
IP Address Assignment response, and the station then acts on an uninitialized structure. Depending on what was on the stack it got a garbage static IPv4 and IPv6 configuration, or stayed in the connecting (netconfig) state until it was restarted.
2: a GetManagedObjects call while iwd is shutting down reads freed BSSes
(ASan heap-use-after-free). I reproduced this 2 times out of 2 by calling GetManagedObjects in a loop while stopping iwd, and 0 out of 2 with the patch applied.
AI was used to draft patches and commit messages, with all manually reviewed and tested.
Ryan Walklin (2):
ie: Fill in pending FILS IP Address responses
station: Unregister BSS objects before freeing
src/ie.c | 1 + src/station.c | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-)
Signature · 1 line
2.55.0