binder: BINDER_SET_CONTEXT_MGR already set audit: type=1400 audit(1553629128.341:7): avc: denied { call } for pid=2930 comm="syz-executor.3" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 binder: 2940:2943 ioctl 40046207 0 returned -16 binder: 2938:2942 ioctl 40046207 0 returned -16 ------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1105! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 2964 Comm: syz-executor.4 Not tainted 4.9.165+ #28 task: ffff8801d7f55f00 task.stack: ffff8801d74e8000 RIP: 0010:[] [] binder_alloc_do_buffer_copy+0xcb/0x500 drivers/android/binder_alloc.c:1105 RSP: 0018:ffff8801d74ef518 EFLAGS: 00010293 RAX: ffff8801d7f55f00 RBX: 0000000020001000 RCX: d13a6d51f8651f90 RDX: 0000000000000000 RSI: ffffffff8221c34b RDI: ffff8801c4e80758 RBP: ffff8801d74ef598 R08: ffff8801d74ef870 R09: 0000000000000028 R10: ffffed003ae9defe R11: ffff8801d74ef7f7 R12: 0000000000000020 R13: ffff8801c7076698 R14: 0000000000000028 R15: ffff8801d74ef870 FS: 00007f4f1f84b700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f380a7df4a0 CR3: 00000001c4e7b000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801d74ef7f0 ffff8801d74ef548 ffffffff814f79e6 0000000000000008 dffffc0000000000 ffff8801d8209258 00ff8801d74ef5d8 ffff8801d8209200 ffff8801d7f57160 ffff8801c7076600 d13a6d51f8651f90 ffff8801d74ef870 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 ---[ end trace 465638f4015f14d6 ]---