[....] Starting enhanced syslogd: rsyslogd[ 12.064435] audit: type=1400 audit(1516405073.696:5): avc: denied { syslog } for pid=3506 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.893460] audit: type=1400 audit(1516405080.525:6): avc: denied { map } for pid=3647 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.15.229' (ECDSA) to the list of known hosts. executing program [ 25.148929] audit: type=1400 audit(1516405086.780:7): avc: denied { map } for pid=3661 comm="syzkaller222696" path="/root/syzkaller222696952" 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 [ 25.152470] [ 25.176472] ============================================ [ 25.181888] WARNING: possible recursive locking detected [ 25.187307] 4.15.0-rc8-mm1+ #58 Not tainted [ 25.191594] -------------------------------------------- [ 25.197015] syzkaller222696/3661 is trying to acquire lock: [ 25.202695] (&vq->mutex){+.+.}, at: [<00000000f67bcff7>] vhost_chr_write_iter+0x278/0x1580 [ 25.211165] [ 25.211165] but task is already holding lock: [ 25.217113] (&vq->mutex){+.+.}, at: [<00000000f67bcff7>] vhost_chr_write_iter+0x278/0x1580 [ 25.225589] [ 25.225589] other info that might help us debug this: [ 25.232223] Possible unsafe locking scenario: [ 25.232223] [ 25.238249] CPU0 [ 25.240806] ---- [ 25.243358] lock(&vq->mutex); [ 25.246606] lock(&vq->mutex); [ 25.249852] [ 25.249852] *** DEADLOCK *** [ 25.249852] [ 25.255878] May be due to missing lock nesting notation [ 25.255878] [ 25.262775] 1 lock held by syzkaller222696/3661: [ 25.267497] #0: (&vq->mutex){+.+.}, at: [<00000000f67bcff7>] vhost_chr_write_iter+0x278/0x1580 [ 25.276398] [ 25.276398] stack backtrace: [ 25.280866] CPU: 0 PID: 3661 Comm: syzkaller222696 Not tainted 4.15.0-rc8-mm1+ #58 [ 25.288544] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.297868] Call Trace: [ 25.300430] dump_stack+0x194/0x257 [ 25.304034] ? arch_local_irq_restore+0x53/0x53 [ 25.308679] __lock_acquire+0xe8f/0x3e00 [ 25.312712] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.317874] ? get_kernel_page+0x110/0x110 [ 25.322081] ? __lru_cache_add+0x2a6/0x410 [ 25.326286] ? save_stack+0xa3/0xd0 [ 25.329895] ? print_irqtrace_events+0x270/0x270 [ 25.334622] ? __handle_mm_fault+0x1a0c/0x3ce0 [ 25.339190] ? check_noncircular+0x20/0x20 [ 25.343395] ? mem_cgroup_css_online+0x2e0/0x2e0 [ 25.348121] ? lru_cache_add_file+0x20/0x20 [ 25.352414] ? check_noncircular+0x20/0x20 [ 25.356631] ? __lock_acquire+0x664/0x3e00 [ 25.360837] ? mark_held_locks+0xaf/0x100 [ 25.364970] lock_acquire+0x1d5/0x580 [ 25.368742] ? lock_acquire+0x1d5/0x580 [ 25.372690] ? vhost_chr_write_iter+0x278/0x1580 [ 25.377418] ? lock_release+0xa40/0xa40 [ 25.381361] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 25.387216] ? do_raw_spin_trylock+0x190/0x190 [ 25.391771] ? rcu_note_context_switch+0x710/0x710 [ 25.396671] ? __might_sleep+0x95/0x190 [ 25.400616] ? vhost_chr_write_iter+0x278/0x1580 [ 25.405344] __mutex_lock+0x16f/0x1a80 [ 25.409202] ? vhost_chr_write_iter+0x278/0x1580 [ 25.413928] ? vhost_chr_write_iter+0x278/0x1580 [ 25.418654] ? __thp_get_unmapped_area+0x130/0x130 [ 25.423557] ? __lock_acquire+0x664/0x3e00 [ 25.427764] ? mutex_lock_io_nested+0x1900/0x1900 [ 25.432580] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.437742] ? find_held_lock+0x35/0x1d0 [ 25.441775] ? __might_fault+0x110/0x1d0 [ 25.445806] ? lock_downgrade+0x980/0x980 [ 25.449924] ? lock_release+0xa40/0xa40 [ 25.453872] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 25.459729] ? is_bpf_text_address+0x7b/0x120 [ 25.464193] ? __might_sleep+0x95/0x190 [ 25.468139] ? kasan_check_write+0x14/0x20 [ 25.472350] ? copyin+0x91/0xb0 [ 25.475599] ? _copy_from_iter+0x367/0xf30 [ 25.479805] ? __handle_mm_fault+0x80e/0x3ce0 [ 25.484273] ? check_noncircular+0x20/0x20 [ 25.488478] ? copy_page_to_iter+0xe00/0xe00 [ 25.492860] mutex_lock_nested+0x16/0x20 [ 25.496890] ? mutex_lock_nested+0x16/0x20 [ 25.501097] vhost_chr_write_iter+0x278/0x1580 [ 25.505651] ? handle_mm_fault+0x2a0/0x930 [ 25.509854] ? match_held_lock+0x953/0xa00 [ 25.514080] ? vhost_new_umem_range+0x740/0x740 [ 25.518721] ? __do_page_fault+0x5f7/0xc90 [ 25.522933] vhost_net_chr_write_iter+0x59/0x70 [ 25.527572] __vfs_write+0x684/0x970 [ 25.531261] ? kernel_read+0x120/0x120 [ 25.535122] ? _cond_resched+0x14/0x30 [ 25.538983] ? avc_policy_seqno+0x9/0x20 [ 25.543024] ? selinux_file_permission+0x82/0x460 [ 25.547843] ? rw_verify_area+0xe5/0x2b0 [ 25.551876] ? __fdget_raw+0x20/0x20 [ 25.555559] vfs_write+0x189/0x510 [ 25.559074] SyS_write+0xef/0x220 [ 25.562502] ? filp_open+0x70/0x70 [ 25.566039] ? SyS_read+0x220/0x220 [ 25.569642] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.574642] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.579371] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.584098] RIP: 0033:0x43fd79 [ 25.587260] RSP: 002b:00007ffd53a3c0d8 EFLAGS: 00000203 ORIG_RAX: 0000000000000001 [ 25.594939] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000