[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 58.589506][ T26] audit: type=1800 audit(1570989008.401:25): pid=8661 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 58.629104][ T26] audit: type=1800 audit(1570989008.401:26): pid=8661 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 58.669395][ T26] audit: type=1800 audit(1570989008.411:27): pid=8661 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.192' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 68.602930][ T8831] [ 68.605370][ T8831] ====================================================== [ 68.612418][ T8831] WARNING: possible circular locking dependency detected [ 68.619457][ T8831] 5.4.0-rc2+ #0 Not tainted [ 68.623963][ T8831] ------------------------------------------------------ [ 68.630980][ T8831] syz-executor670/8831 is trying to acquire lock: [ 68.637402][ T8831] ffff8880951d5100 (&rp->fetch_lock){+.+.}, at: mon_bin_vma_fault+0x73/0x2d0 [ 68.646156][ T8831] executing program executing program [ 68.646156][ T8831] but task is already holding lock: [ 68.653504][ T8831] ffff8880a097f3d8 (&mm->mmap_sem#2){++++}, at: __mm_populate+0x270/0x380 [ 68.661998][ T8831] [ 68.661998][ T8831] which lock already depends on the new lock. [ 68.661998][ T8831] [ 68.672398][ T8831] [ 68.672398][ T8831] the existing dependency chain (in reverse order) is: [ 68.681402][ T8831] [ 68.681402][ T8831] -> #1 (&mm->mmap_sem#2){++++}: [ 68.688534][ T8831] __might_fault+0x15e/0x1e0 [ 68.693644][ T8831] _copy_to_user+0x30/0x160 executing program executing program [ 68.698648][ T8831] mon_bin_read+0x329/0x640 [ 68.703775][ T8831] __vfs_read+0x8a/0x110 [ 68.708543][ T8831] vfs_read+0x1f0/0x440 [ 68.713203][ T8831] ksys_read+0x14f/0x290 [ 68.717952][ T8831] __x64_sys_read+0x73/0xb0 [ 68.723023][ T8831] do_syscall_64+0xfa/0x760 [ 68.728041][ T8831] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 68.734446][ T8831] [ 68.734446][ T8831] -> #0 (&rp->fetch_lock){+.+.}: [ 68.741569][ T8831] __lock_acquire+0x2596/0x4a00 [ 68.746942][ T8831] lock_acquire+0x190/0x410 executing program [ 68.751954][ T8831] __mutex_lock+0x156/0x13c0 [ 68.757058][ T8831] mutex_lock_nested+0x16/0x20 [ 68.762320][ T8831] mon_bin_vma_fault+0x73/0x2d0 [ 68.767666][ T8831] __do_fault+0x111/0x540 [ 68.772493][ T8831] __handle_mm_fault+0xce8/0x4040 [ 68.778028][ T8831] handle_mm_fault+0x3b7/0xaa0 [ 68.783380][ T8831] __get_user_pages+0x7d4/0x1b30 [ 68.788822][ T8831] populate_vma_page_range+0x20d/0x2a0 [ 68.795406][ T8831] __mm_populate+0x204/0x380 executing program [ 68.800519][ T8831] vm_mmap_pgoff+0x213/0x230 [ 68.805632][ T8831] ksys_mmap_pgoff+0x4aa/0x630 [ 68.810901][ T8831] __x64_sys_mmap+0xe9/0x1b0 [ 68.815993][ T8831] do_syscall_64+0xfa/0x760 [ 68.821009][ T8831] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 68.827401][ T8831] [ 68.827401][ T8831] other info that might help us debug this: [ 68.827401][ T8831] [ 68.837621][ T8831] Possible unsafe locking scenario: [ 68.837621][ T8831] [ 68.845050][ T8831] CPU0 CPU1 executing program executing program [ 68.850402][ T8831] ---- ---- [ 68.855763][ T8831] lock(&mm->mmap_sem#2); [ 68.860172][ T8831] lock(&rp->fetch_lock); [ 68.867117][ T8831] lock(&mm->mmap_sem#2); [ 68.874061][ T8831] lock(&rp->fetch_lock); [ 68.878465][ T8831] [ 68.878465][ T8831] *** DEADLOCK *** [ 68.878465][ T8831] [ 68.886590][ T8831] 1 lock held by syz-executor670/8831: [ 68.892019][ T8831] #0: ffff8880a097f3d8 (&mm->mmap_sem#2){++++}, at: __mm_populate+0x270/0x380 [ 68.900947][ T8831] [ 68.900947][ T8831] stack backtrace: [ 68.906833][ T8831] CPU: 0 PID: 8831 Comm: syz-executor670 Not tainted 5.4.0-rc2+ #0 [ 68.914792][ T8831] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 68.924847][ T8831] Call Trace: [ 68.928131][ T8831] dump_stack+0x172/0x1f0 [ 68.932456][ T8831] print_circular_bug.isra.0.cold+0x163/0x172 [ 68.938506][ T8831] check_noncircular+0x32e/0x3e0 [ 68.943426][ T8831] ? print_circular_bug.isra.0+0x230/0x230 [ 68.949220][ T8831] ? alloc_list_entry+0xc0/0xc0 [ 68.954266][ T8831] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 68.960514][ T8831] ? find_first_zero_bit+0x9a/0xc0 [ 68.965642][ T8831] __lock_acquire+0x2596/0x4a00 [ 68.970506][ T8831] ? stack_depot_save+0x25a/0x450 [ 68.975565][ T8831] ? mark_held_locks+0xf0/0xf0 [ 68.980344][ T8831] lock_acquire+0x190/0x410 [ 68.984841][ T8831] ? mon_bin_vma_fault+0x73/0x2d0 [ 68.989935][ T8831] __mutex_lock+0x156/0x13c0 [ 68.994502][ T8831] ? mon_bin_vma_fault+0x73/0x2d0 [ 68.999539][ T8831] ? __kasan_check_read+0x11/0x20 [ 69.004556][ T8831] ? mon_bin_vma_fault+0x73/0x2d0 [ 69.009561][ T8831] ? mutex_trylock+0x2d0/0x2d0 [ 69.014302][ T8831] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 69.019841][ T8831] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 69.025866][ T8831] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 69.031692][ T8831] ? kmem_cache_alloc+0x364/0x710 [ 69.036697][ T8831] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 69.042936][ T8831] ? __sanitizer_cov_trace_const_cmp2+0x18/0x20 [ 69.049177][ T8831] mutex_lock_nested+0x16/0x20 [ 69.053925][ T8831] ? mutex_lock_nested+0x16/0x20 [ 69.058847][ T8831] mon_bin_vma_fault+0x73/0x2d0 [ 69.063679][ T8831] __do_fault+0x111/0x540 [ 69.067997][ T8831] ? mem_cgroup_try_charge_delay+0x6c/0xa0 [ 69.073802][ T8831] __handle_mm_fault+0xce8/0x4040 [ 69.079177][ T8831] ? vmf_insert_mixed_mkwrite+0x40/0x40 [ 69.084759][ T8831] ? handle_mm_fault+0x292/0xaa0 [ 69.089794][ T8831] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 69.096031][ T8831] ? __kasan_check_read+0x11/0x20 [ 69.101043][ T8831] handle_mm_fault+0x3b7/0xaa0 [ 69.105790][ T8831] __get_user_pages+0x7d4/0x1b30 [ 69.110753][ T8831] ? mark_held_locks+0xf0/0xf0 [ 69.115496][ T8831] ? follow_page_mask+0x1cf0/0x1cf0 [ 69.121648][ T8831] ? __mm_populate+0x270/0x380 [ 69.126388][ T8831] ? memset+0x32/0x40 [ 69.130376][ T8831] populate_vma_page_range+0x20d/0x2a0 [ 69.135941][ T8831] __mm_populate+0x204/0x380 [ 69.140548][ T8831] ? populate_vma_page_range+0x2a0/0x2a0 [ 69.147735][ T8831] ? __kasan_check_write+0x14/0x20 [ 69.152861][ T8831] ? up_write+0x155/0x490 [ 69.157190][ T8831] vm_mmap_pgoff+0x213/0x230 [ 69.161763][ T8831] ? randomize_stack_top+0x110/0x110 [ 69.167029][ T8831] ? ksys_dup3+0x3e0/0x3e0 [ 69.171429][ T8831] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 69.177579][ T8831] ksys_mmap_pgoff+0x4aa/0x630 [ 69.182343][ T8831] ? find_mergeable_anon_vma+0x2e0/0x2e0 [ 69.188327][ T8831] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 69.193784][ T8831] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 69.199246][ T8831] ? do_syscall_64+0x26/0x760 [ 69.203928][ T8831] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 69.211463][ T8831] __x64_sys_mmap+0xe9/0x1b0 [ 69.216070][ T8831] do_syscall_64+0xfa/0x760 [ 69.220554][ T8831] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 69.226421][ T8831] RIP: 0033:0x44a729 [ 69.230312][ T8831] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 69.249988][ T8831] RSP: 002b:00007fae026eacd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 69.258404][ T8831] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 000000000044a729 [ 69.266374][ T8831] RDX: 000000000300001f RSI: 0000000000003000 RDI: 0000000020ffa000 [ 69.274498][ T8831] RBP: 00000000006dbc20 R08: 0000000000000004 R09: 0000000000000000 [ 69.282549][ T8831] R10: 0000000000002012 R11: 0000000000000246 R12: 00000000006dbc2c [ 69.290513][ T8831] R13: 00007ffcaceb5e3f R14: 00007fae026eb9c0 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program