------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1130! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9308 Comm: syz-executor928 Not tainted 5.2.0-rc6-next-20190625 #22 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510 drivers/android/binder_alloc.c:1130 Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 cf d1 10 fc 4c 89 e6 4c 89 ef e8 e4 d2 10 fc 4d 39 e5 76 07 e8 ba d1 10 fc <0f> 0b e8 b3 d1 10 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 c1 RSP: 0018:ffff88808a4bf4e0 EFLAGS: 00010293 RAX: ffff8880a14242c0 RBX: 0000000020001000 RCX: ffffffff85617b1f RDX: 0000000000000000 RSI: ffffffff85617b06 RDI: 0000000000000006 RBP: ffff88808a4bf560 R08: ffff8880a14242c0 R09: 0000000000000008 R10: ffffed1011497f15 R11: ffff88808a4bf8af R12: 0000000000000058 R13: 0000000000000008 R14: 0000000000000070 R15: 0000000000000000 FS: 00005555566eb940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009b51c000 CR4: 00000000001506f0 Call Trace: binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1176 binder_validate_ptr+0xcc/0x1d0 drivers/android/binder.c:2134 binder_transaction+0x2d32/0x65f0 drivers/android/binder.c:3318 binder_thread_write+0x663/0x2850 drivers/android/binder.c:3806 binder_ioctl_write_read drivers/android/binder.c:4839 [inline] binder_ioctl+0x1093/0x18fb drivers/android/binder.c:5016 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0xdb6/0x13e0 fs/ioctl.c:696 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0xfd/0x6a0 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x444a39 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b d8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffdeed024d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffdeed024e0 RCX: 0000000000444a39 RDX: 0000000020000440 RSI: 00000000c0306201 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000401320 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000402740 R13: 00000000004027d0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace eaa9df7e0ca0e02f ]--- RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510 drivers/android/binder_alloc.c:1130 Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 cf d1 10 fc 4c 89 e6 4c 89 ef e8 e4 d2 10 fc 4d 39 e5 76 07 e8 ba d1 10 fc <0f> 0b e8 b3 d1 10 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 c1 RSP: 0018:ffff88808a4bf4e0 EFLAGS: 00010293 RAX: ffff8880a14242c0 RBX: 0000000020001000 RCX: ffffffff85617b1f RDX: 0000000000000000 RSI: ffffffff85617b06 RDI: 0000000000000006 RBP: ffff88808a4bf560 R08: ffff8880a14242c0 R09: 0000000000000008 R10: ffffed1011497f15 R11: ffff88808a4bf8af R12: 0000000000000058 R13: 0000000000000008 R14: 0000000000000070 R15: 0000000000000000 FS: 00005555566eb940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009b51c000 CR4: 00000000001506f0