commit | 2e01abcc20c8d123b64884dff4be7397f90fe63f | [log] [tgz] |
---|---|---|
author | Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> | Fri Jan 05 10:54:04 2018 +0530 |
committer | snandini <snandini@codeaurora.org> | Mon Jan 08 13:33:26 2018 -0800 |
tree | e93dcdfa453cfe17252755f2a71ae3c471e3affd | |
parent | 54d3aa2ea6379cf06fb95966a1e8050a985c41c1 [diff] |
qcacld-3.0: Use after free in hdd_debugfs_stats_update api Currently there is no locking mechanism to protect global variable ll_stats.result in hdd_debugfs_stats_update api and wlan_hdd_llstats_free_buf api so if two threads access the file simultaneously there is a possibility of use after free of the llstats buffer. To address this issue add a mutex to prevent the simultaneous access of the llstats buffer. Change-Id: I0fd418e3a2034f10ba45021af21920f5e133cb6e CRs-Fixed: 2157283