diff options
| author | Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> | 2018-01-05 10:54:04 +0530 |
|---|---|---|
| committer | Oleg Matcovschi <omatcovschi@google.com> | 2018-03-13 19:47:41 -0700 |
| commit | 8bcc36b2b0d87a4c173cb1a66e8959d6466bc539 (patch) | |
| tree | eb6061570d0e188092381c910e4718742fb4aef8 /net/unix/sysctl_net_unix.c | |
| parent | a604f6225b71e013d3b4938982b9a2e54540df54 (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.
Bug: 69128800
CRs-Fixed: 2157283
Signed-off-by: Ecco Park <eccopark@google.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
