audit: type=1400 audit(1553685579.829:244): avc: denied { call } for pid=18301 comm="/group.stat" 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 ------------[ cut here ]------------ kernel BUG at drivers/android/binder_alloc.c:1105! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 18316 Comm: /group.stat Not tainted 4.9.165+ #29 binder: 18301:18317 BC_INCREFS_DONE u0000000000000000 no match binder: 18301:18317 Release 1 refcount change on invalid ref 1 ret -22 binder: 18301:18317 unknown command -221772125 binder: 18301:18317 ioctl c0306201 200001c0 returned -22 binder: 18301:18317 BC_ACQUIRE_DONE u0000000000000000 no match task: ffff8801a1440000 task.stack: ffff8801a48d0000 RIP: 0010:[] [] binder_alloc_do_buffer_copy+0xcb/0x500 drivers/android/binder_alloc.c:1105 RSP: 0018:ffff8801a48d7518 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000020001000 RCX: ffffc90006f6a000 RDX: 0000000000040000 RSI: ffffffff8221c34b RDI: ffff8801d773bc58 RBP: ffff8801a48d7598 R08: ffff8801a48d7870 R09: 0000000000000028 R10: ffffed003491aefe R11: ffff8801a48d77f7 R12: 0000000000000020 R13: ffff8801d813fd18 R14: 0000000000000028 R15: ffff8801a48d7870 FS: 00007f6d21d9d700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000073c028 CR3: 00000001c649a000 CR4: 00000000001606b0 Stack: ffff8801a48d77f0 ffff8801a48d7548 ffffffff814f79e6 0000000000000008 dffffc0000000000 ffff8801d274b4d8 00ff8801a48d75d8 ffff8801d274b480 ffff8801a1441260 ffff8801d813fc80 0000000000000300 ffff8801a48d7870 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 d2fd19a3bdc7a715 ]---