summaryrefslogtreecommitdiff
path: root/include/linux/msg.h
diff options
context:
space:
mode:
authorArend Van Spriel <arend.vanspriel@broadcom.com>2016-09-05 10:45:47 +0100
committerBen Hutchings <ben@decadent.org.uk>2016-11-20 01:17:37 +0000
commitdf523e7adf0595cf509f6382af7ed801ab0bd108 (patch)
tree5ff4bc4ae8c4c2cb8f486f508f2922af26f9a02d /include/linux/msg.h
parent88eadd913f235ffd29767b504fd68caaa1394f76 (diff)
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> [bwh: Backported to 3.16: adjust filename] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/msg.h')
0 files changed, 0 insertions, 0 deletions