android_kernel_xiaomi_sm8350/core/hdd
Ashish Kumar Dhanotiya b01e45b865 qcacld-3.0: Validate assoc response IE len before copy
When host sends ft assoc response to supplicant, it
allocates a buffer of fixed size and copies a variable
length of assoc response IEs to this fixed sized buffer.
There is a possibility of OOB write to the allocated buffer
if the assoc response IEs length is greater than the
allocated buffer size.

To avoid above issue validate the assoc response IEs length
with the allocated buffer size before data copy to the buffer.

Change-ID: Ife9c2071a8cc4a2918b9f349f4024478f94b2d78
CRs-Fixed: 2575144
2019-12-16 16:17:11 -08:00
..
inc qcacld-3.0: Featurize PM QoS support for 4.19 Kernel 2019-12-10 02:55:08 -08:00
src qcacld-3.0: Validate assoc response IE len before copy 2019-12-16 16:17:11 -08:00