------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1139! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 9573 Comm: syz-executor.1 Not tainted 5.1.0-rc4+ #68 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:1139 Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 0f 7a 23 fc 4c 89 e6 4c 89 ef e8 24 7b 23 fc 4d 39 e5 76 07 e8 fa 79 23 fc <0f> 0b e8 f3 79 23 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 01 RSP: 0018:ffff88804e9ff4e0 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000020001000 RCX: ffffc90008221000 RDX: 000000000000061d RSI: ffffffff854d12b6 RDI: 0000000000000006 RBP: ffff88804e9ff560 R08: ffff8880a4ea6300 R09: 0000000000000008 R10: ffffed1009d3ff15 R11: ffff88804e9ff8af R12: 0000000000000048 R13: 0000000000000008 R14: 0000000000000050 R15: 0000000000000000 FS: 00007f99b4d51700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9e3a080000 CR3: 00000000a98eb000 CR4: 00000000001406e0 Call Trace: binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1185 binder_validate_ptr+0xcc/0x1d0 drivers/android/binder.c:2133 binder_fixup_parent drivers/android/binder.c:2715 [inline] binder_transaction+0x3e02/0x65c0 drivers/android/binder.c:3381 binder_thread_write+0x87e/0x2820 drivers/android/binder.c:3782 binder_ioctl_write_read drivers/android/binder.c:4826 [inline] binder_ioctl+0x1033/0x183b drivers/android/binder.c:5003 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0xd6e/0x1390 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+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458c29 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f99b4d50c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458c29 RDX: 0000000020000780 RSI: 00000000c0306201 RDI: 0000000000000004 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f99b4d516d4 R13: 00000000004bff7b R14: 00000000004d22e8 R15: 00000000ffffffff Modules linked in: ---[ end trace d49beb550265e785 ]--- RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510 drivers/android/binder_alloc.c:1139 Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 0f 7a 23 fc 4c 89 e6 4c 89 ef e8 24 7b 23 fc 4d 39 e5 76 07 e8 fa 79 23 fc <0f> 0b e8 f3 79 23 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 01 RSP: 0018:ffff88804e9ff4e0 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000020001000 RCX: ffffc90008221000 RDX: 000000000000061d RSI: ffffffff854d12b6 RDI: 0000000000000006 RBP: ffff88804e9ff560 R08: ffff8880a4ea6300 R09: 0000000000000008 R10: ffffed1009d3ff15 R11: ffff88804e9ff8af R12: 0000000000000048 R13: 0000000000000008 R14: 0000000000000050 R15: 0000000000000000 FS: 00007f99b4d51700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000940004 CR3: 00000000a98eb000 CR4: 00000000001426f0