1
0
Fork 0
remarkable-linux/drivers/android
Martijn Coenen fd0485e2cc ANDROID: binder: prevent transactions into own process.
commit 7aa135fcf2 upstream.

This can't happen with normal nodes (because you can't get a ref
to a node you own), but it could happen with the context manager;
to make the behavior consistent with regular nodes, reject
transactions into the context manager by the process owning it.

Reported-by: syzbot+09e05aba06723a94d43d@syzkaller.appspotmail.com
Signed-off-by: Martijn Coenen <maco@android.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-01 12:58:20 -07:00
..
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile android: binder: Add allocator selftest 2017-08-28 16:47:17 +02:00
binder.c ANDROID: binder: prevent transactions into own process. 2018-05-01 12:58:20 -07:00
binder_alloc.c android: binder: use VM_ALLOC to get vm area 2018-02-03 17:39:22 +01:00
binder_alloc.h android: binder: Don't get mm from task 2017-10-21 10:14:20 +02:00
binder_alloc_selftest.c android: binder: Add global lru shrinker to binder 2017-08-28 16:47:17 +02:00
binder_trace.h android: binder: Add shrinker tracepoints 2017-08-28 16:47:17 +02:00