binder: BINDER_SET_CONTEXT_MGR already set binder: 8310:8310 ioctl 40046207 0 returned -16 binder: 8309:8309 ioctl 40046207 0 returned -16 binder_alloc: 8315: binder_alloc_buf failed to map pages in userspace, no vma ------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1141! ------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1141! binder: BINDER_SET_CONTEXT_MGR already set invalid opcode: 0000 [#1] PREEMPT SMP KASAN binder: 8314:8314 ioctl 40046207 0 returned -16 CPU: 0 PID: 8317 Comm: syz-executor562 Not tainted 5.0.0+ #13 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 1f 18 28 fc 4c 89 e6 4c 89 ef e8 34 19 28 fc 4d 39 e5 76 07 e8 0a 18 28 fc <0f> 0b e8 03 18 28 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 11 RSP: 0018:ffff8880a61a7550 EFLAGS: 00010293 RAX: ffff8880a49982c0 RBX: 0000000020004000 RCX: ffffffff85483dec RDX: 0000000000000000 RSI: ffffffff85483df6 RDI: 0000000000000006 RBP: ffff8880a61a75d0 R08: ffff8880a49982c0 R09: 0000000000000028 R10: ffffed1014c34f01 R11: ffff8880a61a780f R12: 0000000000000008 R13: 0000000000000028 R14: ffff8880a02186d0 R15: 0000000000000000 FS: 0000000000fc0940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006d0090 CR3: 000000007e720000 CR4: 00000000001406f0 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 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:0x445689 Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0b cd fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffe7a676878 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000445689 RDX: 00000000200003c0 RSI: 00000000c0306201 RDI: 0000000000000003 RBP: 000000000000d384 R08: 0000000000000004 R09: 00000000004028b0 R10: 000000000000000f R11: 0000000000000246 R12: 0000000000402820 R13: 00000000004028b0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: invalid opcode: 0000 [#2] PREEMPT SMP KASAN CPU: 1 PID: 8318 Comm: syz-executor562 Tainted: G D 5.0.0+ #13 ---[ end trace 786afff7c3cfb20e ]--- 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 1f 18 28 fc 4c 89 e6 4c 89 ef e8 34 19 28 fc 4d 39 e5 76 07 e8 0a 18 28 fc <0f> 0b e8 03 18 28 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 11 RSP: 0018:ffff88807e48f550 EFLAGS: 00010293 RIP: 0010:binder_alloc_do_buffer_copy+0xd6/0x510 drivers/android/binder_alloc.c:1141 RAX: ffff8880a49da300 RBX: 0000000020004008 RCX: ffffffff85483dec RDX: 0000000000000000 RSI: ffffffff85483df6 RDI: 0000000000000006 RBP: ffff88807e48f5d0 R08: ffff8880a49da300 R09: 0000000000000028 R10: ffffed100fc91f01 R11: ffff88807e48f80f R12: 0000000000000008 R13: 0000000000000028 R14: ffff8880a02186d0 R15: 0000000000000000 FS: 0000000000fc0940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006d0090 CR3: 000000008e3c8000 CR4: 00000000001406e0 Call Trace: Code: 02 00 0f 85 20 04 00 00 4d 8b 64 24 58 49 29 dc e8 1f 18 28 fc 4c 89 e6 4c 89 ef e8 34 19 28 fc 4d 39 e5 76 07 e8 0a 18 28 fc <0f> 0b e8 03 18 28 fc 4c 8b 75 d0 4d 29 ec 4c 89 e6 4c 89 f7 e8 11 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 RSP: 0018:ffff8880a61a7550 EFLAGS: 00010293 RAX: ffff8880a49982c0 RBX: 0000000020004000 RCX: ffffffff85483dec binder_thread_write+0x64a/0x2820 drivers/android/binder.c:3792 RDX: 0000000000000000 RSI: ffffffff85483df6 RDI: 0000000000000006 binder_ioctl_write_read drivers/android/binder.c:4825 [inline] binder_ioctl+0x1033/0x183b drivers/android/binder.c:5002 RBP: ffff8880a61a75d0 R08: ffff8880a49982c0 R09: 0000000000000028 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0xd6e/0x1390 fs/ioctl.c:696 R10: ffffed1014c34f01 R11: ffff8880a61a780f R12: 0000000000000008 R13: 0000000000000028 R14: ffff8880a02186d0 R15: 0000000000000000 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 FS: 0000000000fc0940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 RIP: 0033:0x445689 Code: e8 ac e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0b cd fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffe7a676878 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000445689 RDX: 00000000200003c0 RSI: 00000000c0306201 RDI: 0000000000000003 RBP: 000000000000d3f6 R08: 0000000000000004 R09: 00000000004028b0 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 R10: 000000000000000f R11: 0000000000000246 R12: 0000000000402820 R13: 00000000004028b0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 786afff7c3cfb20f ]--- CR2: 00000000004c3e08 CR3: 000000007e720000 CR4: 00000000001406f0 binder: BINDER_SET_CONTEXT_MGR already set