nl80211: validate beacon head
We currently don't validate the beacon head, i.e. the header, fixed part and elements that are to go in front of the TIM element. This means that the variable elements there can be malformed, e.g. have a length exceeding the buffer size, but most downstream code from this assumes that this has already been checked. Add the necessary checks to the netlink policy. Cc: stable@vger.kernel.org Fixes: ed1b6cc7 ("cfg80211/nl80211: add beacon settings") Link: https://lore.kernel.org/r/1569009255-I7ac7fbe9436e9d8733439eab8acbbd35e55c74ef@changeid Signed-off-by:Johannes Berg <johannes.berg@intel.com>
Loading
-
mentioned in commit 38871426
-
mentioned in commit fcc7d3db
-
mentioned in commit 587f6f73
-
mentioned in commit f25d1a1a
-
mentioned in commit 6f41cc57
-
mentioned in commit 3d30aebe
-
mentioned in commit c18686d1
-
mentioned in commit 674f2682
-
mentioned in commit ac4063b9
-
mentioned in commit 5cba6413
-
mentioned in commit f553b4fb
-
mentioned in commit c402ec72
Please sign in to comment