binder: 7179:7181 ioctl 8903 20000240 returned -22 ------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1105! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 7181 Comm: syz-executor.2 Not tainted 4.9.165+ #28 task: ffff8801a5a14740 task.stack: ffff8801cf748000 RIP: 0010:[] [] binder_alloc_do_buffer_copy+0xcb/0x500 drivers/android/binder_alloc.c:1105 RSP: 0018:ffff8801cf74f518 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000020001000 RCX: ffffc9000213b000 RDX: 0000000000000386 RSI: ffffffff8221c34b RDI: ffff8801c7b4c8d8 RBP: ffff8801cf74f598 R08: ffff8801cf74f870 R09: 0000000000000028 R10: ffffed0039ee9efe R11: ffff8801cf74f7f7 R12: 0000000000000020 R13: ffff8801b0016218 R14: 0000000000000028 R15: ffff8801cf74f870 FS: 00007fc415210700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004ce130 CR3: 00000001d13cc000 CR4: 00000000001606b0 Stack: ffff8801cf74f7f0 ffff8801cf74f548 ffffffff814f79e6 0000000000000008 dffffc0000000000 ffff8801c7b4ce58 00ff8801cf74f5d8 ffff8801c7b4ce00 ffff8801a5a159a0 ffff8801b0016180 d13a6d51f8651f90 ffff8801cf74f870 Call Trace: [] binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1151 [] binder_get_object+0xa2/0x1a0 drivers/android/binder.c:2245 [] binder_transaction+0x1fdf/0x5840 drivers/android/binder.c:3339 [] binder_thread_write+0x593/0x2110 drivers/android/binder.c:3884 [] binder_ioctl_write_read drivers/android/binder.c:4821 [inline] [] binder_ioctl+0xecd/0x1720 drivers/android/binder.c:4997 [] vfs_ioctl fs/ioctl.c:43 [inline] [] file_ioctl fs/ioctl.c:493 [inline] [] do_vfs_ioctl+0xb87/0x11d0 fs/ioctl.c:677 [] SYSC_ioctl fs/ioctl.c:694 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] do_syscall_64+0x1ad/0x570 arch/x86/entry/common.c:285 [] 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 0a 10 ff 4d 39 e6 76 07 e8 05 0a 10 ff <0f> 0b e8 fe 09 10 ff 4c 8b 6d d0 4d 29 f4 4d 39 e5 77 e8 e8 ed RIP [] binder_alloc_do_buffer_copy+0xcb/0x500 drivers/android/binder_alloc.c:1105 RSP binder: 7179:7213 Release 1 refcount change on invalid ref 0 ret -22 ---[ end trace eb1f792c4556da0c ]---