net: wireless: bcmdhd_xxx: adding boudary check in wl_escan_handler
WLC_E_ESCAN_RESULT event could be manipulated especially two length field inside, one is for escan_result buffer length and another one is bss_info length, the forged fields may bypass current length check and corrupt kernel heap memory. so added checking validation for two length fields in WLC_E_ESCAN_RESULT event. Signed-off-by:Insun Song <insun.song@broadcom.com> Bug: 37351060 Change-Id: I31e9fccc48fc06278fb3a87a76ef7337296c2b0d CVE-2017-0786 Signed-off-by:
Kevin F. Haggerty <haggertk@lineageos.org>
Loading
Please register or sign in to comment