[....] Starting enhanced syslogd: rsyslogd[ 13.565298] audit: type=1400 audit(1516400980.800:5): avc: denied { syslog } for pid=3511 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: [ 19.874531] audit: type=1400 audit(1516400987.109:6): avc: denied { map } for pid=3651 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.42' (ECDSA) to the list of known hosts. executing program [ 26.519882] audit: type=1400 audit(1516400993.754:7): avc: denied { map } for pid=3665 comm="syzkaller519282" path="/root/syzkaller519282392" 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 [ 26.521511] [ 26.521513] ============================================ [ 26.521514] WARNING: possible recursive locking detected [ 26.521517] 4.15.0-rc8+ #269 Not tainted [ 26.521518] -------------------------------------------- [ 26.521520] syzkaller519282/3665 is trying to acquire lock: [ 26.521522] (&vq->mutex){+.+.}, at: [<00000000a4d42c38>] vhost_chr_write_iter+0x278/0x1580 [ 26.521535] [ 26.521535] but task is already holding lock: [ 26.521536] (&vq->mutex){+.+.}, at: [<00000000a4d42c38>] vhost_chr_write_iter+0x278/0x1580 [ 26.521543] [ 26.521543] other info that might help us debug this: [ 26.521544] Possible unsafe locking scenario: [ 26.521544] [ 26.521545] CPU0 [ 26.521545] ---- [ 26.521546] lock(&vq->mutex); [ 26.521548] lock(&vq->mutex); [ 26.521550] [ 26.521550] *** DEADLOCK *** [ 26.521550] [ 26.521551] May be due to missing lock nesting notation [ 26.521551] [ 26.521553] 1 lock held by syzkaller519282/3665: [ 26.521554] #0: (&vq->mutex){+.+.}, at: [<00000000a4d42c38>] vhost_chr_write_iter+0x278/0x1580 [ 26.521561] [ 26.521561] stack backtrace: [ 26.521565] CPU: 1 PID: 3665 Comm: syzkaller519282 Not tainted 4.15.0-rc8+ #269 [ 26.521567] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.521569] Call Trace: [ 26.521576] dump_stack+0x194/0x257 [ 26.521582] ? arch_local_irq_restore+0x53/0x53 [ 26.521589] __lock_acquire+0xe8f/0x3e00 [ 26.521593] ? check_noncircular+0x20/0x20 [ 26.521600] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 26.521603] ? __lock_acquire+0x664/0x3e00 [ 26.521609] ? is_bpf_text_address+0x7b/0x120 [ 26.521613] ? print_irqtrace_events+0x270/0x270 [ 26.521617] ? print_irqtrace_events+0x270/0x270 [ 26.521620] ? print_irqtrace_events+0x270/0x270 [ 26.521625] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 26.521629] ? check_noncircular+0x20/0x20 [ 26.521633] ? print_irqtrace_events+0x270/0x270 [ 26.521637] ? print_irqtrace_events+0x270/0x270 [ 26.521641] ? __lock_acquire+0x664/0x3e00 [ 26.521645] ? __lock_acquire+0x664/0x3e00 [ 26.521648] ? print_irqtrace_events+0x270/0x270 [ 26.521652] ? check_noncircular+0x20/0x20 [ 26.521656] ? __lock_acquire+0x664/0x3e00 [ 26.521661] ? __lock_acquire+0x664/0x3e00 [ 26.521664] ? lock_downgrade+0x980/0x980 [ 26.521670] lock_acquire+0x1d5/0x580 [ 26.521673] ? lock_acquire+0x1d5/0x580 [ 26.521677] ? vhost_chr_write_iter+0x278/0x1580 [ 26.521682] ? lock_release+0xa40/0xa40 [ 26.521686] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 26.521704] ? __lru_cache_add+0x2a4/0x410 [ 26.521709] ? rcu_note_context_switch+0x710/0x710 [ 26.521713] ? __might_sleep+0x95/0x190 [ 26.521718] ? vhost_chr_write_iter+0x278/0x1580 [ 26.521723] __mutex_lock+0x16f/0x1a80 [ 26.521726] ? vhost_chr_write_iter+0x278/0x1580 [ 26.521731] ? vhost_chr_write_iter+0x278/0x1580 [ 26.521736] ? mutex_lock_io_nested+0x1900/0x1900 [ 26.521742] ? get_mem_cgroup_from_mm+0x710/0x710 [ 26.521745] ? lru_cache_add_file+0x20/0x20 [ 26.521750] ? __mem_cgroup_threshold+0x8f0/0x8f0 [ 26.521755] ? find_held_lock+0x35/0x1d0 [ 26.521762] ? __might_fault+0x110/0x1d0 [ 26.521766] ? lock_downgrade+0x980/0x980 [ 26.521770] ? lock_release+0xa40/0xa40 [ 26.521773] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 26.521777] ? lock_release+0xa40/0xa40 [ 26.521781] ? __might_sleep+0x95/0x190 [ 26.521786] ? kasan_check_write+0x14/0x20 [ 26.521792] ? copyin+0x91/0xb0 [ 26.521796] ? _copy_from_iter+0x367/0xf30 [ 26.521800] ? _raw_spin_unlock+0x22/0x30 [ 26.521803] ? __handle_mm_fault+0x80e/0x3ce0 [ 26.521808] ? check_noncircular+0x20/0x20 [ 26.521812] ? copy_page_to_iter+0xe10/0xe10 [ 26.521817] mutex_lock_nested+0x16/0x20 [ 26.521820] ? mutex_lock_nested+0x16/0x20 [ 26.521824] vhost_chr_write_iter+0x278/0x1580 [ 26.521827] ? handle_mm_fault+0x248/0x8d0 [ 26.521831] ? find_held_lock+0x3/0x1d0 [ 26.521836] ? vhost_new_umem_range+0x740/0x740 [ 26.521843] ? __do_page_fault+0x5f7/0xc90 [ 26.521851] vhost_net_chr_write_iter+0x59/0x70 [ 26.521855] __vfs_write+0x684/0x970 [ 26.521859] ? kernel_read+0x120/0x120 [ 26.521863] ? _cond_resched+0x14/0x30 [ 26.521869] ? avc_policy_seqno+0x9/0x20 [ 26.521872] ? selinux_file_permission+0x82/0x460 [ 26.521878] ? rw_verify_area+0xe5/0x2b0 [ 26.521881] ? __fdget_raw+0x20/0x20 [ 26.521885] vfs_write+0x189/0x510 [ 26.521890] SyS_write+0xef/0x220 [ 26.521893] ? filp_open+0x70/0x70 [ 26.521897] ? SyS_read+0x220/0x220 [ 26.521900] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.521905] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.521910] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.521913] RIP: 0033:0x43fd79 [ 26.521915] RSP: 002b:00007ffd0276fa68 EFLAGS: 00000203 ORIG_RAX: 0000000000000001 [ 26.521919] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd79 [ 26.521925] RDX: 0000000000000068 RSI: 0000000020004f98 RDI: 0000000000000003 [ 26.521927] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 26.521929] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016a0 [ 26.521931] R13: 0000000000401730 R14: 0000000000000000 R15: 0000000000000000 [ 26.521942] kasan: CONFIG_KASAN_INLINE enabled [ 26.521943] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 26.521948] general protection fault: 0000 [#1] SMP KASAN [ 26.521951] Dumping ftrace buffer: [ 26.521954] (ftrace buffer empty) [ 26.521955] Modules linked in: [ 26.521960] CPU: 1 PID: 3665 Comm: syzkaller519282 Not tainted 4.15.0-rc8+ #269 [ 26.521962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.521966] RIP: 0010:vhost_chr_write_iter+0x5f5/0x1580 [ 26.521968] RSP: 0018:ffff8801bc6c7b28 EFLAGS: 00010246 [ 26.521971] RAX: 0000000000000002 RBX: dffffc0000000000 RCX: 0000000000000000 [ 26.521973] RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8801bbf80200 [ 26.521975] RBP: ffff8801bc6c7ca8 R08: ffffffff8412f818 R09: 0000000000000000 [ 26.521977] R10: ffff8801bc6c7b18 R11: fffffbfff0fda47f R12: 0000000020005000 [ 26.521979] R13: ffff8801bbf80140 R14: ffff8801bbf84900 R15: 1ffff100378d8f70 [ 26.521983] FS: 00000000011f6880(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 [ 26.521985] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 26.521987] CR2: 0000000020004f98 CR3: 00000001d9a1f004 CR4: 00000000001606e0 [ 26.521992] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 26.521995] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 26.521996] Call Trace: [ 26.522000] ? handle_mm_fault+0x248/0x8d0 [ 26.522014] ? vhost_new_umem_range+0x740/0x740 [ 26.522020] ? __do_page_fault+0x5f7/0xc90 [ 26.522034] vhost_net_chr_write_iter+0x59/0x70 [ 26.522039] __vfs_write+0x684/0x970 [ 26.522045] ? kernel_read+0x120/0x120 [ 26.522051] ? _cond_resched+0x14/0x30 [ 26.522056] ? avc_policy_seqno+0x9/0x20 [ 26.522059] ? selinux_file_permission+0x82/0x460 [ 26.522068] ? rw_verify_area+0xe5/0x2b0 [ 26.522071] ? __fdget_raw+0x20/0x20 [ 26.522077] vfs_write+0x189/0x510 [ 26.522083] SyS_write+0xef/0x220 [ 26.522086] ? filp_open+0x70/0x70 [ 26.522091] ? SyS_read+0x220/0x220 [ 26.522095] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.522099] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.522106] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.522109] RIP: 0033:0x43fd79 [ 26.522111] RSP: 002b:00007ffd0276fa68 EFLAGS: 00000203 ORIG_RAX: 0000000000000001 [ 26.522114] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd79 [ 26.522116] RDX: 0000000000000068 RSI: 0000000020004f98 RDI: 0000000000000003 [ 26.522118] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 26.522121] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016a0 [ 26.522123] R13: 0000000000401730 R14: 0000000000000000 R15: 0000000000000000 [ 26.522132] Code: e9 03 80 3c 11 00 0f 85 7d 0f 00 00 49 8b b5 c0 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 f1 48 89 b5 c0 fe ff ff 48 c1 e9 03 <80> 3c 11 00 0f 85 74 0b 00 00 48 8b b5 c0 fe ff ff 4c 8b 36 4d [ 26.522201] RIP: vhost_chr_write_iter+0x5f5/0x1580 RSP: ffff8801bc6c7b28 [ 26.522227] ---[ end trace e5849ebbed84bfe3 ]--- [ 26.522230] Kernel panic - not syncing: Fatal exception [ 26.546128] Dumping ftrace buffer: [ 26.546130] (ftrace buffer empty) [ 26.546132] Kernel Offset: disabled [ 27.329923] Rebooting in 86400 seconds..