Warning: Permanently added '10.128.10.49' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 69.992293][ T9001] [ 69.994867][ T9001] ====================================================== [ 70.001992][ T9001] WARNING: possible circular locking dependency detected [ 70.009144][ T9001] 5.4.0-rc3 #0 Not tainted [ 70.013529][ T9001] ------------------------------------------------------ [ 70.020525][ T9001] syz-executor898/9001 is trying to acquire lock: [ 70.026911][ T9001] ffff8880a218e500 (&rp->fetch_lock){+.+.}, at: mon_bin_vma_fault+0x73/0x2d0 [ 70.035665][ T9001] [ 70.035665][ T9001] but task is already holding lock: [ 70.043260][ T9001] ffff888091d19298 (&mm->mmap_sem#2){++++}, at: __mm_populate+0x270/0x380 [ 70.051806][ T9001] [ 70.051806][ T9001] which lock already depends on the new lock. [ 70.051806][ T9001] [ 70.062328][ T9001] [ 70.062328][ T9001] the existing dependency chain (in reverse order) is: [ 70.071326][ T9001] [ 70.071326][ T9001] -> #1 (&mm->mmap_sem#2){++++}: [ 70.078514][ T9001] __might_fault+0x15e/0x1e0 [ 70.083760][ T9001] _copy_to_user+0x30/0x160 [ 70.088788][ T9001] mon_bin_read+0x329/0x640 [ 70.093802][ T9001] __vfs_read+0x8a/0x110 [ 70.098545][ T9001] vfs_read+0x1f0/0x440 [ 70.103301][ T9001] ksys_read+0x14f/0x290 [ 70.108131][ T9001] __x64_sys_read+0x73/0xb0 [ 70.113569][ T9001] do_syscall_64+0xfa/0x760 [ 70.118575][ T9001] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 70.124969][ T9001] [ 70.124969][ T9001] -> #0 (&rp->fetch_lock){+.+.}: [ 70.132066][ T9001] __lock_acquire+0x2596/0x4a00 [ 70.137613][ T9001] lock_acquire+0x190/0x410 [ 70.142708][ T9001] __mutex_lock+0x156/0x13c0 [ 70.147811][ T9001] mutex_lock_nested+0x16/0x20 [ 70.153089][ T9001] mon_bin_vma_fault+0x73/0x2d0 [ 70.158444][ T9001] __do_fault+0x111/0x540 [ 70.163270][ T9001] __handle_mm_fault+0x2dd0/0x4040 [ 70.169008][ T9001] handle_mm_fault+0x3b7/0xaa0 [ 70.174280][ T9001] __get_user_pages+0x7d4/0x1b30 [ 70.179757][ T9001] populate_vma_page_range+0x20d/0x2a0 [ 70.185749][ T9001] __mm_populate+0x204/0x380 [ 70.190837][ T9001] vm_mmap_pgoff+0x213/0x230 [ 70.195939][ T9001] ksys_mmap_pgoff+0x4aa/0x630 [ 70.201204][ T9001] __x64_sys_mmap+0xe9/0x1b0 [ 70.206387][ T9001] do_syscall_64+0xfa/0x760 [ 70.211391][ T9001] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 70.217774][ T9001] [ 70.217774][ T9001] other info that might help us debug this: [ 70.217774][ T9001] [ 70.227977][ T9001] Possible unsafe locking scenario: [ 70.227977][ T9001] [ 70.235407][ T9001] CPU0 CPU1 [ 70.240766][ T9001] ---- ---- [ 70.246103][ T9001] lock(&mm->mmap_sem#2); [ 70.250493][ T9001] lock(&rp->fetch_lock); [ 70.257398][ T9001] lock(&mm->mmap_sem#2); [ 70.264478][ T9001] lock(&rp->fetch_lock); [ 70.268878][ T9001] [ 70.268878][ T9001] *** DEADLOCK *** [ 70.268878][ T9001] [ 70.277007][ T9001] 1 lock held by syz-executor898/9001: [ 70.282694][ T9001] #0: ffff888091d19298 (&mm->mmap_sem#2){++++}, at: __mm_populate+0x270/0x380 [ 70.291634][ T9001] [ 70.291634][ T9001] stack backtrace: [ 70.297509][ T9001] CPU: 1 PID: 9001 Comm: syz-executor898 Not tainted 5.4.0-rc3 #0 [ 70.305370][ T9001] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 70.315403][ T9001] Call Trace: [ 70.318677][ T9001] dump_stack+0x172/0x1f0 [ 70.322989][ T9001] print_circular_bug.isra.0.cold+0x163/0x172 [ 70.329033][ T9001] check_noncircular+0x32e/0x3e0 [ 70.333948][ T9001] ? print_circular_bug.isra.0+0x230/0x230 [ 70.339768][ T9001] ? alloc_list_entry+0xc0/0xc0 [ 70.344701][ T9001] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 70.350966][ T9001] ? find_first_zero_bit+0x9a/0xc0 [ 70.356157][ T9001] __lock_acquire+0x2596/0x4a00 [ 70.361005][ T9001] ? stack_depot_save+0x25a/0x450 [ 70.366012][ T9001] ? mark_held_locks+0xf0/0xf0 [ 70.370752][ T9001] lock_acquire+0x190/0x410 [ 70.375239][ T9001] ? mon_bin_vma_fault+0x73/0x2d0 [ 70.380254][ T9001] __mutex_lock+0x156/0x13c0 [ 70.384821][ T9001] ? mon_bin_vma_fault+0x73/0x2d0 [ 70.390089][ T9001] ? __kasan_check_read+0x11/0x20 [ 70.395194][ T9001] ? mon_bin_vma_fault+0x73/0x2d0 [ 70.400312][ T9001] ? mutex_trylock+0x2d0/0x2d0 [ 70.405271][ T9001] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 70.410959][ T9001] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 70.416993][ T9001] ? __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 70.422787][ T9001] ? kmem_cache_alloc+0x364/0x710 [ 70.427930][ T9001] ? stack_trace_consume_entry+0x190/0x190 [ 70.433813][ T9001] ? __sanitizer_cov_trace_const_cmp2+0x18/0x20 [ 70.440044][ T9001] mutex_lock_nested+0x16/0x20 [ 70.444972][ T9001] ? mutex_lock_nested+0x16/0x20 [ 70.449895][ T9001] mon_bin_vma_fault+0x73/0x2d0 [ 70.454733][ T9001] __do_fault+0x111/0x540 [ 70.459057][ T9001] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 70.465390][ T9001] __handle_mm_fault+0x2dd0/0x4040 [ 70.470593][ T9001] ? vmf_insert_mixed_mkwrite+0x40/0x40 [ 70.476468][ T9001] ? handle_mm_fault+0x292/0xaa0 [ 70.481402][ T9001] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 70.487708][ T9001] ? __kasan_check_read+0x11/0x20 [ 70.492818][ T9001] handle_mm_fault+0x3b7/0xaa0 [ 70.497573][ T9001] __get_user_pages+0x7d4/0x1b30 [ 70.502575][ T9001] ? mark_held_locks+0xf0/0xf0 [ 70.507404][ T9001] ? follow_page_mask+0x1cf0/0x1cf0 [ 70.512678][ T9001] ? __mm_populate+0x270/0x380 [ 70.517441][ T9001] ? memset+0x32/0x40 [ 70.521452][ T9001] populate_vma_page_range+0x20d/0x2a0 [ 70.526887][ T9001] __mm_populate+0x204/0x380 [ 70.531549][ T9001] ? populate_vma_page_range+0x2a0/0x2a0 [ 70.537158][ T9001] ? __kasan_check_write+0x14/0x20 [ 70.542249][ T9001] ? up_write+0x155/0x490 [ 70.546554][ T9001] vm_mmap_pgoff+0x213/0x230 [ 70.551124][ T9001] ? randomize_stack_top+0x110/0x110 [ 70.556399][ T9001] ? ksys_dup3+0x3e0/0x3e0 [ 70.560805][ T9001] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 70.566964][ T9001] ksys_mmap_pgoff+0x4aa/0x630 [ 70.571710][ T9001] ? find_mergeable_anon_vma+0x2e0/0x2e0 [ 70.577319][ T9001] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 70.582840][ T9001] ? trace_hardirqs_on_thunk+0x1a/0x20 [ 70.588366][ T9001] ? do_syscall_64+0x26/0x760 [ 70.593023][ T9001] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 70.599069][ T9001] __x64_sys_mmap+0xe9/0x1b0 [ 70.603649][ T9001] do_syscall_64+0xfa/0x760 [ 70.608217][ T9001] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 70.614084][ T9001] RIP: 0033:0x44a689 [ 70.617955][ T9001] 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 [ 70.637620][ T9001] RSP: 002b:00007fb3b001ecd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 70.646007][ T9001] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 000000000044a689 [ 70.653954][ T9001] RDX: 0000000002000001 RSI: 0000000002000000 RDI: 0000000020ffd000 [ 70.661920][ T9001] RBP: 00000000006dbc30 R08: 0000000000000005 R09: 0000000000000000 [ 70.669875][ T9001] R10: 03eb6b06d1207692 R11: 0000000000000246 R12: 00000000006dbc3c [ 70.677821][ T9001] R13: 00007ffd9a700dbf R14: 00007fb3b001f9c0 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 executing program executing program executing program executing program