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. [ 68.656897][ T26] kauditd_printk_skb: 7 callbacks suppressed [ 68.656908][ T26] audit: type=1800 audit(1571488707.932:39): pid=9243 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 [ 68.685384][ T26] audit: type=1800 audit(1571488707.932:40): pid=9243 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: [ 70.573286][ T26] audit: type=1400 audit(1571488709.852:41): avc: denied { map } for pid=9421 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.101' (ECDSA) to the list of known hosts. executing program [ 79.087431][ T26] audit: type=1400 audit(1571488718.362:42): avc: denied { map } for pid=9433 comm="syz-executor906" path="/root/syz-executor906999492" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 79.164946][ T26] audit: type=1400 audit(1571488718.442:43): avc: denied { map } for pid=9434 comm="syz-executor906" path="/dev/usbmon0" dev="devtmpfs" ino=18530 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 [ 79.165066][ T9436] [ 79.193598][ T9436] ====================================================== [ 79.200587][ T9436] WARNING: possible circular locking dependency detected [ 79.207592][ T9436] 5.4.0-rc3+ #0 Not tainted [ 79.212077][ T9436] ------------------------------------------------------ [ 79.219083][ T9436] syz-executor906/9436 is trying to acquire lock: [ 79.225811][ T9436] ffff88809c28cd00 (&rp->fetch_lock){+.+.}, at: mon_bin_vma_fault+0x73/0x2d0 [ 79.234552][ T9436] [ 79.234552][ T9436] but task is already holding lock: [ 79.241897][ T9436] ffff88809653cb98 (&mm->mmap_sem#2){++++}, at: __mm_populate+0x270/0x380 [ 79.250397][ T9436] [ 79.250397][ T9436] which lock already depends on the new lock. [ 79.250397][ T9436] [ 79.260773][ T9436] [ 79.260773][ T9436] the existing dependency chain (in reverse order) is: [ 79.269761][ T9436] [ 79.269761][ T9436] -> #1 (&mm->mmap_sem#2){++++}: [ 79.276860][ T9436] __might_fault+0x15e/0x1e0 [ 79.281945][ T9436] _copy_to_user+0x30/0x160 [ 79.286944][ T9436] mon_bin_get_event+0x117/0x450 [ 79.292377][ T9436] mon_bin_ioctl+0xacf/0xc80 [ 79.297460][ T9436] do_vfs_ioctl+0xdb6/0x13e0 [ 79.302546][ T9436] ksys_ioctl+0xab/0xd0 [ 79.307201][ T9436] __x64_sys_ioctl+0x73/0xb0 [ 79.312286][ T9436] do_syscall_64+0xfa/0x760 [ 79.317282][ T9436] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 79.323676][ T9436] [ 79.323676][ T9436] -> #0 (&rp->fetch_lock){+.+.}: [ 79.330768][ T9436] __lock_acquire+0x2596/0x4a00 [ 79.336126][ T9436] lock_acquire+0x190/0x410 [ 79.341140][ T9436] __mutex_lock+0x156/0x13c0 [ 79.346225][ T9436] mutex_lock_nested+0x16/0x20 [ 79.351481][ T9436] mon_bin_vma_fault+0x73/0x2d0 [ 79.356825][ T9436] __do_fault+0x111/0x540 [ 79.361650][ T9436] __handle_mm_fault+0x2dd0/0x4040 [ 79.367264][ T9436] handle_mm_fault+0x3b7/0xaa0 [ 79.372522][ T9436] __get_user_pages+0x7d4/0x1b30 [ 79.377974][ T9436] populate_vma_page_range+0x20d/0x2a0 [ 79.383927][ T9436] __mm_populate+0x204/0x380 [ 79.389011][ T9436] vm_mmap_pgoff+0x213/0x230 [ 79.394102][ T9436] ksys_mmap_pgoff+0x4aa/0x630 [ 79.399361][ T9436] __x64_sys_mmap+0xe9/0x1b0 [ 79.404445][ T9436] do_syscall_64+0xfa/0x760 [ 79.410406][ T9436] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 79.416787][ T9436] [ 79.416787][ T9436] other info that might help us debug this: [ 79.416787][ T9436] [ 79.427080][ T9436] Possible unsafe locking scenario: [ 79.427080][ T9436] [ 79.434521][ T9436] CPU0 CPU1 [ 79.439858][ T9436] ---- ---- [ 79.445205][ T9436] lock(&mm->mmap_sem#2); [ 79.449594][ T9436] lock(&rp->fetch_lock); [ 79.456498][ T9436] lock(&mm->mmap_sem#2); [ 79.463401][ T9436] lock(&rp->fetch_lock); [ 79.467785][ T9436] [ 79.467785][ T9436] *** DEADLOCK *** [ 79.467785][ T9436] [ 79.475912][ T9436] 1 lock held by syz-executor906/9436: [ 79.481347][ T9436] #0: ffff88809653cb98 (&mm->mmap_sem#2){++++}, at: __mm_populate+0x270/0x380 [ 79.490268][ T9436] [ 79.490268][ T9436] stack backtrace: [ 79.496133][ T9436] CPU: 0 PID: 9436 Comm: syz-executor906 Not tainted 5.4.0-rc3+ #0 [ 79.503989][ T9436] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 79.514026][ T9436] Call Trace: [ 79.517295][ T9436] dump_stack+0x172/0x1f0 [ 79.521605][ T9436] print_circular_bug.isra.0.cold+0x163/0x172 [ 79.527650][ T9436] check_noncircular+0x32e/0x3e0 [ 79.532559][ T9436] ? print_circular_bug.isra.0+0x230/0x230 [ 79.538351][ T9436] ? alloc_list_entry+0xc0/0xc0 [ 79.543195][ T9436] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 79.549428][ T9436] ? find_first_zero_bit+0x9a/0xc0 [ 79.554514][ T9436] __lock_acquire+0x2596/0x4a00 [ 79.559336][ T9436] ? stack_depot_save+0x25a/0x450 [ 79.564335][ T9436] ? mark_held_locks+0xf0/0xf0 [ 79.569070][ T9436] lock_acquire+0x190/0x410 [ 79.573553][ T9436] ? mon_bin_vma_fault+0x73/0x2d0 [ 79.578573][ T9436] __mutex_lock+0x156/0x13c0 [ 79.583134][ T9436] ? mon_bin_vma_fault+0x73/0x2d0 [ 79.588134][ T9436] ? __kasan_check_read+0x11/0x20 [ 79.593140][ T9436] ? mon_bin_vma_fault+0x73/0x2d0 [ 79.598323][ T9436] ? mutex_trylock+0x2d0/0x2d0 [ 79.603063][ T9436] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 79.608583][ T9436] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 79.614536][ T9436] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 79.620323][ T9436] ? kmem_cache_alloc+0x364/0x710 [ 79.625332][ T9436] ? stack_trace_consume_entry+0x190/0x190 [ 79.631120][ T9436] ? __sanitizer_cov_trace_const_cmp2+0x18/0x20 [ 79.637336][ T9436] mutex_lock_nested+0x16/0x20 [ 79.642076][ T9436] ? mutex_lock_nested+0x16/0x20 [ 79.647012][ T9436] mon_bin_vma_fault+0x73/0x2d0 [ 79.651847][ T9436] __do_fault+0x111/0x540 [ 79.656154][ T9436] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 79.662380][ T9436] __handle_mm_fault+0x2dd0/0x4040 [ 79.668160][ T9436] ? vmf_insert_mixed_mkwrite+0x40/0x40 [ 79.673680][ T9436] ? handle_mm_fault+0x292/0xaa0 [ 79.678594][ T9436] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 79.684819][ T9436] ? __kasan_check_read+0x11/0x20 [ 79.689820][ T9436] handle_mm_fault+0x3b7/0xaa0 [ 79.694645][ T9436] __get_user_pages+0x7d4/0x1b30 [ 79.699565][ T9436] ? mark_held_locks+0xf0/0xf0 [ 79.704303][ T9436] ? follow_page_mask+0x1cf0/0x1cf0 [ 79.709473][ T9436] ? __mm_populate+0x270/0x380 [ 79.714208][ T9436] ? memset+0x32/0x40 [ 79.718163][ T9436] populate_vma_page_range+0x20d/0x2a0 [ 79.723605][ T9436] __mm_populate+0x204/0x380 [ 79.728170][ T9436] ? populate_vma_page_range+0x2a0/0x2a0 [ 79.733775][ T9436] ? __kasan_check_write+0x14/0x20 [ 79.738858][ T9436] ? up_write+0x155/0x490 [ 79.743162][ T9436] vm_mmap_pgoff+0x213/0x230 [ 79.747731][ T9436] ? randomize_stack_top+0x110/0x110 [ 79.752988][ T9436] ? ksys_dup3+0x3e0/0x3e0 [ 79.757393][ T9436] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 79.763520][ T9436] ksys_mmap_pgoff+0x4aa/0x630 [ 79.768258][ T9436] ? find_mergeable_anon_vma+0x2e0/0x2e0 [ 79.773950][ T9436] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 79.779387][ T9436] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 79.784832][ T9436] ? do_syscall_64+0x26/0x760 [ 79.789492][ T9436] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 79.795532][ T9436] __x64_sys_mmap+0xe9/0x1b0 [ 79.800096][ T9436] do_syscall_64+0xfa/0x760 [ 79.804580][ T9436] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 79.811142][ T9436] RIP: 0033:0x44a739 [ 79.815013][ T9436] Code: e8 8c b5 02 00 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 2b cc fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 79.834591][ T9436] RSP: 002b:00007fa3149bccd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 79.842973][ T9436] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 000000000044a739 [ 79.850924][ T9436] RDX: 0000000002000001 RSI: 0000000002000000 RDI: 0000000020ffd000 [ 79.858873][ T9436] RBP: 00000000006dbc30 R08: 0000000000000005 R09: 0000000000000000 [ 79.866820][ T9436] R10: 03eb6b06d1207692 R11: 0000000000000246 R12: 00000000006dbc3c [ 79.874770][ T9436] R13: 00007ffce4e3f92f R14: 00007fa3149bd9c0 R15: 20c49ba5e353f7cf executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program