summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-09-21 13:13:07 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2011-09-21 19:58:24 (GMT)
commit1b9ca0272ffae212e726380f66777b30a56ed7a5 (patch)
treedd91eefd0ee5fe21ba06816a4a25cc2303603744 /tools
parent65d0f19e583e80e42b1c67c166bfc4dfdf6ab693 (diff)
downloadlinux-1b9ca0272ffae212e726380f66777b30a56ed7a5.tar.xz
cfg80211: Fix validation of AKM suites
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. Cc: stable@kernel.org Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions