audit: type=1400 audit(1573864954.808:34): avc: denied { call } for pid=4993 comm="syz-executor.1" 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:1108! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 4994 Comm: syz-executor.1 Not tainted 4.9.194+ #0 task: 000000000c3903e5 task.stack: 000000000bc9f29c RIP: 0010:[] [<00000000ce6879c3>] binder_alloc_do_buffer_copy+0xcb/0x500 drivers/android/binder_alloc.c:1108 RSP: 0018:ffff8801cf36f4a8 EFLAGS: 00010216 RAX: 0000000000040000 RBX: 0000000020ffc000 RCX: ffffc900016fe000 RDX: 00000000000297a6 RSI: ffffffff8223a8fb RDI: ffff8801c86fc4d8 RBP: ffff8801cf36f528 R08: ffff8801cf36f5a8 R09: 0000000000000008 R10: ffffed0039e6df12 R11: ffff8801cf36f897 R12: 0000000000000078 R13: 0000000000000080 R14: 0000000000000008 R15: ffff8801cf36f5a8 FS: 00007fdcd76e1700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020787000 CR3: 00000001b5d01000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff81249811 ffff8801cf36f568 0000000000000246 0000000020000040 ffff8801ceef3028 ffff8801ca741fd8 00ff8801cf36f870 ffff8801ca741f80 ffffffff814fdcb6 ffff8801d6d53800 0000000000000080 ffff8801cf36f5a8 Call Trace: [<00000000ed98a19a>] binder_alloc_copy_from_buffer+0x37/0x42 drivers/android/binder_alloc.c:1154 [<00000000d4e2dbbb>] binder_validate_ptr+0xc5/0x1b0 drivers/android/binder.c:2335 [<00000000f8996c2e>] binder_fixup_parent drivers/android/binder.c:2855 [inline] [<00000000f8996c2e>] binder_transaction+0x3895/0x5890 drivers/android/binder.c:3517 [<00000000f6b8b1c2>] binder_thread_write+0x583/0x20e0 drivers/android/binder.c:3917 [<00000000f20700fc>] binder_ioctl_write_read drivers/android/binder.c:4854 [inline] [<00000000f20700fc>] binder_ioctl+0xecd/0x1720 drivers/android/binder.c:5030 [<00000000ce398f70>] vfs_ioctl fs/ioctl.c:43 [inline] [<00000000ce398f70>] file_ioctl fs/ioctl.c:493 [inline] [<00000000ce398f70>] do_vfs_ioctl+0xb87/0x11d0 fs/ioctl.c:677 [<0000000035203425>] SYSC_ioctl fs/ioctl.c:694 [inline] [<0000000035203425>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [<00000000a18a2d9a>] do_syscall_64+0x1ad/0x5c0 arch/x86/entry/common.c:288 [<00000000ccfb9762>] 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 [<00000000ce6879c3>] binder_alloc_do_buffer_copy+0xcb/0x500 drivers/android/binder_alloc.c:1108 RSP ---[ end trace 0390326e93f3f924 ]---