Will Deacon 7a19f258f8 mac80211: Reject malformed SSID elements
commit 4152561f5da3fca92af7179dd538ea89e248f9d0 upstream.

Although this shouldn't occur in practice, it's a good idea to bounds
check the length field of the SSID element prior to using it for things
like allocations or memcpy operations.

Cc: <stable@vger.kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Reported-by: Nicolas Waisman <nico@semmle.com>
Signed-off-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20191004095132.15777-1-will@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-29 09:17:35 +01:00
..
2019-05-08 07:20:45 +02:00
2019-09-16 08:20:44 +02:00
2019-06-22 08:16:14 +02:00
2019-03-23 14:35:16 +01:00
2019-09-06 10:20:50 +02:00
2019-03-19 13:13:23 +01:00
2019-09-16 08:20:44 +02:00
2019-01-09 17:14:46 +01:00