binder: 1855:1867 transaction failed 29201/-28, size 96-35184409837592 line 3284 binder: undelivered TRANSACTION_ERROR: 29201 binder: 1862:1868 got transaction with invalid handle, 0 binder: 1862:1868 transaction failed 29201/-22, size 88-24 line 3411 ------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1108! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 1865 Comm: syz-executor.4 Not tainted 4.9.194+ #0 task: 00000000c284c0fc task.stack: 00000000427954dc RIP: 0010:[] [<0000000070d9ef31>] binder_alloc_do_buffer_copy+0xcb/0x500 drivers/android/binder_alloc.c:1108 RSP: 0018:ffff880187f0f4a8 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000020ffc000 RCX: ffffc9000a58a000 RDX: 0000000000000798 RSI: ffffffff8223a8fb RDI: ffff8801a5650958 RBP: ffff880187f0f528 R08: ffff880187f0f5a8 R09: 0000000000000008 R10: ffffed0030fe1f11 R11: ffff880187f0f88f R12: 0000000000000070 R13: 0000000000000380 R14: 0000000000000008 R15: ffff880187f0f5a8 FS: 00007f29b1891700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000400200 CR3: 00000001a6013000 CR4: 00000000001606b0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: ffff880191864268 ffffffff82216590 ffff880191864268 270f1cbab4629421 ffff8801a2e88040 ffff8801aeb14658 00ff880187f0f870 ffff8801aeb14600 ffffffff814fdcb6 ffff8801d3f3b380 0000000000000380 ffff880187f0f5a8 Call Trace: [<00000000094e5eb4>] binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1154 [<00000000178c31af>] binder_validate_ptr+0xc5/0x1b0 drivers/android/binder.c:2335 [<000000006230c3ba>] binder_transaction+0x20a4/0x5890 drivers/android/binder.c:3444 [<000000003b55f8fb>] binder_thread_write+0x583/0x20e0 drivers/android/binder.c:3917 [<000000002b954967>] binder_ioctl_write_read drivers/android/binder.c:4854 [inline] [<000000002b954967>] binder_ioctl+0xecd/0x1720 drivers/android/binder.c:5030 [<000000008049075b>] vfs_ioctl fs/ioctl.c:43 [inline] [<000000008049075b>] file_ioctl fs/ioctl.c:493 [inline] [<000000008049075b>] do_vfs_ioctl+0xb87/0x11d0 fs/ioctl.c:677 [<0000000063241221>] SYSC_ioctl fs/ioctl.c:694 [inline] [<0000000063241221>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [<000000004b0dd3f5>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<0000000035f8f7b5>] 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 [<0000000070d9ef31>] binder_alloc_do_buffer_copy+0xcb/0x500 drivers/android/binder_alloc.c:1108 RSP ---[ end trace 8f6ac2b54db590d4 ]---