binder: 16464:16472 got transaction to invalid handle ------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1130! binder: 16464:16472 transaction failed 29201/-22, size 0-72 line 3117 invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI Modules linked in: CPU: 0 PID: 16473 Comm: syz-executor.0 Not tainted 4.14.108+ #39 binder: 16464:16486 got transaction to invalid handle task: ffff8881a4279780 task.stack: ffff8881c6b48000 RIP: 0010:binder_alloc_do_buffer_copy+0xc7/0x500 drivers/android/binder_alloc.c:1130 RSP: 0018:ffff8881c6b4f5d0 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000020001000 RCX: 000000000000033c RDX: ffffffff82237477 RSI: ffffc9000194b000 RDI: ffff8881d49c7bd8 binder: 16464:16486 transaction failed 29201/-22, size 0-72 line 3117 RBP: 0000000000000020 R08: ffff8881c6b4f8b0 R09: 0000000000000028 R10: ffffed1038d69f06 R11: ffff8881c6b4f837 R12: ffff8881c863ef98 R13: 0000000000000028 R14: 00ffffffe8000000 R15: ffff8881c6b4f8b0 FS: 00007fc787f85700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8937479000 CR3: 00000001c77ea002 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: binder: undelivered TRANSACTION_ERROR: 29201 binder_get_object+0x90/0x190 drivers/android/binder.c:2244 binder_transaction+0x1e2d/0x5640 drivers/android/binder.c:3338 binder: undelivered TRANSACTION_ERROR: 29201 binder: BINDER_SET_CONTEXT_MGR already set binder: 16476:16480 ioctl 40046207 0 returned -16 binder: 16484:16492 unknown command 2 binder: 16484:16492 ioctl c0306201 200000c0 returned -22 binder: 16484:16494 unknown command 2 binder: 16484:16494 ioctl c0306201 200000c0 returned -22 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 0d 04 00 00 48 8b 6d 58 48 29 dd e8 33 33 0d ff 49 39 ed 76 07 e8 29 33 0d ff <0f> 0b e8 22 33 0d ff 4c 29 ed 49 39 ee 77 ec e8 15 33 0d ff 41 RIP: binder_alloc_do_buffer_copy+0xc7/0x500 drivers/android/binder_alloc.c:1130 RSP: ffff8881c6b4f5d0 ---[ end trace 56639f2ad980718b ]---