[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 56.997176][ T26] audit: type=1800 audit(1571327857.352:25): pid=8470 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 57.018548][ T26] audit: type=1800 audit(1571327857.352:26): pid=8470 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 57.039478][ T26] audit: type=1800 audit(1571327857.352:27): pid=8470 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.109' (ECDSA) to the list of known hosts. 2019/10/17 15:57:48 parsed 1 programs 2019/10/17 15:57:50 executed programs: 0 syzkaller login: [ 69.730502][ T8641] IPVS: ftp: loaded support on port[0] = 21 [ 69.791185][ T8641] chnl_net:caif_netlink_parms(): no params data found [ 69.816360][ T8641] bridge0: port 1(bridge_slave_0) entered blocking state [ 69.824248][ T8641] bridge0: port 1(bridge_slave_0) entered disabled state [ 69.831919][ T8641] device bridge_slave_0 entered promiscuous mode [ 69.840089][ T8641] bridge0: port 2(bridge_slave_1) entered blocking state [ 69.847150][ T8641] bridge0: port 2(bridge_slave_1) entered disabled state [ 69.854808][ T8641] device bridge_slave_1 entered promiscuous mode [ 69.871608][ T8641] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 69.881932][ T8641] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 69.899268][ T8641] team0: Port device team_slave_0 added [ 69.906025][ T8641] team0: Port device team_slave_1 added [ 69.961098][ T8641] device hsr_slave_0 entered promiscuous mode [ 70.009040][ T8641] device hsr_slave_1 entered promiscuous mode [ 70.066876][ T8641] bridge0: port 2(bridge_slave_1) entered blocking state [ 70.074086][ T8641] bridge0: port 2(bridge_slave_1) entered forwarding state [ 70.081825][ T8641] bridge0: port 1(bridge_slave_0) entered blocking state [ 70.088922][ T8641] bridge0: port 1(bridge_slave_0) entered forwarding state [ 70.122146][ T8641] 8021q: adding VLAN 0 to HW filter on device bond0 [ 70.132735][ T3019] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 70.152752][ T3019] bridge0: port 1(bridge_slave_0) entered disabled state [ 70.160874][ T3019] bridge0: port 2(bridge_slave_1) entered disabled state [ 70.168654][ T3019] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 70.180423][ T8641] 8021q: adding VLAN 0 to HW filter on device team0 [ 70.189974][ T44] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 70.198260][ T44] bridge0: port 1(bridge_slave_0) entered blocking state [ 70.205350][ T44] bridge0: port 1(bridge_slave_0) entered forwarding state [ 70.215266][ T3019] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 70.224700][ T3019] bridge0: port 2(bridge_slave_1) entered blocking state [ 70.231780][ T3019] bridge0: port 2(bridge_slave_1) entered forwarding state [ 70.251055][ T8643] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 70.259870][ T8643] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 70.268199][ T8643] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 70.277185][ T8643] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 70.287981][ T44] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 70.297718][ T8641] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 70.315803][ T8641] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 70.422769][ T8651] [ 70.425129][ T8651] ====================================================== [ 70.432127][ T8651] WARNING: possible circular locking dependency detected [ 70.439164][ T8651] 5.4.0-rc3-next-20191017 #0 Not tainted [ 70.444791][ T8651] ------------------------------------------------------ [ 70.451782][ T8651] syz-executor.0/8651 is trying to acquire lock: [ 70.458075][ T8651] ffff8880a78ce8d8 (&mm->mmap_sem#2){++++}, at: __might_fault+0xfb/0x1e0 [ 70.466505][ T8651] [ 70.466505][ T8651] but task is already holding lock: [ 70.473841][ T8651] ffff8880a4e40d00 (&rp->fetch_lock){+.+.}, at: mon_bin_fetch+0x37/0x340 [ 70.482232][ T8651] [ 70.482232][ T8651] which lock already depends on the new lock. [ 70.482232][ T8651] [ 70.492606][ T8651] [ 70.492606][ T8651] the existing dependency chain (in reverse order) is: [ 70.501590][ T8651] [ 70.501590][ T8651] -> #1 (&rp->fetch_lock){+.+.}: [ 70.508677][ T8651] __mutex_lock+0x156/0x13c0 [ 70.513767][ T8651] mutex_lock_nested+0x16/0x20 [ 70.519057][ T8651] mon_bin_vma_fault+0x73/0x2d0 [ 70.524400][ T8651] __do_fault+0x111/0x540 [ 70.529218][ T8651] __handle_mm_fault+0x2d49/0x3fd0 [ 70.534830][ T8651] handle_mm_fault+0x3b2/0xa90 [ 70.540116][ T8651] __get_user_pages+0x7cf/0x1b20 [ 70.545544][ T8651] populate_vma_page_range+0x20d/0x2a0 [ 70.551492][ T8651] __mm_populate+0x204/0x380 [ 70.556572][ T8651] vm_mmap_pgoff+0x213/0x230 [ 70.561652][ T8651] ksys_mmap_pgoff+0x4aa/0x630 [ 70.566904][ T8651] __x64_sys_mmap+0xe9/0x1b0 [ 70.572002][ T8651] do_syscall_64+0xfa/0x760 [ 70.576995][ T8651] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 70.583371][ T8651] [ 70.583371][ T8651] -> #0 (&mm->mmap_sem#2){++++}: [ 70.590490][ T8651] __lock_acquire+0x2596/0x4a00 [ 70.595835][ T8651] lock_acquire+0x190/0x410 [ 70.600953][ T8651] __might_fault+0x15e/0x1e0 [ 70.606037][ T8651] mon_bin_fetch+0x26f/0x340 [ 70.611152][ T8651] mon_bin_ioctl+0x21e/0xc80 [ 70.616233][ T8651] do_vfs_ioctl+0xdb6/0x13e0 [ 70.621315][ T8651] ksys_ioctl+0xab/0xd0 [ 70.625961][ T8651] __x64_sys_ioctl+0x73/0xb0 [ 70.631045][ T8651] do_syscall_64+0xfa/0x760 [ 70.636043][ T8651] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 70.642428][ T8651] [ 70.642428][ T8651] other info that might help us debug this: [ 70.642428][ T8651] [ 70.652627][ T8651] Possible unsafe locking scenario: [ 70.652627][ T8651] [ 70.660045][ T8651] CPU0 CPU1 [ 70.665550][ T8651] ---- ---- [ 70.670886][ T8651] lock(&rp->fetch_lock); [ 70.675268][ T8651] lock(&mm->mmap_sem#2); [ 70.682169][ T8651] lock(&rp->fetch_lock); [ 70.689072][ T8651] lock(&mm->mmap_sem#2); [ 70.693467][ T8651] [ 70.693467][ T8651] *** DEADLOCK *** [ 70.693467][ T8651] [ 70.701585][ T8651] 1 lock held by syz-executor.0/8651: [ 70.706920][ T8651] #0: ffff8880a4e40d00 (&rp->fetch_lock){+.+.}, at: mon_bin_fetch+0x37/0x340 [ 70.715761][ T8651] [ 70.715761][ T8651] stack backtrace: [ 70.721742][ T8651] CPU: 0 PID: 8651 Comm: syz-executor.0 Not tainted 5.4.0-rc3-next-20191017 #0 [ 70.730638][ T8651] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 70.740674][ T8651] Call Trace: [ 70.743954][ T8651] dump_stack+0x172/0x1f0 [ 70.748258][ T8651] print_circular_bug.isra.0.cold+0x163/0x172 [ 70.754295][ T8651] check_noncircular+0x32e/0x3e0 [ 70.759204][ T8651] ? print_circular_bug.isra.0+0x230/0x230 [ 70.764979][ T8651] ? mark_held_locks+0xa4/0xf0 [ 70.770325][ T8651] ? alloc_list_entry+0xc0/0xc0 [ 70.775146][ T8651] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 70.781359][ T8651] ? find_first_zero_bit+0x9a/0xc0 [ 70.786442][ T8651] __lock_acquire+0x2596/0x4a00 [ 70.791265][ T8651] ? __lock_acquire+0x16f2/0x4a00 [ 70.796262][ T8651] ? mark_held_locks+0xf0/0xf0 [ 70.800996][ T8651] lock_acquire+0x190/0x410 [ 70.805466][ T8651] ? __might_fault+0xfb/0x1e0 [ 70.810111][ T8651] __might_fault+0x15e/0x1e0 [ 70.814671][ T8651] ? __might_fault+0xfb/0x1e0 [ 70.819318][ T8651] mon_bin_fetch+0x26f/0x340 [ 70.823883][ T8651] mon_bin_ioctl+0x21e/0xc80 [ 70.828442][ T8651] ? mon_bin_get_event+0x450/0x450 [ 70.833524][ T8651] ? mon_bin_get_event+0x450/0x450 [ 70.838604][ T8651] do_vfs_ioctl+0xdb6/0x13e0 [ 70.843164][ T8651] ? compat_ioctl_preallocate+0x210/0x210 [ 70.848863][ T8651] ? __fget+0x37f/0x550 [ 70.852998][ T8651] ? ksys_dup3+0x3e0/0x3e0 [ 70.857386][ T8651] ? nsecs_to_jiffies+0x30/0x30 [ 70.862210][ T8651] ? tomoyo_file_ioctl+0x23/0x30 [ 70.867121][ T8651] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 70.873331][ T8651] ? security_file_ioctl+0x8d/0xc0 [ 70.878410][ T8651] ksys_ioctl+0xab/0xd0 [ 70.882545][ T8651] __x64_sys_ioctl+0x73/0xb0 [ 70.887110][ T8651] do_syscall_64+0xfa/0x760 [ 70.891591][ T8651] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 70.897456][ T8651] RIP: 0033:0x459a59 [ 70.901324][ T8651] Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 70.920903][ T8651] RSP: 002b:00007fcac0611c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 70.929290][ T8651] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a59 [ 70.937235][ T8651] RDX: 0000000020000280 RSI: 00000000c0109207 RDI: 0000000000000003 [ 70.945214][ T8651] RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 [ 70.953160][ T8651] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fcac06126d4 [ 70.961107][ T8651] R13: 00000000004c3357 R14: 00000000004d7088 R15: 00000000ffffffff