------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1130! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5731 Comm: syz-executor.4 Not tainted 5.2.0-rc5+ #31 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 0f 8e 1c fc 4c 89 e6 4c 89 ef e8 24 8f 1c fc 4d 39 e5 76 07 e8 fa 8d 1c fc <0f> 0b e8 f3 8d 1c fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 01 RSP: 0018:ffff88805e21f668 EFLAGS: 00010216 RAX: 0000000000040000 RBX: 0000000020ffc000 RCX: ffffc9000e64d000 RDX: 0000000000001618 RSI: ffffffff85543336 RDI: 0000000000000006 RBP: ffff88805e21f6e8 R08: ffff8880a0e0c280 R09: 0000000000000008 R10: ffffed100bc43f46 R11: ffff88805e21fa37 R12: 0000000000000058 R13: 0000000000000008 R14: 0000000000000070 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0063) knlGS:00000000f5d60b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007ffed7f923f8 CR3: 000000008ded9000 CR4: 00000000001406f0 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:0xf7f64849 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:00000000f5d600cc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000c0306201 RDX: 0000000020000440 RSI: 0000000000000000 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 b59d0220f9b61b12 ]--- 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 0f 8e 1c fc 4c 89 e6 4c 89 ef e8 24 8f 1c fc 4d 39 e5 76 07 e8 fa 8d 1c fc <0f> 0b e8 f3 8d 1c fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 01 RSP: 0018:ffff88805e21f668 EFLAGS: 00010216 RAX: 0000000000040000 RBX: 0000000020ffc000 RCX: ffffc9000e64d000 RDX: 0000000000001618 RSI: ffffffff85543336 RDI: 0000000000000006 RBP: ffff88805e21f6e8 R08: ffff8880a0e0c280 R09: 0000000000000008 R10: ffffed100bc43f46 R11: ffff88805e21fa37 R12: 0000000000000058 R13: 0000000000000008 R14: 0000000000000070 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0063) knlGS:00000000f5d60b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 000000008ded9000 CR4: 00000000001406f0