diff options
author | Todd Kjos <tkjos@android.com> | 2019-06-12 13:29:27 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-04 09:32:01 +0200 |
commit | a4a3c070b8760f71c8311399fa9bfe67c8629bca (patch) | |
tree | 8ae33627b7de3909530baded1490b6f445236bae /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 6932a1265022e9b1c18a5dea366839dfbf40212a (diff) |
binder: fix possible UAF when freeing buffer
commit a370003cc301d4361bae20c9ef615f89bf8d1e8a upstream.
There is a race between the binder driver cleaning
up a completed transaction via binder_free_transaction()
and a user calling binder_ioctl(BC_FREE_BUFFER) to
release a buffer. It doesn't matter which is first but
they need to be protected against running concurrently
which can result in a UAF.
Signed-off-by: Todd Kjos <tkjos@google.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions