android_kernel_sony_sdm845/drivers/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Todd Kjos b8f2f4b8f6 UPSTREAM: binder: check for overflow when alloc for security context
commit 0b0509508beff65c1d50541861bc0d4973487dc5 upstream.

When allocating space in the target buffer for the security context,
make sure the extra_buffers_size doesn't overflow. This can only
happen if the given size is invalid, but an overflow can turn it
into a valid size. Fail the transaction if an overflow is detected.

Bug: 130571081
Change-Id: Ibaec652d2073491cc426a4a24004a848348316bf
Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-11 15:47:28 -07:00
..
binder.c UPSTREAM: binder: check for overflow when alloc for security context 2019-06-11 15:47:28 -07:00
binder_alloc.c BACKPORT: binder: fix race between munmap() and direct reclaim 2019-06-11 10:00:38 -07:00
binder_alloc.h BACKPORT: binder: use userspace pointer as base of buffer space 2019-03-25 17:00:44 -07:00
binder_alloc_selftest.c UPSTREAM: binder: fix sparse issue in binder_alloc_selftest.c 2019-03-25 17:00:44 -07:00
binder_trace.h BACKPORT: binder: use userspace pointer as base of buffer space 2019-03-25 17:00:44 -07:00
Kconfig UPSTREAM: ANDROID: binder: remove 32-bit binder interface. 2018-07-17 11:14:22 +02:00
Makefile FROMLIST: android: binder: Add allocator selftest 2017-08-31 17:06:00 -07:00