------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1130! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8410 Comm: syz-executor385 Not tainted 5.2.0-rc5 #28 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 bf 9d 1c fc 4c 89 e6 4c 89 ef e8 d4 9e 1c fc 4d 39 e5 76 07 e8 aa 9d 1c fc <0f> 0b e8 a3 9d 1c fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 b1 RSP: 0018:ffff8880a1077668 EFLAGS: 00010293 RAX: ffff8880a5304200 RBX: 0000000020001000 RCX: ffffffff855423cf RDX: 0000000000000000 RSI: ffffffff855423b6 RDI: 0000000000000006 RBP: ffff8880a10776e8 R08: ffff8880a5304200 R09: 0000000000000008 R10: ffffed101420ef46 R11: ffff8880a1077a37 R12: 0000000000000078 R13: 0000000000000008 R14: 00000000000000a8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0063) knlGS:0000000056fc1900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000099beb000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1176 binder_validate_ptr+0xcc/0x1d0 drivers/android/binder.c:2124 binder_transaction+0x2c9c/0x6620 drivers/android/binder.c:3308 binder_thread_write+0x64a/0x2820 drivers/android/binder.c:3794 binder_ioctl_write_read drivers/android/binder.c:4827 [inline] binder_ioctl+0x102f/0x1833 drivers/android/binder.c:5004 __do_compat_sys_ioctl fs/compat_ioctl.c:1052 [inline] __se_compat_sys_ioctl fs/compat_ioctl.c:998 [inline] __ia32_compat_sys_ioctl+0x195/0x620 fs/compat_ioctl.c:998 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline] do_fast_syscall_32+0x27b/0xd7d arch/x86/entry/common.c:408 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f33849 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:00000000ff82b40c EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000c0306201 RDX: 0000000020000440 RSI: 0000000008049250 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 8088322ceeed7c1b ]--- 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 bf 9d 1c fc 4c 89 e6 4c 89 ef e8 d4 9e 1c fc 4d 39 e5 76 07 e8 aa 9d 1c fc <0f> 0b e8 a3 9d 1c fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 b1 RSP: 0018:ffff8880a1077668 EFLAGS: 00010293 RAX: ffff8880a5304200 RBX: 0000000020001000 RCX: ffffffff855423cf RDX: 0000000000000000 RSI: ffffffff855423b6 RDI: 0000000000000006 RBP: ffff8880a10776e8 R08: ffff8880a5304200 R09: 0000000000000008 R10: ffffed101420ef46 R11: ffff8880a1077a37 R12: 0000000000000078 R13: 0000000000000008 R14: 00000000000000a8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0063) knlGS:0000000056fc1900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000099beb000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400