]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Check PMKID in AMPE Action frames
authorBob Copeland <me@bobcopeland.com>
Sun, 27 Dec 2015 02:20:52 +0000 (21:20 -0500)
committerJouni Malinen <j@w1.fi>
Mon, 28 Dec 2015 15:21:08 +0000 (17:21 +0200)
commitb2817cd5c2ee87d2b4812155bee82d74d331b5aa
tree23fce798654e837f3f3df53819a087f43b5cd4b1
parent6c33eed3ee7fd6bd9c561295e001a6b63adbb88d
mesh: Check PMKID in AMPE Action frames

From IEEE Std 802.11-2012 13.3.5:

   If the incoming Mesh Peering Management frame is for AMPE and the
   Chosen PMK from the received frame contains a PMKID that does not
   identify a valid mesh PMKSA, the frame shall be silently discarded.

We were not checking the PMKID previously, and we also weren't parsing
it correctly, so fix both.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
wpa_supplicant/mesh_mpm.c
wpa_supplicant/mesh_rsn.c
wpa_supplicant/mesh_rsn.h