------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1130! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 15026 Comm: syz-executor.5 Not tainted 5.2.0-rc5+ #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:binder_alloc_do_buffer_copy+0x4c5/0x4e0 drivers/android/binder_alloc.c:1036 Code: 5d 41 5e 41 5f 5d c3 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 23 fd ff ff 4c 89 f7 e8 55 20 f0 fb e9 16 fd ff ff e8 2b f7 b6 fb <0f> 0b e8 24 f7 b6 fb 0f 0b e8 1d f7 b6 fb 0f 0b 90 66 2e 0f 1f 84 RSP: 0018:ffff88804c966ec0 EFLAGS: 00010287 RAX: ffffffff85bebac5 RBX: 0000000000000008 RCX: 0000000000040000 RDX: ffffc90010862000 RSI: 0000000000001b99 RDI: 0000000000001b9a RBP: ffff88804c966f38 R08: ffffffff85beb78f R09: 0000000000000008 R10: ffff88804faf6400 R11: 0000000000000007 R12: 0000000000000070 R13: 0000000000000070 R14: 0000000000000060 R15: 0000000000000058 FS: 00007f4be2ba3700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000070e07b CR3: 0000000092fc7000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: binder_alloc_copy_from_buffer+0x37/0x50 drivers/android/binder_alloc.c:1176 binder_validate_ptr drivers/android/binder.c:2124 [inline] binder_transaction+0x4301/0xb850 drivers/android/binder.c:3308 binder_thread_write drivers/android/binder.c:3794 [inline] binder_ioctl_write_read+0xb69/0xc4f0 drivers/android/binder.c:4827 binder_ioctl+0x2ee/0x1370 drivers/android/binder.c:5004 do_vfs_ioctl+0x7d4/0x1890 fs/ioctl.c:46 ksys_ioctl fs/ioctl.c:713 [inline] __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0xe3/0x120 fs/ioctl.c:718 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: fd b7 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4be2ba2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9 RDX: 0000000020000440 RSI: 00000000c0306201 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4be2ba36d4 R13: 00000000004c078e R14: 00000000004d3248 R15: 00000000ffffffff Modules linked in: ---[ end trace 1fe476d7f97ba9c4 ]--- RIP: 0010:binder_alloc_do_buffer_copy+0x4c5/0x4e0 drivers/android/binder_alloc.c:1036 Code: 5d 41 5e 41 5f 5d c3 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 23 fd ff ff 4c 89 f7 e8 55 20 f0 fb e9 16 fd ff ff e8 2b f7 b6 fb <0f> 0b e8 24 f7 b6 fb 0f 0b e8 1d f7 b6 fb 0f 0b 90 66 2e 0f 1f 84 RSP: 0018:ffff88804c966ec0 EFLAGS: 00010287 RAX: ffffffff85bebac5 RBX: 0000000000000008 RCX: 0000000000040000 RDX: ffffc90010862000 RSI: 0000000000001b99 RDI: 0000000000001b9a RBP: ffff88804c966f38 R08: ffffffff85beb78f R09: 0000000000000008 R10: ffff88804faf6400 R11: 0000000000000007 R12: 0000000000000070 R13: 0000000000000070 R14: 0000000000000060 R15: 0000000000000058 FS: 00007f4be2ba3700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7c388f767d CR3: 0000000092fc7000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400