[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [ 17.969946] audit: type=1400 audit(1521277731.434:6): avc: denied { map } for pid=4220 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.15' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 24.296790] audit: type=1400 audit(1521277737.761:7): avc: denied { map } for pid=4234 comm="syzkaller098821" path="/root/syzkaller098821515" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 24.333092] kasan: CONFIG_KASAN_INLINE enabled [ 24.337816] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 24.345187] general protection fault: 0000 [#1] SMP KASAN [ 24.350704] Dumping ftrace buffer: [ 24.354212] (ftrace buffer empty) [ 24.357889] Modules linked in: [ 24.361053] CPU: 0 PID: 4236 Comm: syzkaller098821 Not tainted 4.16.0-rc5+ #357 [ 24.368466] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.377794] RIP: 0010:rdma_addr_size+0x1e/0x70 [ 24.382341] RSP: 0018:ffff8801b9cc7870 EFLAGS: 00010202 [ 24.387673] RAX: dffffc0000000000 RBX: 0000000000000020 RCX: ffffffff841374bd [ 24.394910] RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000020 [ 24.402149] RBP: ffff8801b9cc7878 R08: ffffed0037398f3a R09: ffff8801b9cc78c0 [ 24.409389] R10: 0000000000000022 R11: ffffed0037398f39 R12: ffff8801b9cc78c0 [ 24.416629] R13: ffff8801b260a1f0 R14: ffff8801b9cc7a00 R15: 0000000000000020 [ 24.423867] FS: 00007fd9212b2700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 [ 24.432061] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 24.437910] CR2: 00007fd9212b1e78 CR3: 00000001b7af4006 CR4: 00000000001606f0 [ 24.445150] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 24.452391] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 24.459629] Call Trace: [ 24.462188] ucma_query_addr.isra.7+0xce/0x4f0 [ 24.466738] ? ucma_write+0x3d0/0x3d0 [ 24.470523] ucma_query+0x1bb/0x230 [ 24.474119] ? ucma_query_path.isra.8+0xb10/0xb10 [ 24.478930] ? kasan_check_write+0x14/0x20 [ 24.483133] ? _copy_from_user+0x99/0x110 [ 24.487252] ucma_write+0x2d6/0x3d0 [ 24.490847] ? ucma_query_path.isra.8+0xb10/0xb10 [ 24.495658] ? ucma_resolve_route+0x1a0/0x1a0 [ 24.500124] ? ucma_resolve_route+0x1a0/0x1a0 [ 24.504586] __vfs_write+0xef/0x970 [ 24.508181] ? rcu_note_context_switch+0x710/0x710 [ 24.513084] ? kernel_read+0x120/0x120 [ 24.516940] ? __might_sleep+0x95/0x190 [ 24.520885] ? _cond_resched+0x14/0x30 [ 24.524743] ? __inode_security_revalidate+0xd9/0x130 [ 24.529900] ? avc_policy_seqno+0x9/0x20 [ 24.533932] ? selinux_file_permission+0x82/0x460 [ 24.538748] ? security_file_permission+0x89/0x1e0 [ 24.543646] ? rw_verify_area+0xe5/0x2b0 [ 24.547686] ? __fdget_raw+0x20/0x20 [ 24.551369] vfs_write+0x189/0x510 [ 24.554881] SyS_write+0xef/0x220 [ 24.558302] ? filp_open+0x70/0x70 [ 24.561816] ? SyS_read+0x220/0x220 [ 24.565421] ? do_syscall_64+0xb7/0x940 [ 24.569362] ? SyS_read+0x220/0x220 [ 24.572959] do_syscall_64+0x281/0x940 [ 24.576817] ? _raw_spin_unlock_irq+0x27/0x70 [ 24.581287] ? finish_task_switch+0x1c1/0x7e0 [ 24.585755] ? syscall_return_slowpath+0x550/0x550 [ 24.590656] ? syscall_return_slowpath+0x2ac/0x550 [ 24.595553] ? prepare_exit_to_usermode+0x350/0x350 [ 24.600538] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 24.605872] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.610686] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 24.615844] RIP: 0033:0x445959 [ 24.619000] RSP: 002b:00007fd9212b1da8 EFLAGS: 00000297 ORIG_RAX: 0000000000000001 [ 24.626683] RAX: ffffffffffffffda RBX: 00000000006dac5c RCX: 0000000000445959 [ 24.633921] RDX: 0000000000000018 RSI: 00000000200022c0 RDI: 0000000000000003 [ 24.641157] RBP: 00000000006dac58 R08: 0000000000000000 R09: 0000000000000000 executing program [ 24.648394] R10: 0000000000000000 R11: 0000000000000297 R12: 006d635f616d6472 [ 24.655633] R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000008 [ 24.662879] Code: 29 e4 95 fd e9 f8 fe ff ff 90 90 90 90 55 48 89 e5 53 48 89 fb e8 e3 a2 5d fd 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 48 89 d8 83 e0 07 83 c0 01 38 d0 7c 04 84 d2 75 2f [ 24.681948] RIP: rdma_addr_size+0x1e/0x70 RSP: ffff8801b9cc7870 [ 24.688073] ---[ end trace 6c753cc522bb59ed ]--- [ 24.692834] Kernel panic - not syncing: Fatal exception [ 24.698590] Dumping ftrace buffer: [ 24.702103] (ftrace buffer empty) [ 24.705783] Kernel Offset: disabled [ 24.709380] Rebooting in 86400 seconds..