hostapd/src
Jouni Malinen 93ba13bcfd Fix status code in SAE/DPP association PMKID mismatch (driver-AP-SME)
wpa_validate_wpa_ie() was already extended to cover these cases with
WPA_INVALID_PMKID return value, but hostapd_notif_assoc() did not have
code for mapping this into the appropriate status code
(STATUS_INVALID_PMKID) and ended up using the default
(WLAN_STATUS_INVALID_IE) instead. This caused AP SME-in-driver cases
returning incorrect status code when the AP did not have a matching
PMKSA cache entry. This could result in unexpected station behavior
where the station could continue trying to use a PMKSA cache entry that
the AP does not have and not being able to recover this.

Fix this by adding the previously missed mapping of validation errors to
status/reason codes.

Fixes: 567da5bbd0 ("DPP: Add new AKM")
Fixes: 458d8984de ("SAE: Reject request with mismatching PMKID (no PMKSA cache entry)")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-11-09 00:33:58 +02:00
..
ap Fix status code in SAE/DPP association PMKID mismatch (driver-AP-SME) 2019-11-09 00:33:58 +02:00
common Add QCA vendor cmd for setting BT coex chain mode 2019-10-25 19:29:53 +03:00
crypto crypto: Remove unused crypto_bignum_sqrtmod() 2019-10-25 19:29:53 +03:00
drivers Move ownership of MAC address randomization mask to scan params 2019-10-27 19:50:22 +02:00
eap_common EAP-TEAP: Add parsing and generation routines for Identity-Type TLV 2019-08-20 01:34:12 +03:00
eap_peer Fix wpa_supplicant build with CONFIG_PCSC=y 2019-09-19 00:21:47 +03:00
eap_server EAP server: Configurable maximum number of authentication message rounds 2019-09-01 17:19:35 +03:00
eapol_auth EAP server: Use struct eap_config to avoid duplicated definitions 2019-08-18 17:36:32 +03:00
eapol_supp Pass full struct to peer certificate callbacks 2019-06-14 23:10:50 +03:00
fst FST: Update FST about MAC address change 2019-10-15 15:39:22 +03:00
l2_packet wpa_supplicant: Don't reply to EAPOL if pkt_type is PACKET_OTHERHOST 2018-04-02 12:21:27 +03:00
p2p P2P: Continue listening next request if no post-PD operations 2019-10-25 16:03:37 +03:00
pae mka: Check OLPN for exhaustion on SAKuse decode 2019-09-19 00:21:47 +03:00
radius RADIUS server: Abort startup on allocation failures 2019-08-20 02:57:58 +03:00
rsn_supp Fix a typo in a comment 2019-11-06 19:44:50 +02:00
tls libtommath: Make sure fast_s_mp_mul_digs initializes the W[] array 2019-06-22 18:56:44 +03:00
utils JSON: Fix escaping of characters that have MSB=1 with signed char 2019-10-27 19:50:22 +02:00
wps WPS: Check SHA256 result success 2019-10-15 15:41:13 +03:00
lib.rules tests: Fix CFLAGS passing for new fuzzing tools 2019-06-11 06:34:19 +03:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00