Commit 117593cf authored by Vinay Gannevaram's avatar Vinay Gannevaram Committed by Sunil Ravi
Browse files

WifiHal: Fix OOB read of ctrl buf while registering monitor sock



Boundary check for NLMSG length is not present, which would
result in OOB read of the buffer during nla parse. Hence add
required boundary checks before processing ctrl msg from
wifihal clients. Also allocate required buffer for control
events to the size of received nlmsg data

Bug: 149836664
Test: Manual - Basic wifi sanity test
CRs-Fixed: 2628103
Change-Id: Idc971a343f30e41f359180757f108a8c0dfe2a7e
Signed-off-by: default avatarVinay Gannevaram <quic_vganneva@quicinc.com>
parent 0ed8dbf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment