diff options
| author | Dennis Cagle <d-cagle@codeaurora.org> | 2017-02-23 13:41:19 -0800 |
|---|---|---|
| committer | Richard Chang <dickchang@google.com> | 2017-04-11 11:35:52 -0700 |
| commit | a0f52cfc14a9d527515b4f857df9e865d1dc2e42 (patch) | |
| tree | 1ab256e9ea690eb6e7eaccb9f6ff91dc334f3f3c /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | a269d9449d89e426127c37a8beb5e6d110e677f9 (diff) | |
leds: qpnp-flash: Fix Use-after-free(UAF) for debugfs
Fix UAF where two threads can open and close the same file. Second
open will cause the private data for the first file to be overwritten.
When the first file is closed and the private data is freed, this makes
the now-shared private data OOB for the second thread.
Bug: 33781694
Bug: 33781694, 33863909
CRs-Fixed: 1109763
Change-Id: I1c4618d5be99e140abf0f3ea0d7f485897db5ab2
Signed-off-by: Ankit Sharma <ansharma@codeaurora.org>
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Signed-off-by: Steve Pfetsch <spfetsch@google.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
