commit | aa447e5609d3974be215058c5889aa3542bdd342 | [log] [tgz] |
---|---|---|
author | Vinay Gannevaram <vganneva@codeaurora.org> | Mon Mar 02 18:36:58 2020 +0530 |
committer | Vinay Gannevaram <vganneva@codeaurora.org> | Thu Apr 16 16:11:09 2020 +0530 |
tree | 3298dd92da017a102d91f0bffd8a37ea2c62a09d | |
parent | 9e06fde38303dfb10c59af5dfebfa52b4f70fbfd [diff] |
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 CRs-Fixed: 2628103 Change-Id: Idc971a343f30e41f359180757f108a8c0dfe2a7e