Johannes Berg 4a4f1a5808 mac80211: check management frame header length
Due to pskb_may_pull() checking the skb length, all
non-management frames are checked on input whether
their 802.11 header is fully present. Also add that
check for management frames and remove a check that
is now duplicate. This prevents accessing skb data
beyond the frame end.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-10-26 22:52:41 +02:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2012-06-24 11:32:29 +02:00
2012-09-06 17:55:00 +02:00
2012-06-24 11:33:18 +02:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:32:29 +02:00
2012-10-26 22:52:18 +02:00
2012-06-24 11:33:18 +02:00
2012-06-24 11:32:38 +02:00
2012-08-20 14:13:41 +02:00
2011-03-31 11:26:23 -03:00
2012-06-22 11:26:58 +02:00
2012-06-24 11:33:18 +02:00
2012-03-13 14:54:16 -04:00
2012-06-20 17:35:22 +02:00
2012-06-20 17:35:22 +02:00