binder_alloc: binder_alloc_mmap_handler: 31959 20ffc000-21000000 already mapped failed -16 ------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1108! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 31967 Comm: syz-executor.2 Not tainted 4.9.194+ #0 task: 00000000b06a7795 task.stack: 00000000f8f23d89 RIP: 0010:[] [<0000000048c3e777>] binder_alloc_do_buffer_copy+0xcb/0x500 drivers/android/binder_alloc.c:1108 RSP: 0018:ffff8801a86274a8 EFLAGS: 00010216 RAX: 0000000000040000 RBX: 0000000020ffc000 RCX: ffffc90008293000 RDX: 0000000000000367 RSI: ffffffff8223a8fb RDI: ffff8801d4d102d8 RBP: ffff8801a8627528 R08: ffff8801a86275a8 R09: 0000000000000008 R10: ffffed00350c4f12 R11: ffff8801a8627897 R12: 0000000000000078 R13: 0000000000000088 R14: 0000000000000008 R15: ffff8801a86275a8 FS: 00007f5db4e6a700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e622000 CR3: 00000001a9793000 CR4: 00000000001606b0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: ffffffff81249811 ffff8801a8627568 0000000000000246 00000000200000c0 ffff88019f61e028 ffff8801d4d10658 00ff8801a8627870 ffff8801d4d10600 ffffffff814fdcb6 ffff8801a7f65880 0000000000000088 ffff8801a86275a8 Call Trace: [<0000000041c2a9fe>] binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1154 [<000000009bf2fa6c>] binder_validate_ptr+0xc5/0x1b0 drivers/android/binder.c:2335 [<00000000f00abd2e>] binder_fixup_parent drivers/android/binder.c:2855 [inline] [<00000000f00abd2e>] binder_transaction+0x3895/0x5890 drivers/android/binder.c:3517 [<00000000712e4ae9>] binder_thread_write+0x730/0x20e0 drivers/android/binder.c:3906 [<00000000b34816ca>] binder_ioctl_write_read drivers/android/binder.c:4854 [inline] [<00000000b34816ca>] binder_ioctl+0xecd/0x1720 drivers/android/binder.c:5030 [<00000000b096836f>] vfs_ioctl fs/ioctl.c:43 [inline] [<00000000b096836f>] file_ioctl fs/ioctl.c:493 [inline] [<00000000b096836f>] do_vfs_ioctl+0xb87/0x11d0 fs/ioctl.c:677 [<00000000ed147d7e>] SYSC_ioctl fs/ioctl.c:694 [inline] [<00000000ed147d7e>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [<00000000076f5313>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<000000004a1992d3>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 0a 04 00 00 4d 8b 64 24 58 49 29 dc e8 0f 7e 0e ff 4d 39 e6 76 07 e8 05 7e 0e ff <0f> 0b e8 fe 7d 0e ff 4c 8b 6d d0 4d 29 f4 4d 39 e5 77 e8 e8 ed RIP [<0000000048c3e777>] binder_alloc_do_buffer_copy+0xcb/0x500 drivers/android/binder_alloc.c:1108 RSP ---[ end trace a0e98959dc1fc1a9 ]---