[....] Starting enhanced syslogd: rsyslogd[ 11.880362] audit: type=1400 audit(1516394394.246:5): avc: denied { syslog } for pid=3504 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: [ 16.379230] audit: type=1400 audit(1516394398.745:6): avc: denied { map } for pid=3643 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.222' (ECDSA) to the list of known hosts. executing program [ 22.609743] audit: type=1400 audit(1516394404.975:7): avc: denied { map } for pid=3657 comm="syzkaller269598" path="/root/syzkaller269598796" 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 [ 22.613226] [ 22.637240] ============================================ [ 22.642656] WARNING: possible recursive locking detected [ 22.648072] 4.15.0-rc8-mm1+ #58 Not tainted [ 22.652359] -------------------------------------------- [ 22.657777] syzkaller269598/3657 is trying to acquire lock: [ 22.663453] (&vq->mutex){+.+.}, at: [<00000000fd1d738c>] vhost_chr_write_iter+0x278/0x1580 [ 22.671927] [ 22.671927] but task is already holding lock: [ 22.677863] (&vq->mutex){+.+.}, at: [<00000000fd1d738c>] vhost_chr_write_iter+0x278/0x1580 [ 22.686328] [ 22.686328] other info that might help us debug this: [ 22.692960] Possible unsafe locking scenario: [ 22.692960] [ 22.698983] CPU0 [ 22.701531] ---- [ 22.704126] lock(&vq->mutex); [ 22.707372] lock(&vq->mutex); [ 22.710618] [ 22.710618] *** DEADLOCK *** [ 22.710618] [ 22.716652] May be due to missing lock nesting notation [ 22.716652] [ 22.723544] 1 lock held by syzkaller269598/3657: [ 22.728264] #0: (&vq->mutex){+.+.}, at: [<00000000fd1d738c>] vhost_chr_write_iter+0x278/0x1580 [ 22.737182] [ 22.737182] stack backtrace: [ 22.741644] CPU: 0 PID: 3657 Comm: syzkaller269598 Not tainted 4.15.0-rc8-mm1+ #58 [ 22.749316] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 22.758637] Call Trace: [ 22.761197] dump_stack+0x194/0x257 [ 22.764793] ? arch_local_irq_restore+0x53/0x53 [ 22.769445] __lock_acquire+0xe8f/0x3e00 [ 22.773476] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 22.778634] ? get_kernel_page+0x110/0x110 [ 22.782839] ? __lru_cache_add+0x2a6/0x410 [ 22.787042] ? print_irqtrace_events+0x270/0x270 [ 22.791766] ? save_stack+0xa3/0xd0 [ 22.795361] ? print_irqtrace_events+0x270/0x270 [ 22.800087] ? __handle_mm_fault+0x1a0c/0x3ce0 [ 22.804640] ? check_noncircular+0x20/0x20 [ 22.808842] ? mem_cgroup_css_online+0x2e0/0x2e0 [ 22.813565] ? lru_cache_add_file+0x20/0x20 [ 22.817853] ? check_noncircular+0x20/0x20 [ 22.822068] ? __lock_acquire+0x664/0x3e00 [ 22.826329] ? mark_held_locks+0xaf/0x100 [ 22.830455] lock_acquire+0x1d5/0x580 [ 22.834225] ? lock_acquire+0x1d5/0x580 [ 22.838170] ? vhost_chr_write_iter+0x278/0x1580 [ 22.842894] ? lock_release+0xa40/0xa40 [ 22.846838] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 22.852694] ? do_raw_spin_trylock+0x190/0x190 [ 22.857259] ? rcu_note_context_switch+0x710/0x710 [ 22.862168] ? __might_sleep+0x95/0x190 [ 22.866115] ? vhost_chr_write_iter+0x278/0x1580 [ 22.870841] __mutex_lock+0x16f/0x1a80 [ 22.874694] ? vhost_chr_write_iter+0x278/0x1580 [ 22.879417] ? vhost_chr_write_iter+0x278/0x1580 [ 22.884141] ? __thp_get_unmapped_area+0x130/0x130 [ 22.889037] ? __lock_acquire+0x664/0x3e00 [ 22.893239] ? mutex_lock_io_nested+0x1900/0x1900 [ 22.898047] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 22.903206] ? find_held_lock+0x35/0x1d0 [ 22.907249] ? __might_fault+0x110/0x1d0 [ 22.911280] ? lock_downgrade+0x980/0x980 [ 22.915403] ? lock_release+0xa40/0xa40 [ 22.919346] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 22.925209] ? is_bpf_text_address+0x7b/0x120 [ 22.929675] ? __might_sleep+0x95/0x190 [ 22.933617] ? kasan_check_write+0x14/0x20 [ 22.937819] ? copyin+0x91/0xb0 [ 22.941066] ? _copy_from_iter+0x367/0xf30 [ 22.945270] ? __handle_mm_fault+0x80e/0x3ce0 [ 22.949737] ? check_noncircular+0x20/0x20 [ 22.953942] ? copy_page_to_iter+0xe00/0xe00 [ 22.958326] mutex_lock_nested+0x16/0x20 [ 22.962357] ? mutex_lock_nested+0x16/0x20 [ 22.966565] vhost_chr_write_iter+0x278/0x1580 [ 22.971125] ? handle_mm_fault+0x2a0/0x930 [ 22.975330] ? match_held_lock+0x953/0xa00 [ 22.979542] ? vhost_new_umem_range+0x740/0x740 [ 22.984185] ? __do_page_fault+0x5f7/0xc90 [ 22.989005] vhost_net_chr_write_iter+0x59/0x70 [ 22.993649] __vfs_write+0x684/0x970 [ 22.997332] ? kernel_read+0x120/0x120 [ 23.001190] ? _cond_resched+0x14/0x30 [ 23.005046] ? avc_policy_seqno+0x9/0x20 [ 23.009077] ? selinux_file_permission+0x82/0x460 [ 23.013892] ? rw_verify_area+0xe5/0x2b0 [ 23.017928] ? __fdget_raw+0x20/0x20 [ 23.021620] vfs_write+0x189/0x510 [ 23.025140] SyS_write+0xef/0x220 [ 23.028564] ? filp_open+0x70/0x70 [ 23.032071] ? SyS_read+0x220/0x220 [ 23.035667] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 23.040651] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 23.045377] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 23.050100] RIP: 0033:0x43fd79 [ 23.053257] RSP: 002b:00007fff69ba34c8 EFLAGS: 00000203 ORIG_RAX: 0000000000000001 [ 23.06093