]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP MLD: Fix PN/IPN/BIPN for group rekeying
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Tue, 13 Aug 2024 12:50:55 +0000 (18:20 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 13 Aug 2024 16:24:12 +0000 (19:24 +0300)
commit8c9b9ccb491b053cc6407ba3baba6c442cfc7784
tree6dbfc4240a6b60cd355318214d7b5c8d0af2477f
parent7275b65149ee37f5973f37552c14c67c1879440c
AP MLD: Fix PN/IPN/BIPN for group rekeying

wpa_auth_get_seqnum() for ML group rekeying needs to be skipped in the
same way as it is done for non-ML cases to avoid indicating old values
and resulting in group frames being dropped as replays. The simple check
for gsm->wpa_group_state != WPA_GROUP_SETKEYS (as is done for non-ML) is
not sufficient for this since the per-link Authenticator states are not
strictly synchronized and the state change happens in the middle of this
step.

Fixes: 137b85509248 ("MLO: Mechanism for fetching group key information for the links")
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
src/ap/wpa_auth.c
src/ap/wpa_auth.h
src/ap/wpa_auth_glue.c