diff options
author | Arend Van Spriel <arend.vanspriel@broadcom.com> | 2016-09-05 10:45:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-31 04:13:58 -0600 |
commit | b82a7f93b4e60d8689d8f4e687ef58ed2098739f (patch) | |
tree | 30c604b466532b736a0d742025e44ec1c86a9883 /fs/xfs | |
parent | b5784d4209810937eebdd66d792d9ee02c886c5f (diff) | |
download | linux-stable-b82a7f93b4e60d8689d8f4e687ef58ed2098739f.tar.gz linux-stable-b82a7f93b4e60d8689d8f4e687ef58ed2098739f.tar.bz2 linux-stable-b82a7f93b4e60d8689d8f4e687ef58ed2098739f.zip |
brcmfmac: avoid potential stack overflow in brcmf_cfg80211_start_ap()
commit ded89912156b1a47d940a0c954c43afbabd0c42c upstream.
User-space can choose to omit NL80211_ATTR_SSID and only provide raw
IE TLV data. When doing so it can provide SSID IE with length exceeding
the allowed size. The driver further processes this IE copying it
into a local variable without checking the length. Hence stack can be
corrupted and used as exploit.
Reported-by: Daxing Guo <freener.gdx@gmail.com>
Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Juerg Haefliger <juerg.haefliger@hpe.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions