summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-09-21 16:13:07 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-07 12:32:10 -0800
commit3b83e963b92ac32af38b379d9bb30d84c383b40d (patch)
treec18f1256937d21d918ae76e03433973400f2e2f3 /fs
parent8c1addec1bf8b23dd731580329e055a189b37564 (diff)
cfg80211: Fix validation of AKM suites
commit 1b9ca0272ffae212e726380f66777b30a56ed7a5 upstream. Incorrect variable was used in validating the akm_suites array from NL80211_ATTR_AKM_SUITES. In addition, there was no explicit validation of the array length (we only have room for NL80211_MAX_NR_AKM_SUITES). This can result in a buffer write overflow for stack variables with arbitrary data from user space. The nl80211 commands using the affected functionality require GENL_ADMIN_PERM, so this is only exposed to admin users. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions