Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 71.754007][ T26] kauditd_printk_skb: 7 callbacks suppressed [ 71.754021][ T26] audit: type=1800 audit(1571484068.495:39): pid=9178 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 71.794346][ T26] audit: type=1800 audit(1571484068.495:40): pid=9178 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 76.032737][ T26] audit: type=1400 audit(1571484072.775:41): avc: denied { map } for pid=9357 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.0.156' (ECDSA) to the list of known hosts. [ 90.345035][ T26] audit: type=1400 audit(1571484087.085:42): avc: denied { map } for pid=9369 comm="syz-executor643" path="/root/syz-executor643908417" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 90.384344][ T9370] IPVS: ftp: loaded support on port[0] = 21 [ 90.443327][ T9370] chnl_net:caif_netlink_parms(): no params data found [ 90.470138][ T9370] bridge0: port 1(bridge_slave_0) entered blocking state [ 90.477590][ T9370] bridge0: port 1(bridge_slave_0) entered disabled state [ 90.485487][ T9370] device bridge_slave_0 entered promiscuous mode [ 90.493600][ T9370] bridge0: port 2(bridge_slave_1) entered blocking state [ 90.501094][ T9370] bridge0: port 2(bridge_slave_1) entered disabled state [ 90.509793][ T9370] device bridge_slave_1 entered promiscuous mode [ 90.526037][ T9370] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 90.537607][ T9370] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 90.556721][ T9370] team0: Port device team_slave_0 added [ 90.563943][ T9370] team0: Port device team_slave_1 added [ 90.632128][ T9370] device hsr_slave_0 entered promiscuous mode [ 90.679491][ T9370] device hsr_slave_1 entered promiscuous mode [ 90.747245][ T9370] bridge0: port 2(bridge_slave_1) entered blocking state [ 90.754759][ T9370] bridge0: port 2(bridge_slave_1) entered forwarding state [ 90.762565][ T9370] bridge0: port 1(bridge_slave_0) entered blocking state [ 90.769630][ T9370] bridge0: port 1(bridge_slave_0) entered forwarding state [ 90.802881][ T9370] 8021q: adding VLAN 0 to HW filter on device bond0 [ 90.815825][ T2948] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 90.836332][ T2948] bridge0: port 1(bridge_slave_0) entered disabled state [ 90.845010][ T2948] bridge0: port 2(bridge_slave_1) entered disabled state [ 90.853747][ T2948] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 90.864820][ T9370] 8021q: adding VLAN 0 to HW filter on device team0 [ 90.874855][ T2994] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 90.884211][ T2994] bridge0: port 1(bridge_slave_0) entered blocking state [ 90.891320][ T2994] bridge0: port 1(bridge_slave_0) entered forwarding state [ 90.909601][ T2994] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 90.918069][ T2994] bridge0: port 2(bridge_slave_1) entered blocking state [ 90.925186][ T2994] bridge0: port 2(bridge_slave_1) entered forwarding state [ 90.935893][ T2994] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 90.945104][ T12] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 90.955949][ T2948] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 90.970294][ T9370] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 90.981447][ T9370] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 90.993644][ T2948] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 91.002578][ T2948] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready executing program [ 91.011135][ T2948] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 91.026829][ T9370] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 91.071019][ T26] audit: type=1400 audit(1571484087.815:43): avc: denied { map } for pid=9370 comm="syz-executor643" path="/dev/usbmon0" dev="devtmpfs" ino=17838 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usbmon_device_t:s0 tclass=chr_file permissive=1 [ 91.127797][ T9380] [ 91.130166][ T9380] ====================================================== [ 91.137163][ T9380] WARNING: possible circular locking dependency detected [ 91.144247][ T9380] 5.4.0-rc3+ #0 Not tainted [ 91.148724][ T9380] ------------------------------------------------------ [ 91.155727][ T9380] syz-executor643/9380 is trying to acquire lock: [ 91.162111][ T9380] ffff888095fe28d8 (&mm->mmap_sem#2){++++}, at: __might_fault+0xfb/0x1e0 [ 91.170513][ T9380] [ 91.170513][ T9380] but task is already holding lock: [ 91.177866][ T9380] ffff888097ad1900 (&rp->fetch_lock){+.+.}, at: mon_bin_read+0x60/0x640 [ 91.186173][ T9380] [ 91.186173][ T9380] which lock already depends on the new lock. [ 91.186173][ T9380] [ 91.196606][ T9380] [ 91.196606][ T9380] the existing dependency chain (in reverse order) is: [ 91.205681][ T9380] [ 91.205681][ T9380] -> #1 (&rp->fetch_lock){+.+.}: [ 91.212775][ T9380] __mutex_lock+0x156/0x13c0 [ 91.217950][ T9380] mutex_lock_nested+0x16/0x20 [ 91.223210][ T9380] mon_bin_vma_fault+0x73/0x2d0 [ 91.228557][ T9380] __do_fault+0x111/0x540 [ 91.233475][ T9380] __handle_mm_fault+0x2dd0/0x4040 [ 91.239086][ T9380] handle_mm_fault+0x3b7/0xaa0 [ 91.244349][ T9380] __get_user_pages+0x7d4/0x1b30 [ 91.249959][ T9380] populate_vma_page_range+0x20d/0x2a0 [ 91.255927][ T9380] __mm_populate+0x204/0x380 [ 91.261204][ T9380] vm_mmap_pgoff+0x213/0x230 [ 91.266295][ T9380] ksys_mmap_pgoff+0x4aa/0x630 [ 91.271573][ T9380] __x64_sys_mmap+0xe9/0x1b0 [ 91.276663][ T9380] do_syscall_64+0xfa/0x760 [ 91.281668][ T9380] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 91.288051][ T9380] [ 91.288051][ T9380] -> #0 (&mm->mmap_sem#2){++++}: [ 91.295146][ T9380] __lock_acquire+0x2596/0x4a00 [ 91.300498][ T9380] lock_acquire+0x190/0x410 [ 91.305498][ T9380] __might_fault+0x15e/0x1e0 [ 91.310588][ T9380] _copy_to_user+0x30/0x160 [ 91.315590][ T9380] mon_bin_read+0x329/0x640 [ 91.320591][ T9380] __vfs_read+0x8a/0x110 [ 91.325328][ T9380] vfs_read+0x1f0/0x440 [ 91.329993][ T9380] ksys_read+0x14f/0x290 [ 91.334731][ T9380] __x64_sys_read+0x73/0xb0 [ 91.339736][ T9380] do_syscall_64+0xfa/0x760 [ 91.344736][ T9380] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 91.351119][ T9380] [ 91.351119][ T9380] other info that might help us debug this: [ 91.351119][ T9380] [ 91.361328][ T9380] Possible unsafe locking scenario: [ 91.361328][ T9380] [ 91.368760][ T9380] CPU0 CPU1 [ 91.374102][ T9380] ---- ---- [ 91.379460][ T9380] lock(&rp->fetch_lock); [ 91.383857][ T9380] lock(&mm->mmap_sem#2); [ 91.390783][ T9380] lock(&rp->fetch_lock); [ 91.397700][ T9380] lock(&mm->mmap_sem#2); [ 91.402099][ T9380] [ 91.402099][ T9380] *** DEADLOCK *** [ 91.402099][ T9380] [ 91.410225][ T9380] 1 lock held by syz-executor643/9380: [ 91.415667][ T9380] #0: ffff888097ad1900 (&rp->fetch_lock){+.+.}, at: mon_bin_read+0x60/0x640 [ 91.424431][ T9380] [ 91.424431][ T9380] stack backtrace: [ 91.430317][ T9380] CPU: 0 PID: 9380 Comm: syz-executor643 Not tainted 5.4.0-rc3+ #0 [ 91.438181][ T9380] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 91.448217][ T9380] Call Trace: [ 91.451495][ T9380] dump_stack+0x172/0x1f0 [ 91.455810][ T9380] print_circular_bug.isra.0.cold+0x163/0x172 [ 91.461952][ T9380] check_noncircular+0x32e/0x3e0 [ 91.466868][ T9380] ? print_circular_bug.isra.0+0x230/0x230 [ 91.472666][ T9380] ? mark_lock+0xc2/0x1220 [ 91.477065][ T9380] ? alloc_list_entry+0xc0/0xc0 [ 91.481903][ T9380] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 91.488140][ T9380] ? find_first_zero_bit+0x9a/0xc0 [ 91.493231][ T9380] __lock_acquire+0x2596/0x4a00 [ 91.498062][ T9380] ? mark_held_locks+0xf0/0xf0 [ 91.502910][ T9380] lock_acquire+0x190/0x410 [ 91.507394][ T9380] ? __might_fault+0xfb/0x1e0 [ 91.512053][ T9380] __might_fault+0x15e/0x1e0 [ 91.516619][ T9380] ? __might_fault+0xfb/0x1e0 [ 91.521276][ T9380] _copy_to_user+0x30/0x160 [ 91.525758][ T9380] mon_bin_read+0x329/0x640 [ 91.530242][ T9380] ? security_file_permission+0x8f/0x380 [ 91.535852][ T9380] __vfs_read+0x8a/0x110 [ 91.540070][ T9380] ? copy_from_buf.isra.0+0x1c0/0x1c0 [ 91.545419][ T9380] vfs_read+0x1f0/0x440 [ 91.549553][ T9380] ksys_read+0x14f/0x290 [ 91.553793][ T9380] ? kernel_write+0x130/0x130 [ 91.558710][ T9380] ? do_syscall_64+0x26/0x760 [ 91.563368][ T9380] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 91.569783][ T9380] ? do_syscall_64+0x26/0x760 [ 91.574451][ T9380] __x64_sys_read+0x73/0xb0 [ 91.581372][ T9380] do_syscall_64+0xfa/0x760 [ 91.586035][ T9380] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 91.591906][ T9380] RIP: 0033:0x44afb9 [ 91.595783][ T9380] Code: e8 6c d9 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 d2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 91.615635][ T9380] RSP: 002b:00007f1e7079bce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 91.624035][ T9380] RAX: ffffffffffffffda RBX: 00000000006dcc38 RCX: 000000000044afb9 [ 91.632072][ T9380] RDX: 00000000000000cb RSI: 0000000020000100 RDI: 0000000000000003 [ 91.640022][ T9380] RBP: 00000000006dcc30 R08: 00007f1e7079c700 R09: 0000000000000000 [ 91.648233][ T9380] R10: 00007f1e7079c700 R11: 0000000000000246 R12: 00000000006dcc3c [ 91.656211][ T9380] R13: 00007ffd774170ef R14: 00007f1e7079c9c0 R15: 000000000000002d