[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 69.096738][ T26] audit: type=1800 audit(1571362271.460:25): pid=8992 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 69.118671][ T26] audit: type=1800 audit(1571362271.470:26): pid=8992 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 69.168122][ T26] audit: type=1800 audit(1571362271.470:27): pid=8992 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.96' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 80.564434][ T9146] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program [ 80.732034][ T9177] [ 80.734402][ T9177] ====================================================== [ 80.741660][ T9177] WARNING: possible circular locking dependency detected [ 80.748859][ T9177] 5.4.0-rc3-next-20191017 #0 Not tainted [ 80.755200][ T9177] ------------------------------------------------------ [ 80.762211][ T9177] syz-executor017/9177 is trying to acquire lock: [ 80.768602][ T9177] ffff88808baf9598 (&mm->mmap_sem#2){++++}, at: __might_fault+0xfb/0x1e0 [ 80.777017][ T9177] [ 80.777017][ T9177] but task is already holding lock: [ 80.784444][ T9177] ffff8880a421d100 (&rp->fetch_lock){+.+.}, at: mon_bin_read+0x60/0x640 [ 80.792786][ T9177] [ 80.792786][ T9177] which lock already depends on the new lock. [ 80.792786][ T9177] [ 80.803175][ T9177] [ 80.803175][ T9177] the existing dependency chain (in reverse order) is: [ 80.812173][ T9177] [ 80.812173][ T9177] -> #1 (&rp->fetch_lock){+.+.}: [ 80.819535][ T9177] __mutex_lock+0x156/0x13c0 [ 80.824625][ T9177] mutex_lock_nested+0x16/0x20 [ 80.829916][ T9177] mon_bin_vma_fault+0x73/0x2d0 [ 80.835267][ T9177] __do_fault+0x111/0x540 [ 80.840201][ T9177] __handle_mm_fault+0x2d49/0x3fd0 [ 80.845819][ T9177] handle_mm_fault+0x3b2/0xa90 [ 80.851318][ T9177] __get_user_pages+0x7cf/0x1b20 [ 80.856861][ T9177] populate_vma_page_range+0x20d/0x2a0 [ 80.863042][ T9177] __mm_populate+0x204/0x380 [ 80.868165][ T9177] vm_mmap_pgoff+0x213/0x230 [ 80.873283][ T9177] ksys_mmap_pgoff+0x4aa/0x630 [ 80.878553][ T9177] __x64_sys_mmap+0xe9/0x1b0 [ 80.883652][ T9177] do_syscall_64+0xfa/0x760 [ 80.888667][ T9177] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 80.895053][ T9177] [ 80.895053][ T9177] -> #0 (&mm->mmap_sem#2){++++}: [ 80.902155][ T9177] __lock_acquire+0x2596/0x4a00 [ 80.907506][ T9177] lock_acquire+0x190/0x410 [ 80.912521][ T9177] __might_fault+0x15e/0x1e0 [ 80.917621][ T9177] _copy_to_user+0x30/0x160 [ 80.922823][ T9177] mon_bin_read+0x329/0x640 [ 80.927921][ T9177] __vfs_read+0x8a/0x110 [ 80.932661][ T9177] vfs_read+0x1f0/0x440 [ 80.937315][ T9177] ksys_read+0x14f/0x290 [ 80.942583][ T9177] __x64_sys_read+0x73/0xb0 [ 80.947586][ T9177] do_syscall_64+0xfa/0x760 [ 80.952591][ T9177] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 80.959008][ T9177] [ 80.959008][ T9177] other info that might help us debug this: [ 80.959008][ T9177] [ 80.969503][ T9177] Possible unsafe locking scenario: [ 80.969503][ T9177] [ 80.976928][ T9177] CPU0 CPU1 [ 80.982274][ T9177] ---- ---- [ 80.987702][ T9177] lock(&rp->fetch_lock); [ 80.992104][ T9177] lock(&mm->mmap_sem#2); [ 80.999012][ T9177] lock(&rp->fetch_lock); [ 81.005919][ T9177] lock(&mm->mmap_sem#2); [ 81.010406][ T9177] [ 81.010406][ T9177] *** DEADLOCK *** [ 81.010406][ T9177] [ 81.018937][ T9177] 1 lock held by syz-executor017/9177: [ 81.024552][ T9177] #0: ffff8880a421d100 (&rp->fetch_lock){+.+.}, at: mon_bin_read+0x60/0x640 [ 81.033309][ T9177] [ 81.033309][ T9177] stack backtrace: [ 81.039186][ T9177] CPU: 0 PID: 9177 Comm: syz-executor017 Not tainted 5.4.0-rc3-next-20191017 #0 [ 81.048187][ T9177] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 81.058239][ T9177] Call Trace: [ 81.061780][ T9177] dump_stack+0x172/0x1f0 [ 81.066306][ T9177] print_circular_bug.isra.0.cold+0x163/0x172 [ 81.073117][ T9177] check_noncircular+0x32e/0x3e0 [ 81.078057][ T9177] ? print_circular_bug.isra.0+0x230/0x230 [ 81.083930][ T9177] ? mark_lock+0xc2/0x1220 [ 81.088374][ T9177] ? alloc_list_entry+0xc0/0xc0 [ 81.093218][ T9177] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 81.099634][ T9177] ? find_first_zero_bit+0x9a/0xc0 [ 81.104744][ T9177] __lock_acquire+0x2596/0x4a00 [ 81.109592][ T9177] ? mark_held_locks+0xf0/0xf0 [ 81.114495][ T9177] lock_acquire+0x190/0x410 [ 81.118993][ T9177] ? __might_fault+0xfb/0x1e0 [ 81.123663][ T9177] __might_fault+0x15e/0x1e0 [ 81.128235][ T9177] ? __might_fault+0xfb/0x1e0 [ 81.132898][ T9177] _copy_to_user+0x30/0x160 [ 81.137489][ T9177] mon_bin_read+0x329/0x640 [ 81.141975][ T9177] ? security_file_permission+0x8f/0x380 [ 81.147594][ T9177] __vfs_read+0x8a/0x110 [ 81.151817][ T9177] ? copy_from_buf.isra.0+0x1d0/0x1d0 [ 81.157180][ T9177] vfs_read+0x1f0/0x440 [ 81.161322][ T9177] ksys_read+0x14f/0x290 [ 81.165542][ T9177] ? kernel_write+0x130/0x130 [ 81.170202][ T9177] ? do_syscall_64+0x26/0x760 [ 81.174952][ T9177] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 81.181011][ T9177] ? do_syscall_64+0x26/0x760 [ 81.185770][ T9177] __x64_sys_read+0x73/0xb0 [ 81.190250][ T9177] do_syscall_64+0xfa/0x760 [ 81.194730][ T9177] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 81.200609][ T9177] RIP: 0033:0x44a7a9 [ 81.204487][ T9177] 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 [ 81.224369][ T9177] RSP: 002b:00007f9bfc2ecce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 executing program executing program executing program executing program executing program [ 81.232785][ T9177] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 000000000044a7a9 [ 81.240742][ T9177] RDX: 00000000000000cb RSI: 0000000020000100 RDI: 0000000000000003 [ 81.248693][ T9177] RBP: 00000000006dbc30 R08: 00007f9bfc2ed700 R09: 0000000000000000 [ 81.256817][ T9177] R10: 00007f9bfc2ed700 R11: 0000000000000246 R12: 00000000006dbc3c [ 81.264770][ T9177] R13: 00007ffd0b30c08f R14: 00007f9bfc2ed9c0 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