summaryrefslogtreecommitdiff
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-10-04 10:51:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-29 09:13:27 +0100
commit86962d9a79b04ee585758c6ecb01772bd02c5cb0 (patch)
tree70a85f21bd78f479acdd4e46e1e60d08ae925609 /drivers/net/xen-netback/interface.c
parent3ca40f2f6015580caf11a4fd23503ea7529ed861 (diff)
mac80211: Reject malformed SSID elements
commit 4152561f5da3fca92af7179dd538ea89e248f9d0 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions