[....] Starting enhanced syslogd: rsyslogd[ 15.666678] audit: type=1400 audit(1521187816.631:5): avc: denied { syslog } for pid=4072 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.739284] audit: type=1400 audit(1521187819.704:6): avc: denied { map } for pid=4210 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 Warning: Permanently added '10.128.0.18' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program [ 25.713602] audit: type=1400 audit(1521187826.678:7): avc: denied { map } for pid=4225 comm="syzkaller543705" path="/root/syzkaller543705886" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 25.882548] kasan: CONFIG_KASAN_INLINE enabled [ 25.887153] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 25.894495] general protection fault: 0000 [#1] SMP KASAN [ 25.900007] Dumping ftrace buffer: [ 25.903524] (ftrace buffer empty) [ 25.907211] Modules linked in: [ 25.910378] CPU: 1 PID: 4324 Comm: syzkaller543705 Not tainted 4.16.0-rc5+ #355 [ 25.917794] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.927129] RIP: 0010:__lock_acquire+0xa09/0x3e00 [ 25.931944] RSP: 0018:ffff8801c63e7370 EFLAGS: 00010002 [ 25.937284] RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 [ 25.944535] RDX: 0000000000000046 RSI: 0000000000000000 RDI: ffffffff86ec9be0 [ 25.951774] RBP: ffff8801c63e7700 R08: ffffffff841cd829 R09: 0000000000000001 [ 25.959018] R10: 0000000000000000 R11: 0000000000000230 R12: 0000000000000000 [ 25.966260] R13: 0000000000000001 R14: 0000000000000000 R15: ffff8801b0aca380 [ 25.973501] FS: 00007fdb6e8ae700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 [ 25.981692] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 25.987539] CR2: 00007fdb6e8ade78 CR3: 00000001b30a3005 CR4: 00000000001606e0 [ 25.994778] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 26.002022] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 26.009259] Call Trace: [ 26.011821] ? __lock_acquire+0x664/0x3e00 [ 26.016027] ? print_irqtrace_events+0x270/0x270 [ 26.020760] ? __lockdep_init_map+0xe4/0x650 [ 26.025136] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 26.030296] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 26.035455] ? __lock_acquire+0x664/0x3e00 [ 26.039656] ? ucma_destroy_id+0x269/0x4c0 [ 26.043863] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 26.049024] ? __might_sleep+0x95/0x190 [ 26.052968] ? ucma_destroy_id+0x269/0x4c0 [ 26.057171] ? __mutex_lock+0x16f/0x1a80 [ 26.061197] ? ucma_destroy_id+0x269/0x4c0 [ 26.065400] ? trace_hardirqs_off+0x10/0x10 [ 26.069688] ? trace_hardirqs_off+0x10/0x10 [ 26.073981] ? mutex_lock_io_nested+0x1900/0x1900 [ 26.078790] ? futex_wait+0x6a9/0x9a0 [ 26.082560] ? __lock_acquire+0x664/0x3e00 [ 26.086764] lock_acquire+0x1d5/0x580 [ 26.090530] ? lock_acquire+0x1d5/0x580 [ 26.094472] ? rdma_destroy_id+0xa9/0xda0 [ 26.098589] ? lock_release+0xa40/0xa40 [ 26.102530] ? lock_downgrade+0x980/0x980 [ 26.106647] ? lock_release+0xa40/0xa40 [ 26.110590] ? check_same_owner+0x320/0x320 [ 26.114881] ? do_raw_spin_trylock+0x190/0x190 [ 26.119432] _raw_spin_lock_irqsave+0x96/0xc0 [ 26.123895] ? rdma_destroy_id+0xa9/0xda0 [ 26.128015] rdma_destroy_id+0xa9/0xda0 [ 26.131961] ? trace_hardirqs_on+0xd/0x10 [ 26.136083] ? _raw_spin_unlock_irq+0x27/0x70 [ 26.140545] ? wait_for_completion+0xe0/0x770 [ 26.145022] ? cma_release_dev+0x350/0x350 [ 26.149231] ? wait_for_completion_interruptible+0x7e0/0x7e0 [ 26.154995] ? do_wait_intr_irq+0x3e0/0x3e0 [ 26.159291] ? do_raw_spin_trylock+0x190/0x190 [ 26.163844] ? _raw_spin_unlock_irqrestore+0x31/0xc0 [ 26.168915] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.173902] ? trace_hardirqs_on+0xd/0x10 [ 26.178029] ? complete+0x62/0x80 [ 26.181452] ucma_destroy_id+0x2e9/0x4c0 [ 26.185479] ? ucma_close+0x2f0/0x2f0 [ 26.189246] ? __might_sleep+0x95/0x190 [ 26.193189] ? kasan_check_write+0x14/0x20 [ 26.197391] ? _copy_from_user+0x99/0x110 [ 26.201506] ucma_write+0x2d6/0x3d0 [ 26.205100] ? ucma_close+0x2f0/0x2f0 [ 26.208868] ? ucma_resolve_route+0x1a0/0x1a0 [ 26.213330] ? ucma_resolve_route+0x1a0/0x1a0 [ 26.217794] __vfs_write+0xef/0x970 [ 26.221390] ? rcu_note_context_switch+0x710/0x710 [ 26.226286] ? kernel_read+0x120/0x120 [ 26.230149] ? __might_sleep+0x95/0x190 [ 26.234094] ? _cond_resched+0x14/0x30 [ 26.237951] ? __inode_security_revalidate+0xd9/0x130 [ 26.243106] ? avc_policy_seqno+0x9/0x20 [ 26.247136] ? selinux_file_permission+0x82/0x460 [ 26.251948] ? security_file_permission+0x89/0x1e0 [ 26.256848] ? rw_verify_area+0xe5/0x2b0 [ 26.260876] ? __fdget_raw+0x20/0x20 [ 26.264558] vfs_write+0x189/0x510 [ 26.268068] SyS_write+0xef/0x220 [ 26.271487] ? filp_open+0x70/0x70 [ 26.274992] ? SyS_read+0x220/0x220 [ 26.278597] ? do_syscall_64+0xb7/0x940 [ 26.282542] ? SyS_read+0x220/0x220 [ 26.286143] do_syscall_64+0x281/0x940 [ 26.289997] ? _raw_spin_unlock_irq+0x27/0x70 [ 26.294466] ? finish_task_switch+0x1c1/0x7e0 [ 26.298934] ? syscall_return_slowpath+0x550/0x550 [ 26.303829] ? syscall_return_slowpath+0x2ac/0x550 [ 26.308726] ? prepare_exit_to_usermode+0x350/0x350 [ 26.313709] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 26.319042] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.323852] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 26.329010] RIP: 0033:0x44a6a9 [ 26.332173] RSP: 002b:00007fdb6e8adda8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 26.339847] RAX: ffffffffffffffda RBX: 00000000006e29fc RCX: 000000000044a6a9 [ 26.347087] RDX: 0000000000000018 RSI: 0000000020000100 RDI: 0000000000000006 [ 26.354328] RBP: 00000000006e29f8 R08: 0000000000000000 R09: 0000000000000000 [ 26.361568] R10: 0000000000000000 R11: 0000000000000246 R12: 006d635f616d6472 [ 26.368806] R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000005 [ 26.376047] Code: 81 c4 60 03 00 00 44 89 d0 5b 41 5a 41 5c 41 5d 41 5e 41 5f 5d 49 8d 62 f8 c3 4c 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 0a 33 00 00 49 81 3b a0 ed 9f 87 41 bd 00 00 [ 26.395095] RIP: __lock_acquire+0xa09/0x3e00 RSP: ffff8801c63e7370 [ 26.401393] ---[ end trace 116f54146eb2e2dd ]--- [ 26.406113] Kernel panic - not syncing: Fatal exception [ 26.411861] Dumping ftrace buffer: [ 26.415369] (ftrace buffer empty) [ 26.419050] Kernel Offset: disabled [ 26.422644] Rebooting in 86400 seconds..