[....] Starting enhanced syslogd: rsyslogd[ 12.948386] audit: type=1400 audit(1516404400.865:5): avc: denied { syslog } for pid=3505 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.321305] audit: type=1400 audit(1516404406.237:6): avc: denied { map } for pid=3644 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.43' (ECDSA) to the list of known hosts. executing program [ 24.585626] audit: type=1400 audit(1516404412.502:7): avc: denied { map } for pid=3658 comm="syzkaller250868" path="/root/syzkaller250868197" 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.588406] [ 24.613134] ============================================ [ 24.618549] WARNING: possible recursive locking detected [ 24.623967] 4.15.0-rc8-mm1+ #58 Not tainted [ 24.628253] -------------------------------------------- [ 24.633672] syzkaller250868/3658 is trying to acquire lock: [ 24.639356] (&vq->mutex){+.+.}, at: [<00000000bc1fad0c>] vhost_chr_write_iter+0x278/0x1580 [ 24.647823] [ 24.647823] but task is already holding lock: [ 24.653763] (&vq->mutex){+.+.}, at: [<00000000bc1fad0c>] vhost_chr_write_iter+0x278/0x1580 [ 24.662229] [ 24.662229] other info that might help us debug this: [ 24.668861] Possible unsafe locking scenario: [ 24.668861] [ 24.674885] CPU0 [ 24.677439] ---- [ 24.679991] lock(&vq->mutex); [ 24.683242] lock(&vq->mutex); [ 24.686490] [ 24.686490] *** DEADLOCK *** [ 24.686490] [ 24.692515] May be due to missing lock nesting notation [ 24.692515] [ 24.699411] 1 lock held by syzkaller250868/3658: [ 24.704131] #0: (&vq->mutex){+.+.}, at: [<00000000bc1fad0c>] vhost_chr_write_iter+0x278/0x1580 [ 24.713032] [ 24.713032] stack backtrace: [ 24.717499] CPU: 0 PID: 3658 Comm: syzkaller250868 Not tainted 4.15.0-rc8-mm1+ #58 [ 24.725174] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.734499] Call Trace: [ 24.737059] dump_stack+0x194/0x257 [ 24.740656] ? arch_local_irq_restore+0x53/0x53 [ 24.745298] __lock_acquire+0xe8f/0x3e00 [ 24.749333] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 24.754497] ? finish_task_switch+0x1d3/0x740 [ 24.758962] ? lock_downgrade+0x980/0x980 [ 24.763080] ? trace_hardirqs_off+0xd/0x10 [ 24.767285] ? mark_held_locks+0xaf/0x100 [ 24.771402] ? _raw_spin_unlock_irq+0x27/0x70 [ 24.775866] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.780852] ? trace_hardirqs_on+0xd/0x10 [ 24.784972] ? _raw_spin_unlock_irq+0x27/0x70 [ 24.789438] ? finish_task_switch+0x1d3/0x740 [ 24.793901] ? finish_task_switch+0x1aa/0x740 [ 24.798367] ? copy_overflow+0x20/0x20 [ 24.802229] ? __schedule+0x8f3/0x2060 [ 24.806085] ? __sched_text_start+0x8/0x8 [ 24.810205] lock_acquire+0x1d5/0x580 [ 24.813976] ? lock_acquire+0x1d5/0x580 [ 24.817921] ? vhost_chr_write_iter+0x278/0x1580 [ 24.822646] ? lock_release+0xa40/0xa40 [ 24.826591] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 24.832445] ? __lru_cache_add+0x2a6/0x410 [ 24.836648] ? rcu_note_context_switch+0x710/0x710 [ 24.841548] ? vhost_chr_write_iter+0x278/0x1580 [ 24.846272] ? vhost_chr_write_iter+0x278/0x1580 [ 24.850996] __mutex_lock+0x16f/0x1a80 [ 24.854857] ? vhost_chr_write_iter+0x278/0x1580 [ 24.859584] ? vhost_chr_write_iter+0x278/0x1580 [ 24.864309] ? mutex_lock_io_nested+0x1900/0x1900 [ 24.869124] ? mem_cgroup_css_online+0x2e0/0x2e0 [ 24.873847] ? lru_cache_add_file+0x20/0x20 [ 24.878137] ? __mem_cgroup_threshold+0x8f0/0x8f0 [ 24.882950] ? find_held_lock+0x35/0x1d0 [ 24.886984] ? __might_fault+0x110/0x1d0 [ 24.891022] ? lock_downgrade+0x980/0x980 [ 24.895150] ? lock_release+0xa40/0xa40 [ 24.899097] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 24.904952] ? lock_release+0xa40/0xa40 [ 24.908895] ? __might_sleep+0x95/0x190 [ 24.912842] ? kasan_check_write+0x14/0x20 [ 24.917046] ? copyin+0x91/0xb0 [ 24.920295] ? _copy_from_iter+0x367/0xf30 [ 24.924501] ? _raw_spin_unlock+0x22/0x30 [ 24.928621] ? __handle_mm_fault+0x80e/0x3ce0 [ 24.933089] ? check_noncircular+0x20/0x20 [ 24.937292] ? copy_page_to_iter+0xe00/0xe00 [ 24.941671] mutex_lock_nested+0x16/0x20 [ 24.945700] ? mutex_lock_nested+0x16/0x20 [ 24.949905] vhost_chr_write_iter+0x278/0x1580 [ 24.954457] ? handle_mm_fault+0x2a0/0x930 [ 24.958666] ? match_held_lock+0x953/0xa00 [ 24.962872] ? vhost_new_umem_range+0x740/0x740 [ 24.967514] ? __do_page_fault+0x5f7/0xc90 [ 24.971724] vhost_net_chr_write_iter+0x59/0x70 [ 24.976365] __vfs_write+0x684/0x970 [ 24.980049] ? kernel_read+0x120/0x120 [ 24.983908] ? _cond_resched+0x14/0x30 [ 24.987768] ? avc_policy_seqno+0x9/0x20 [ 24.991802] ? selinux_file_permission+0x82/0x460 [ 24.996616] ? rw_verify_area+0xe5/0x2b0 [ 25.000647] ? __fdget_raw+0x20/0x20 [ 25.004334] vfs_write+0x189/0x510 [ 25.007844] SyS_write+0xef/0x220 [ 25.011268] ? filp_open+0x70/0x70 [ 25.014776] ? SyS_read+0x220/0x220 [ 25.018372] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.023360] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.028088] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 25.032815] RIP: 0033:0x43fd79 [ 25.035974] RSP: 0