[....] Starting enhanced syslogd: rsyslogd[ 13.103902] audit: type=1400 audit(1516421887.673:5): avc: denied { syslog } for pid=3513 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.472493] audit: type=1400 audit(1516421894.042:6): avc: denied { map } for pid=3653 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.196' (ECDSA) to the list of known hosts. executing program [ 25.704796] audit: type=1400 audit(1516421900.274:7): avc: denied { map } for pid=3667 comm="syzkaller669182" path="/root/syzkaller669182130" 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.706640] [ 25.732282] ============================================ [ 25.737701] WARNING: possible recursive locking detected [ 25.743129] 4.15.0-rc8-next-20180119+ #102 Not tainted [ 25.748372] -------------------------------------------- [ 25.753788] syzkaller669182/3667 is trying to acquire lock: [ 25.759464] (&vq->mutex){+.+.}, at: [<00000000ac44c76c>] vhost_chr_write_iter+0x278/0x1580 [ 25.767931] [ 25.767931] but task is already holding lock: [ 25.773869] (&vq->mutex){+.+.}, at: [<00000000ac44c76c>] vhost_chr_write_iter+0x278/0x1580 [ 25.782333] [ 25.782333] other info that might help us debug this: [ 25.788965] Possible unsafe locking scenario: [ 25.788965] [ 25.794987] CPU0 [ 25.797537] ---- [ 25.800100] lock(&vq->mutex); [ 25.803355] lock(&vq->mutex); [ 25.806603] [ 25.806603] *** DEADLOCK *** [ 25.806603] [ 25.812628] May be due to missing lock nesting notation [ 25.812628] [ 25.819525] 1 lock held by syzkaller669182/3667: [ 25.824247] #0: (&vq->mutex){+.+.}, at: [<00000000ac44c76c>] vhost_chr_write_iter+0x278/0x1580 [ 25.833148] [ 25.833148] stack backtrace: [ 25.837614] CPU: 1 PID: 3667 Comm: syzkaller669182 Not tainted 4.15.0-rc8-next-20180119+ #102 [ 25.846241] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.855562] Call Trace: [ 25.858123] dump_stack+0x194/0x257 [ 25.861721] ? arch_local_irq_restore+0x53/0x53 [ 25.866363] __lock_acquire+0xe8f/0x3e00 [ 25.870402] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.875564] ? __lock_acquire+0x664/0x3e00 [ 25.879780] ? is_bpf_text_address+0x7b/0x120 [ 25.884248] ? print_irqtrace_events+0x270/0x270 [ 25.888972] ? print_irqtrace_events+0x270/0x270 [ 25.893708] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 25.898876] ? print_irqtrace_events+0x270/0x270 [ 25.903602] ? depot_save_stack+0x2ca/0x460 [ 25.907894] ? print_irqtrace_events+0x270/0x270 [ 25.912618] ? print_irqtrace_events+0x270/0x270 [ 25.917341] ? __lock_acquire+0x664/0x3e00 [ 25.921551] ? check_noncircular+0x20/0x20 [ 25.925758] ? check_noncircular+0x20/0x20 [ 25.929961] ? __lock_acquire+0x664/0x3e00 [ 25.934163] ? find_held_lock+0x35/0x1d0 [ 25.938198] lock_acquire+0x1d5/0x580 [ 25.941966] ? lock_acquire+0x1d5/0x580 [ 25.945911] ? vhost_chr_write_iter+0x278/0x1580 [ 25.950641] ? lock_release+0xa40/0xa40 [ 25.954588] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 25.960439] ? __lru_cache_add+0x2a6/0x410 [ 25.964646] ? rcu_note_context_switch+0x710/0x710 [ 25.969545] ? __might_sleep+0x95/0x190 [ 25.973490] ? vhost_chr_write_iter+0x278/0x1580 [ 25.978215] __mutex_lock+0x16f/0x1a80 [ 25.982074] ? vhost_chr_write_iter+0x278/0x1580 [ 25.986798] ? vhost_chr_write_iter+0x278/0x1580 [ 25.991524] ? mutex_lock_io_nested+0x1900/0x1900 [ 25.996336] ? mem_cgroup_css_online+0x2e0/0x2e0 [ 26.001065] ? check_noncircular+0x20/0x20 [ 26.005272] ? __mem_cgroup_threshold+0x8f0/0x8f0 [ 26.010086] ? find_held_lock+0x35/0x1d0 [ 26.014121] ? __might_fault+0x110/0x1d0 [ 26.018164] ? lock_downgrade+0x980/0x980 [ 26.022284] ? lock_release+0xa40/0xa40 [ 26.026230] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 26.032083] ? lock_release+0xa40/0xa40 [ 26.036033] ? __might_sleep+0x95/0x190 [ 26.039987] ? kasan_check_write+0x14/0x20 [ 26.044198] ? copyin+0x91/0xb0 [ 26.047447] ? _copy_from_iter+0x367/0xf30 [ 26.051650] ? _raw_spin_unlock+0x22/0x30 [ 26.055767] ? __handle_mm_fault+0x80e/0x3ce0 [ 26.060232] ? copy_page_to_iter+0xe00/0xe00 [ 26.064610] ? check_noncircular+0x20/0x20 [ 26.068814] mutex_lock_nested+0x16/0x20 [ 26.072845] ? mutex_lock_nested+0x16/0x20 [ 26.077050] vhost_chr_write_iter+0x278/0x1580 [ 26.081602] ? handle_mm_fault+0x2a0/0x930 [ 26.085806] ? match_held_lock+0x7f3/0x880 [ 26.090015] ? vhost_new_umem_range+0x740/0x740 [ 26.094660] ? __do_page_fault+0x5f7/0xc90 [ 26.098871] vhost_net_chr_write_iter+0x59/0x70 [ 26.103510] __vfs_write+0x684/0x970 [ 26.107195] ? kernel_read+0x120/0x120 [ 26.111053] ? _cond_resched+0x14/0x30 [ 26.114913] ? avc_policy_seqno+0x9/0x20 [ 26.118946] ? selinux_file_permission+0x82/0x460 [ 26.123758] ? rw_verify_area+0xe5/0x2b0 [ 26.127798] ? __fdget_raw+0x20/0x20 [ 26.131480] vfs_write+0x189/0x510 [ 26.134990] SyS_write+0xef/0x220 [ 26.138416] ? filp_open+0x70/0x70 [ 26.141926] ? SyS_read+0x220/0x220 [ 26.145524] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.150510] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.155237] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.159959] RIP: 0033:0x43fd79 [ 26.163125] RSP: 002b:00007ffec49b5cf8 EFLAGS: 00000203 ORIG_RAX: 0000000000000001 [ 26.170799] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd79 [ 26.178040] RDX: 0000000000000068 RSI: 0000000020004f98 RDI: 0000000000000003 [ 26.185279] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 26.192516] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016a0 [ 26.199754] R13: 0000000000401730 R14: 0000000000000000 R15: 0000000000000000 [ 26.207084] kasan: CONFIG_KASAN_INLINE enabled [ 26.211659] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 26.219041] general protection fault: 0000 [#1] SMP KASAN [ 26.224558] Dumping ftrace buffer: [ 26.228065] (ftrace buffer empty) [ 26.231754] Modules linked in: [ 26.234917] CPU: 1 PID: 3667 Comm: syzkaller669182 Not tainted 4.15.0-rc8-next-20180119+ #102 [ 26.243548] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.252877] RIP: 0010:vhost_chr_write_iter+0x5f5/0x1580 [ 26.258207] RSP: 0018:ffff8801bb78fb28 EFLAGS: 00010246 [ 26.263539] RAX: 0000000000000002 RBX: dffffc0000000000 RCX: 0000000000000000 [ 26.270779] RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8801bbe80200 [ 26.278028] RBP: ffff8801bb78fca8 R08: ffffffff8418bbb8 R09: 0000000000000000 [ 26.285271] R10: ffff8801bb78fb18 R11: fffffbfff0fda9cd R12: 0000000020005000 [ 26.292509] R13: ffff8801bbe80140 R14: ffff8801bbe84900 R15: 1ffff100376f1f70 [ 26.299749] FS: 0000000001d98880(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 [ 26.307946] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 26.313800] CR2: 0000000020004f98 CR3: 00000001bbe20001 CR4: 00000000001606e0 [ 26.321045] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 26.328287] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 26.335528] Call Trace: [ 26.338091] ? handle_mm_fault+0x2a0/0x930 [ 26.342815] ? vhost_new_umem_range+0x740/0x740 [ 26.347457] ? __do_page_fault+0x5f7/0xc90 [ 26.351671] vhost_net_chr_write_iter+0x59/0x70 [ 26.356312] __vfs_write+0x684/0x970 [ 26.360002] ? kernel_read+0x120/0x120 [ 26.363870] ? _cond_resched+0x14/0x30 [ 26.367730] ? avc_policy_seqno+0x9/0x20 [ 26.371762] ? selinux_file_permission+0x82/0x460 [ 26.376577] ? rw_verify_area+0xe5/0x2b0 [ 26.380616] ? __fdget_raw+0x20/0x20 [ 26.384303] vfs_write+0x189/0x510 [ 26.387813] SyS_write+0xef/0x220 [ 26.391236] ? filp_open+0x70/0x70 [ 26.394748] ? SyS_read+0x220/0x220 [ 26.398346] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.403335] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.408064] entry_SYSCALL_64_fastpath+0x29/0xa0 [ 26.412786] RIP: 0033:0x43fd79 [ 26.415948] RSP: 002b:00007ffec49b5cf8 EFLAGS: 00000203 ORIG_RAX: 0000000000000001 [ 26.423623] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd79 [ 26.430863] RDX: 0000000000000068 RSI: 0000000020004f98 RDI: 0000000000000003 [ 26.438108] RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 [ 26.445356] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016a0 [ 26.452596] R13: 0000000000401730 R14: 0000000000000000 R15: 0000000000000000 [ 26.459841] 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.478911] RIP: vhost_chr_write_iter+0x5f5/0x1580 RSP: ffff8801bb78fb28 [ 26.485748] ---[ end trace 756ee3181635137a ]--- [ 26.490497] Kernel panic - not syncing: Fatal exception [ 26.496263] Dumping ftrace buffer: [ 26.499776] (ftrace buffer empty) [ 26.503457] Kernel Offset: disabled [ 26.507057] Rebooting in 86400 seconds..