]> asedeno.scripts.mit.edu Git - linux.git/commit
binder: fix handling of misaligned binder object
authorTodd Kjos <tkjos@android.com>
Thu, 14 Feb 2019 23:22:57 +0000 (15:22 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Feb 2019 07:49:20 +0000 (08:49 +0100)
commit26528be6720bb40bc8844e97ee73a37e530e9c5e
tree88343b6e0b00057f70aec941ea9fa151a6bb7f0b
parent36f30937922ce75390c73f99e650e4f2eb56b0e6
binder: fix handling of misaligned binder object

Fixes crash found by syzbot:
kernel BUG at drivers/android/binder_alloc.c:LINE! (2)

Reported-and-tested-by: syzbot+55de1eb4975dec156d8f@syzkaller.appspotmail.com
Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c