]> git.ipfire.org Git - thirdparty/hostap.git/commit
OWE: Avoid incorrect profile update in transition mode
authorJouni Malinen <j@w1.fi>
Sat, 7 Mar 2020 16:03:32 +0000 (18:03 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 7 Mar 2020 16:03:32 +0000 (18:03 +0200)
commitecb5219d8cd069283118bac3012b3bc838afe922
treede9ba6a4d94f22b3046c8ebf23d86d7f5e352de0
parent785f99b6809527f44948ed98e0fd4a78e5373f68
OWE: Avoid incorrect profile update in transition mode

The "unexpected" change of SSID between the current network profile
(which uses the SSID from the open BSS in OWE transition mode) and the
association with the OWE BSS (which uses a random, hidden SSID) resulted
in wpa_supplicant incorrectly determining that this was a
driver-initiated BSS selection ("Driver-initiated BSS selection changed
the SSID to <the random SSID from OWE BSS>" in debug log).

This ended up with updating security parameters based on the network
profile inwpa_supplicant_set_suites() instead of using the already
discovered information from scan results. In particular, this cleared
the RSN supplicant state machine information of AP RSNE and resulted in
having to fetch the scan results for the current BSS when processing
EAPOL-Key msg 3/4.

Fix this by recognizing the special case for OWE transition mode where
the SSID for the associated AP does not actually match the SSID in the
network profile.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/bss.h
wpa_supplicant/events.c