------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1141! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7776 Comm: syz-executor471 Not tainted 5.1.0-rc2+ #38 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:1141 Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 ff f7 23 fc 4c 89 e6 4c 89 ef e8 14 f9 23 fc 4d 39 e5 76 07 e8 ea f7 23 fc <0f> 0b e8 e3 f7 23 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 f1 RSP: 0018:ffff888086b976d8 EFLAGS: 00010293 RAX: ffff8880a96ee280 RBX: 0000000020001000 RCX: ffffffff854c798c RDX: 0000000000000000 RSI: ffffffff854c7996 RDI: 0000000000000006 RBP: ffff888086b97758 R08: ffff8880a96ee280 R09: 0000000000000028 R10: ffffed1010d72f32 R11: ffff888086b97997 R12: 0000000000000008 R13: 0000000000000028 R14: ffff8880983d3410 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae900000(0063) knlGS:0000000009a58900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000093c38000 CR4: 00000000001406e0 Call Trace: binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1187 binder_get_object+0xc3/0x200 drivers/android/binder.c:2062 binder_transaction+0x2b4a/0x6690 drivers/android/binder.c:3231 binder_thread_write+0x64a/0x2820 drivers/android/binder.c:3792 binder_ioctl_write_read drivers/android/binder.c:4825 [inline] binder_ioctl+0x1033/0x183b drivers/android/binder.c:5002 __do_compat_sys_ioctl fs/compat_ioctl.c:1052 [inline] __se_compat_sys_ioctl fs/compat_ioctl.c:998 [inline] __ia32_compat_sys_ioctl+0x197/0x620 fs/compat_ioctl.c:998 do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline] do_fast_syscall_32+0x281/0xc98 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f4e869 Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000ff9f34ac EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000c0306201 RDX: 0000000020000440 RSI: 0000000008048ce0 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 5c50eb6871693f35 ]--- RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510 drivers/android/binder_alloc.c:1141 Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 ff f7 23 fc 4c 89 e6 4c 89 ef e8 14 f9 23 fc 4d 39 e5 76 07 e8 ea f7 23 fc <0f> 0b e8 e3 f7 23 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 f1 RSP: 0018:ffff888086b976d8 EFLAGS: 00010293 RAX: ffff8880a96ee280 RBX: 0000000020001000 RCX: ffffffff854c798c RDX: 0000000000000000 RSI: ffffffff854c7996 RDI: 0000000000000006 RBP: ffff888086b97758 R08: ffff8880a96ee280 R09: 0000000000000028 R10: ffffed1010d72f32 R11: ffff888086b97997 R12: 0000000000000008 R13: 0000000000000028 R14: ffff8880983d3410 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae900000(0063) knlGS:0000000009a58900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000093c38000 CR4: 00000000001406e0