[ 66.573994][ T26] audit: type=1400 audit(1571426326.700:37): avc: denied { watch } for pid=9402 comm="restorecond" path="/root/.ssh" dev="sda1" ino=16179 scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:object_r:ssh_home_t:s0 tclass=dir permissive=1 [ 66.607014][ T26] audit: type=1400 audit(1571426326.700:38): avc: denied { watch } for pid=9402 comm="restorecond" path="/etc/selinux/restorecond.conf" dev="sda1" ino=2232 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 66.860878][ T26] audit: type=1800 audit(1571426326.990:39): pid=9304 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 66.882654][ T26] audit: type=1800 audit(1571426326.990:40): pid=9304 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 69.217924][ T26] audit: type=1400 audit(1571426329.350:41): avc: denied { map } for pid=9481 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.30' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 75.609628][ T26] audit: type=1400 audit(1571426335.740:42): avc: denied { map } for pid=9493 comm="syz-executor703" path="/root/syz-executor703402557" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 75.678052][ T9506] [ 75.678117][ T26] audit: type=1400 audit(1571426335.810:43): avc: denied { map } for pid=9507 comm="syz-executor703" path="/dev/usbmon0" dev="devtmpfs" ino=17922 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usbmon_device_t:s0 tclass=chr_file permissive=1 [ 75.680422][ T9506] ====================================================== [ 75.713713][ T9506] WARNING: possible circular locking dependency detected [ 75.720719][ T9506] 5.4.0-rc3+ #0 Not tainted executing program executing program [ 75.725242][ T9506] ------------------------------------------------------ [ 75.732253][ T9506] syz-executor703/9506 is trying to acquire lock: [ 75.738661][ T9506] ffff8880a4d46900 (&rp->fetch_lock){+.+.}, at: mon_bin_vma_fault+0x73/0x2d0 [ 75.747570][ T9506] [ 75.747570][ T9506] but task is already holding lock: [ 75.755035][ T9506] ffff888094ba0898 (&mm->mmap_sem#2){++++}, at: __mm_populate+0x270/0x380 [ 75.763751][ T9506] [ 75.763751][ T9506] which lock already depends on the new lock. [ 75.763751][ T9506] [ 75.774137][ T9506] [ 75.774137][ T9506] the existing dependency chain (in reverse order) is: [ 75.783139][ T9506] [ 75.783139][ T9506] -> #1 (&mm->mmap_sem#2){++++}: [ 75.790256][ T9506] __might_fault+0x15e/0x1e0 [ 75.795345][ T9506] _copy_to_user+0x30/0x160 [ 75.800349][ T9506] mon_bin_read+0x329/0x640 [ 75.805445][ T9506] __vfs_read+0x8a/0x110 [ 75.810204][ T9506] vfs_read+0x1f0/0x440 [ 75.814879][ T9506] ksys_read+0x14f/0x290 [ 75.819646][ T9506] __x64_sys_read+0x73/0xb0 [ 75.824672][ T9506] do_syscall_64+0xfa/0x760 [ 75.829689][ T9506] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 75.836598][ T9506] [ 75.836598][ T9506] -> #0 (&rp->fetch_lock){+.+.}: [ 75.843704][ T9506] __lock_acquire+0x2596/0x4a00 [ 75.849064][ T9506] lock_acquire+0x190/0x410 [ 75.854081][ T9506] __mutex_lock+0x156/0x13c0 [ 75.859178][ T9506] mutex_lock_nested+0x16/0x20 [ 75.865139][ T9506] mon_bin_vma_fault+0x73/0x2d0 [ 75.870505][ T9506] __do_fault+0x111/0x540 executing program [ 75.875351][ T9506] __handle_mm_fault+0xce8/0x4040 [ 75.880881][ T9506] handle_mm_fault+0x3b7/0xaa0 [ 75.886148][ T9506] __get_user_pages+0x7d4/0x1b30 [ 75.891588][ T9506] populate_vma_page_range+0x20d/0x2a0 [ 75.897549][ T9506] __mm_populate+0x204/0x380 [ 75.902639][ T9506] vm_mmap_pgoff+0x213/0x230 [ 75.907728][ T9506] ksys_mmap_pgoff+0x4aa/0x630 [ 75.913011][ T9506] __x64_sys_mmap+0xe9/0x1b0 [ 75.918110][ T9506] do_syscall_64+0xfa/0x760 [ 75.923200][ T9506] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 75.929719][ T9506] [ 75.929719][ T9506] other info that might help us debug this: [ 75.929719][ T9506] [ 75.939942][ T9506] Possible unsafe locking scenario: [ 75.939942][ T9506] [ 75.947371][ T9506] CPU0 CPU1 [ 75.952717][ T9506] ---- ---- [ 75.958065][ T9506] lock(&mm->mmap_sem#2); [ 75.962462][ T9506] lock(&rp->fetch_lock); [ 75.969372][ T9506] lock(&mm->mmap_sem#2); [ 75.976289][ T9506] lock(&rp->fetch_lock); [ 75.980679][ T9506] [ 75.980679][ T9506] *** DEADLOCK *** [ 75.980679][ T9506] [ 75.988806][ T9506] 1 lock held by syz-executor703/9506: [ 75.994235][ T9506] #0: ffff888094ba0898 (&mm->mmap_sem#2){++++}, at: __mm_populate+0x270/0x380 [ 76.003161][ T9506] [ 76.003161][ T9506] stack backtrace: [ 76.009034][ T9506] CPU: 0 PID: 9506 Comm: syz-executor703 Not tainted 5.4.0-rc3+ #0 [ 76.016921][ T9506] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 76.027133][ T9506] Call Trace: [ 76.030422][ T9506] dump_stack+0x172/0x1f0 [ 76.034765][ T9506] print_circular_bug.isra.0.cold+0x163/0x172 [ 76.040829][ T9506] check_noncircular+0x32e/0x3e0 [ 76.045754][ T9506] ? print_circular_bug.isra.0+0x230/0x230 [ 76.051549][ T9506] ? alloc_list_entry+0xc0/0xc0 [ 76.056386][ T9506] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 76.062614][ T9506] ? find_first_zero_bit+0x9a/0xc0 [ 76.067716][ T9506] __lock_acquire+0x2596/0x4a00 [ 76.072551][ T9506] ? stack_depot_save+0x25a/0x450 executing program [ 76.077560][ T9506] ? mark_held_locks+0xf0/0xf0 [ 76.082333][ T9506] lock_acquire+0x190/0x410 [ 76.088418][ T9506] ? mon_bin_vma_fault+0x73/0x2d0 [ 76.093435][ T9506] __mutex_lock+0x156/0x13c0 [ 76.098003][ T9506] ? mon_bin_vma_fault+0x73/0x2d0 [ 76.103020][ T9506] ? __kasan_check_read+0x11/0x20 [ 76.108045][ T9506] ? mon_bin_vma_fault+0x73/0x2d0 [ 76.113060][ T9506] ? mutex_trylock+0x2d0/0x2d0 [ 76.117814][ T9506] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 76.123343][ T9506] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 76.129321][ T9506] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 76.135125][ T9506] ? kmem_cache_alloc+0x364/0x710 [ 76.140251][ T9506] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 76.146519][ T9506] ? __sanitizer_cov_trace_const_cmp2+0x18/0x20 [ 76.152744][ T9506] mutex_lock_nested+0x16/0x20 [ 76.157487][ T9506] ? mutex_lock_nested+0x16/0x20 [ 76.162411][ T9506] mon_bin_vma_fault+0x73/0x2d0 [ 76.167251][ T9506] __do_fault+0x111/0x540 [ 76.171585][ T9506] ? mem_cgroup_try_charge_delay+0x6c/0xa0 [ 76.177393][ T9506] __handle_mm_fault+0xce8/0x4040 [ 76.182414][ T9506] ? vmf_insert_mixed_mkwrite+0x40/0x40 [ 76.187939][ T9506] ? handle_mm_fault+0x292/0xaa0 [ 76.192863][ T9506] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 76.199108][ T9506] ? __kasan_check_read+0x11/0x20 [ 76.204117][ T9506] handle_mm_fault+0x3b7/0xaa0 [ 76.209905][ T9506] __get_user_pages+0x7d4/0x1b30 [ 76.214821][ T9506] ? mark_held_locks+0xf0/0xf0 [ 76.219564][ T9506] ? follow_page_mask+0x1cf0/0x1cf0 [ 76.224739][ T9506] ? __mm_populate+0x270/0x380 executing program [ 76.229480][ T9506] ? memset+0x32/0x40 [ 76.233441][ T9506] populate_vma_page_range+0x20d/0x2a0 [ 76.238882][ T9506] __mm_populate+0x204/0x380 [ 76.243468][ T9506] ? populate_vma_page_range+0x2a0/0x2a0 [ 76.249097][ T9506] ? __kasan_check_write+0x14/0x20 [ 76.254189][ T9506] ? up_write+0x155/0x490 [ 76.258501][ T9506] vm_mmap_pgoff+0x213/0x230 [ 76.263070][ T9506] ? randomize_stack_top+0x110/0x110 [ 76.268335][ T9506] ? ksys_dup3+0x3e0/0x3e0 [ 76.272747][ T9506] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 76.278885][ T9506] ksys_mmap_pgoff+0x4aa/0x630 [ 76.283636][ T9506] ? find_mergeable_anon_vma+0x2e0/0x2e0 [ 76.289255][ T9506] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 76.300876][ T9506] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 76.306325][ T9506] ? do_syscall_64+0x26/0x760 [ 76.312804][ T9506] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 76.318852][ T9506] __x64_sys_mmap+0xe9/0x1b0 [ 76.323424][ T9506] do_syscall_64+0xfa/0x760 [ 76.327918][ T9506] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 76.333784][ T9506] RIP: 0033:0x44a729 [ 76.337672][ T9506] Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b cb fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 76.357264][ T9506] RSP: 002b:00007f908bde8cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 76.365670][ T9506] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 000000000044a729 executing program executing program executing program executing program executing program executing program executing program [ 76.373618][ T9506] RDX: 000000000300001f RSI: 0000000000003000 RDI: 0000000020ffa000 [ 76.381566][ T9506] RBP: 00000000006dbc20 R08: 0000000000000004 R09: 0000000000000000 [ 76.391184][ T9506] R10: 0000000000002012 R11: 0000000000000246 R12: 00000000006dbc2c [ 76.399146][ T9506] R13: 00007fffb6ec049f R14: 00007f908bde99c0 R15: 00000000006dbc20 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program