From: Johannes Berg Date: Thu, 25 Oct 2012 22:33:36 +0000 (+0200) Subject: mac80211: check management frame header length X-Git-Tag: v3.2.34~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c63cddefa8d6360353ba0e60f42b6c82f1c11b3c;p=pandora-kernel.git mac80211: check management frame header length commit 4a4f1a5808c8bb0b72a4f6e5904c53fb8c9cd966 upstream. 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. Signed-off-by: Johannes Berg Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed