summaryrefslogtreecommitdiff
path: root/include/keys
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-10-04 12:51:31 +0300
committerJohannes Berg <johannes.berg@intel.com>2019-10-04 15:01:14 +0300
commit4152561f5da3fca92af7179dd538ea89e248f9d0 (patch)
treeee65bdc3d24161e21a99abf6da6a19b8b40955bb /include/keys
parent313c3fe9c2348e7147eca38bb446f295b45403a0 (diff)
downloadlinux-4152561f5da3fca92af7179dd538ea89e248f9d0.tar.xz
mac80211: Reject malformed SSID elements
Although this shouldn't occur in practice, it's a good idea to bounds check the length field of the SSID element prior to using it for things like allocations or memcpy operations. Cc: <stable@vger.kernel.org> Cc: Kees Cook <keescook@chromium.org> Reported-by: Nicolas Waisman <nico@semmle.com> Signed-off-by: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20191004095132.15777-1-will@kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/keys')
0 files changed, 0 insertions, 0 deletions