Warning: Permanently added '10.128.0.67' (ECDSA) to the list of known hosts. executing program [ 52.934516][ T7912] IPVS: ftp: loaded support on port[0] = 21 [ 53.009135][ T7915] [ 53.011494][ T7915] ====================================================== [ 53.018483][ T7915] WARNING: possible circular locking dependency detected [ 53.025474][ T7915] 5.4.0-rc2+ #0 Not tainted [ 53.030000][ T7915] ------------------------------------------------------ [ 53.036992][ T7915] syz-executor589/7915 is trying to acquire lock: [ 53.043379][ T7915] ffff8880989eab58 (&mm->mmap_sem#2){++++}, at: __might_fault+0xd2/0x160 [ 53.051769][ T7915] [ 53.051769][ T7915] but task is already holding lock: [ 53.059105][ T7915] ffff8880a1487900 (&rp->fetch_lock){+.+.}, at: mon_bin_get_event+0x3b/0x5a0 [ 53.068028][ T7915] [ 53.068028][ T7915] which lock already depends on the new lock. [ 53.068028][ T7915] [ 53.078441][ T7915] [ 53.078441][ T7915] the existing dependency chain (in reverse order) is: [ 53.087602][ T7915] [ 53.087602][ T7915] -> #1 (&rp->fetch_lock){+.+.}: [ 53.094739][ T7915] lock_acquire+0x158/0x250 [ 53.099739][ T7915] __mutex_lock_common+0x14c/0x2e20 [ 53.105431][ T7915] mutex_lock_nested+0x1b/0x30 [ 53.110695][ T7915] mon_bin_vma_fault+0x6d/0x260 [ 53.116041][ T7915] __do_fault+0x144/0x3d0 [ 53.120910][ T7915] handle_mm_fault+0x42f1/0x5ff0 [ 53.126341][ T7915] __get_user_pages+0x1002/0x1610 [ 53.131854][ T7915] populate_vma_page_range+0x1fd/0x250 [ 53.137851][ T7915] __mm_populate+0x278/0x3d0 [ 53.142934][ T7915] vm_mmap_pgoff+0x1a0/0x1d0 [ 53.148016][ T7915] ksys_mmap_pgoff+0x46b/0x560 [ 53.153270][ T7915] __x64_sys_mmap+0x103/0x120 [ 53.158452][ T7915] do_syscall_64+0xf7/0x1c0 [ 53.163459][ T7915] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.169837][ T7915] [ 53.169837][ T7915] -> #0 (&mm->mmap_sem#2){++++}: [ 53.176918][ T7915] validate_chain+0x161e/0x7bc0 [ 53.182258][ T7915] __lock_acquire+0xc75/0x1be0 [ 53.187510][ T7915] lock_acquire+0x158/0x250 [ 53.192520][ T7915] __might_fault+0xf5/0x160 [ 53.197519][ T7915] _copy_to_user+0x2c/0x150 [ 53.202532][ T7915] mon_bin_get_event+0x114/0x5a0 [ 53.207960][ T7915] mon_bin_ioctl+0x79e/0xc40 [ 53.213042][ T7915] do_vfs_ioctl+0x744/0x1730 [ 53.218126][ T7915] __x64_sys_ioctl+0xe3/0x120 [ 53.223299][ T7915] do_syscall_64+0xf7/0x1c0 [ 53.228299][ T7915] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.234679][ T7915] [ 53.234679][ T7915] other info that might help us debug this: [ 53.234679][ T7915] [ 53.244878][ T7915] Possible unsafe locking scenario: [ 53.244878][ T7915] [ 53.252308][ T7915] CPU0 CPU1 [ 53.257655][ T7915] ---- ---- [ 53.263003][ T7915] lock(&rp->fetch_lock); [ 53.267398][ T7915] lock(&mm->mmap_sem#2); [ 53.274361][ T7915] lock(&rp->fetch_lock); [ 53.281264][ T7915] lock(&mm->mmap_sem#2); [ 53.285695][ T7915] [ 53.285695][ T7915] *** DEADLOCK *** [ 53.285695][ T7915] [ 53.293816][ T7915] 1 lock held by syz-executor589/7915: [ 53.299253][ T7915] #0: ffff8880a1487900 (&rp->fetch_lock){+.+.}, at: mon_bin_get_event+0x3b/0x5a0 [ 53.308436][ T7915] [ 53.308436][ T7915] stack backtrace: [ 53.314300][ T7915] CPU: 0 PID: 7915 Comm: syz-executor589 Not tainted 5.4.0-rc2+ #0 [ 53.322156][ T7915] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.332208][ T7915] Call Trace: [ 53.335505][ T7915] dump_stack+0x1d8/0x2f8 [ 53.339812][ T7915] print_circular_bug+0xc2d/0xe60 [ 53.344809][ T7915] ? stack_trace_save+0xb6/0x150 [ 53.349720][ T7915] ? save_trace+0x3f/0xa20 [ 53.354107][ T7915] check_noncircular+0x206/0x3a0 [ 53.359023][ T7915] validate_chain+0x161e/0x7bc0 [ 53.363865][ T7915] ? __kasan_check_read+0x11/0x20 [ 53.368860][ T7915] ? mark_lock+0x107/0x1650 [ 53.373332][ T7915] ? __lock_acquire+0xc75/0x1be0 [ 53.378245][ T7915] __lock_acquire+0xc75/0x1be0 [ 53.382984][ T7915] ? trace_lock_acquire+0x159/0x1d0 [ 53.388154][ T7915] lock_acquire+0x158/0x250 [ 53.392629][ T7915] ? __might_fault+0xd2/0x160 [ 53.397277][ T7915] __might_fault+0xf5/0x160 [ 53.401765][ T7915] ? __might_fault+0xd2/0x160 [ 53.406417][ T7915] _copy_to_user+0x2c/0x150 [ 53.410908][ T7915] mon_bin_get_event+0x114/0x5a0 [ 53.415817][ T7915] ? __kasan_check_write+0x14/0x20 [ 53.420901][ T7915] mon_bin_ioctl+0x79e/0xc40 [ 53.425476][ T7915] ? mon_bin_poll+0x150/0x150 [ 53.430126][ T7915] do_vfs_ioctl+0x744/0x1730 [ 53.434698][ T7915] ? __fget+0x4b1/0x510 [ 53.438826][ T7915] ? tomoyo_file_ioctl+0x23/0x30 [ 53.443743][ T7915] ? security_file_ioctl+0xa1/0xd0 [ 53.448830][ T7915] __x64_sys_ioctl+0xe3/0x120 [ 53.453569][ T7915] do_syscall_64+0xf7/0x1c0 [ 53.458070][ T7915] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.463936][ T7915] RIP: 0033:0x44a859 [ 53.467806][ T7915] Code: e8 ec b6 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 cb cc fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 53.487399][ T7915] RSP: 002b:00007f81be21dce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 53.497441][ T7915] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 000000000044a859 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 53.505388][ T7915] RDX: 00000000200000c0 RSI: 0000000040189206 RDI: 0000000000000003 [ 53.513354][ T7915] RBP: 00000000006dbc30 R08: 00007f81be21e700 R09: 0000000000000000 [ 53.521303][ T7915] R10: 00007f81be21e700 R11: 0000000000000246 R12: 00000000006dbc3c [ 53.529246][ T7915] R13: 00007ffc330da31f R14: 00007f81be21e9c0 R15: 0000000000000001 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program