diff options
| author | Xu YiPing <xuyiping@hisilicon.com> | 2017-05-22 11:26:23 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-16 17:53:47 +0200 |
| commit | 335adf479bd195eefb34e8fd0a9d1a7f441809f4 (patch) | |
| tree | 9728795264610da673e973e83bfcc62e3778b7dc /include/linux/nbd.h | |
| parent | df5ac75816efe7f58c56826957bfb09eb2127098 (diff) | |
FROMLIST: binder: fix memory corruption in binder_transaction binder
(from https://patchwork.kernel.org/patch/9939405/)
commit 7a4408c6bd3e ("binder: make sure accesses to proc/thread are
safe") made a change to enqueue tcomplete to thread->todo before
enqueuing the transaction. However, in err_dead_proc_or_thread case,
the tcomplete is directly freed, without dequeued. It may cause the
thread->todo list to be corrupted.
So, dequeue it before freeing.
Bug: 65333488
Change-Id: Id063a4db18deaa634f4d44aa6ebca47bea32537a
Signed-off-by: Xu YiPing <xuyiping@hisilicon.com>
Signed-off-by: Todd Kjos <tkjos@google.com>
Diffstat (limited to 'include/linux/nbd.h')
0 files changed, 0 insertions, 0 deletions
