[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.254' (ECDSA) to the list of known hosts. syzkaller login: [ 39.245514] audit: type=1400 audit(1598984638.163:8): avc: denied { execmem } for pid=6486 comm="syz-executor185" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 39.263845] IPVS: ftp: loaded support on port[0] = 21 [ 39.337626] chnl_net:caif_netlink_parms(): no params data found [ 39.451815] bridge0: port 1(bridge_slave_0) entered blocking state [ 39.458851] bridge0: port 1(bridge_slave_0) entered disabled state [ 39.467431] device bridge_slave_0 entered promiscuous mode [ 39.474697] bridge0: port 2(bridge_slave_1) entered blocking state [ 39.481980] bridge0: port 2(bridge_slave_1) entered disabled state [ 39.489418] device bridge_slave_1 entered promiscuous mode [ 39.507298] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 39.517157] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 39.535284] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 39.542888] team0: Port device team_slave_0 added [ 39.549507] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 39.557492] team0: Port device team_slave_1 added [ 39.573031] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 39.579373] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 39.606605] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 39.618934] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 39.625175] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 39.651178] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 39.662292] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 39.670261] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 39.694765] device hsr_slave_0 entered promiscuous mode [ 39.701635] device hsr_slave_1 entered promiscuous mode [ 39.708972] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 39.716801] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 39.784756] bridge0: port 2(bridge_slave_1) entered blocking state [ 39.791302] bridge0: port 2(bridge_slave_1) entered forwarding state [ 39.798281] bridge0: port 1(bridge_slave_0) entered blocking state [ 39.804624] bridge0: port 1(bridge_slave_0) entered forwarding state [ 39.837990] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 39.844092] 8021q: adding VLAN 0 to HW filter on device bond0 [ 39.855190] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 39.864996] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 39.874222] bridge0: port 1(bridge_slave_0) entered disabled state [ 39.882032] bridge0: port 2(bridge_slave_1) entered disabled state [ 39.889889] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 39.900936] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 39.907308] 8021q: adding VLAN 0 to HW filter on device team0 [ 39.916641] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 39.924329] bridge0: port 1(bridge_slave_0) entered blocking state [ 39.930806] bridge0: port 1(bridge_slave_0) entered forwarding state [ 39.947357] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 39.955095] bridge0: port 2(bridge_slave_1) entered blocking state [ 39.961541] bridge0: port 2(bridge_slave_1) entered forwarding state [ 39.969273] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 39.978504] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 39.988403] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 40.001410] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 40.011493] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 40.023599] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 40.030334] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 40.038712] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 40.046819] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 40.060441] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 40.068108] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 40.074905] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 40.086493] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 40.100173] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 40.109784] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 40.144679] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 40.153005] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 40.160156] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 40.169628] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 40.177516] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 40.184382] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 40.193416] device veth0_vlan entered promiscuous mode [ 40.202949] device veth1_vlan entered promiscuous mode [ 40.210201] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 40.219863] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 40.232097] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 40.241969] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 40.250102] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 40.258025] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 40.267944] device veth0_macvtap entered promiscuous mode [ 40.274068] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 40.283183] device veth1_macvtap entered promiscuous mode [ 40.292246] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 40.301687] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 40.312271] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 40.320036] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 40.328414] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 40.339298] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 40.346823] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 40.353404] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 40.362295] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready executing program [ 40.471273] device team1 entered promiscuous mode [ 40.481696] IPv6: ADDRCONF(NETDEV_UP): macvtap1: link is not ready [ 40.489175] 8021q: adding VLAN 0 to HW filter on device macvtap1 [ 40.495995] [ 40.497624] ============================================ [ 40.503101] WARNING: possible recursive locking detected [ 40.508547] 4.19.142-syzkaller #0 Not tainted [ 40.513070] -------------------------------------------- [ 40.518598] syz-executor185/6487 is trying to acquire lock: [ 40.524312] 000000001de11139 (&team->lock){+.+.}, at: team_vlan_rx_add_vid+0x38/0x1e0 [ 40.532281] [ 40.532281] but task is already holding lock: [ 40.538233] 00000000c5ea76c1 (&team->lock){+.+.}, at: team_add_slave+0x98/0x1eb0 [ 40.545767] [ 40.545767] other info that might help us debug this: [ 40.552846] Possible unsafe locking scenario: [ 40.552846] [ 40.558876] CPU0 [ 40.561434] ---- [ 40.563994] lock(&team->lock); [ 40.567450] lock(&team->lock); [ 40.570796] [ 40.570796] *** DEADLOCK *** [ 40.570796] [ 40.576838] May be due to missing lock nesting notation [ 40.576838] [ 40.583752] 2 locks held by syz-executor185/6487: [ 40.588576] #0: 0000000040c831f1 (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x3fe/0xb80 [ 40.596969] #1: 00000000c5ea76c1 (&team->lock){+.+.}, at: team_add_slave+0x98/0x1eb0 [ 40.604931] [ 40.604931] stack backtrace: [ 40.609427] CPU: 0 PID: 6487 Comm: syz-executor185 Not tainted 4.19.142-syzkaller #0 [ 40.617292] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 40.626640] Call Trace: [ 40.629218] dump_stack+0x1fc/0x2fe [ 40.632825] __lock_acquire.cold+0x121/0x57e [ 40.637219] ? mark_held_locks+0xf0/0xf0 [ 40.641258] ? mark_held_locks+0xa6/0xf0 [ 40.645311] ? _raw_spin_unlock_irqrestore+0x79/0xe0 [ 40.650396] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 40.654955] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 40.660057] ? depot_save_stack+0x258/0x40a [ 40.664360] ? kasan_kmalloc+0x139/0x160 [ 40.668577] lock_acquire+0x170/0x3c0 [ 40.672356] ? team_vlan_rx_add_vid+0x38/0x1e0 [ 40.676922] ? team_vlan_rx_add_vid+0x38/0x1e0 [ 40.681482] __mutex_lock+0xd7/0x1260 [ 40.685273] ? team_vlan_rx_add_vid+0x38/0x1e0 [ 40.689832] ? notifier_call_chain+0xc0/0x230 [ 40.694314] ? dev_open+0x128/0x140 [ 40.697918] ? do_set_master+0x1c8/0x220 [ 40.701970] ? rtnl_newlink+0x1270/0x15b0 [ 40.706110] ? netlink_rcv_skb+0x160/0x440 [ 40.710330] ? netlink_unicast+0x4d5/0x690 [ 40.714544] ? netlink_sendmsg+0x6bb/0xc40 [ 40.718771] ? team_vlan_rx_add_vid+0x38/0x1e0 [ 40.723332] ? __mutex_add_waiter+0x160/0x160 [ 40.727819] ? mark_held_locks+0xa6/0xf0 [ 40.731857] ? console_unlock+0xdf5/0x1110 [ 40.736114] ? fs_reclaim_release+0xd0/0x110 [ 40.740505] ? lock_acquire+0x170/0x3c0 [ 40.744462] ? check_preemption_disabled+0x41/0x280 [ 40.749462] team_vlan_rx_add_vid+0x38/0x1e0 [ 40.753868] vlan_add_rx_filter_info+0x13c/0x1c0 [ 40.759301] vlan_vid_add+0x3ee/0x7e0 [ 40.763097] vlan_add_rx_filter_info+0x13c/0x1c0 [ 40.767835] vlan_vid_add+0x3ee/0x7e0 [ 40.771631] vlan_device_event.cold+0x28/0x2d [ 40.776117] ? lock_downgrade+0x720/0x720 [ 40.780242] ? phonet_address_add+0x320/0x320 [ 40.784713] ? unregister_vlan_dev+0x560/0x560 [ 40.789282] ? br_device_event+0x2a4/0x690 [ 40.793493] ? br_net_exit+0x190/0x190 [ 40.797384] ? packet_notifier+0x4f2/0x810 [ 40.801788] ? cgw_notifier+0xa2/0x380 [ 40.805665] notifier_call_chain+0xc0/0x230 [ 40.809967] dev_open+0x128/0x140 [ 40.813397] ? __dev_open+0x3a0/0x3a0 [ 40.817182] ? __kmalloc+0x38e/0x3c0 [ 40.820883] ? team_add_slave+0x7c1/0x1eb0 [ 40.825118] team_add_slave+0xa3c/0x1eb0 [ 40.829157] ? team_options_register+0x50/0x50 [ 40.833727] ? macvlan_common_newlink+0xbc4/0x1590 [ 40.838641] ? team_options_register+0x50/0x50 [ 40.843386] do_set_master+0x1c8/0x220 [ 40.847438] rtnl_newlink+0x1270/0x15b0 [ 40.851394] ? rtnl_getlink+0x620/0x620 [ 40.855349] ? __lock_acquire+0x6de/0x3ff0 [ 40.859563] ? unwind_next_frame+0x10a9/0x1c60 [ 40.864135] ? __save_stack_trace+0x72/0x190 [ 40.868521] ? deref_stack_reg+0x134/0x1d0 [ 40.872736] ? mark_held_locks+0xf0/0xf0 [ 40.876776] ? is_bpf_text_address+0xd5/0x1b0 [ 40.881260] ? __lock_acquire+0x6de/0x3ff0 [ 40.885498] ? mark_held_locks+0xf0/0xf0 [ 40.889538] ? mark_held_locks+0xf0/0xf0 [ 40.893576] ? depot_save_stack+0x1e0/0x40a [ 40.897888] ? __lock_acquire+0x6de/0x3ff0 [ 40.902116] ? avc_has_perm_noaudit+0x1c5/0x390 [ 40.906778] ? mark_held_locks+0xf0/0xf0 [ 40.910828] ? lock_acquire+0x170/0x3c0 [ 40.914791] ? avc_has_perm_noaudit+0x9c/0x390 [ 40.919350] ? check_preemption_disabled+0x41/0x280 [ 40.924348] ? __mutex_add_waiter+0x160/0x160 [ 40.928837] ? check_preemption_disabled+0x41/0x280 [ 40.933838] ? rtnl_create_link+0x104/0xa40 [ 40.938138] ? rtnl_getlink+0x620/0x620 [ 40.942091] rtnetlink_rcv_msg+0x453/0xb80 [ 40.946319] ? rtnl_calcit.isra.0+0x430/0x430 [ 40.950791] ? memcpy+0x35/0x50 [ 40.954070] ? netdev_pick_tx+0x2f0/0x2f0 [ 40.958195] ? __copy_skb_header+0x414/0x500 [ 40.962579] ? kfree_skbmem+0x140/0x140 [ 40.966541] netlink_rcv_skb+0x160/0x440 [ 40.970589] ? rtnl_calcit.isra.0+0x430/0x430 [ 40.975078] ? netlink_ack+0xae0/0xae0 [ 40.978943] netlink_unicast+0x4d5/0x690 [ 40.982981] ? netlink_sendskb+0x110/0x110 [ 40.987194] netlink_sendmsg+0x6bb/0xc40 [ 40.991230] ? nlmsg_notify+0x1a0/0x1a0 [ 40.995357] ? kernel_recvmsg+0x220/0x220 [ 40.999481] ? nlmsg_notify+0x1a0/0x1a0 [ 41.003430] sock_sendmsg+0xc3/0x120 [ 41.007120] ___sys_sendmsg+0x7bb/0x8e0 [ 41.011075] ? mark_held_locks+0xf0/0xf0 [ 41.015126] ? copy_msghdr_from_user+0x440/0x440 [ 41.019861] ? mark_held_locks+0xf0/0xf0 [ 41.023905] ? selinux_socket_bind+0x143/0x930 [ 41.028467] ? __might_fault+0x11f/0x1d0 [ 41.032508] ? lock_downgrade+0x720/0x720 [ 41.036639] ? lock_acquire+0x170/0x3c0 [ 41.040592] ? __might_fault+0xef/0x1d0 [ 41.044557] ? __might_fault+0x192/0x1d0 [ 41.048604] ? _copy_to_user+0xb8/0x100 [ 41.052583] ? move_addr_to_user+0x190/0x1d0 [ 41.057071] ? __fdget+0x1a0/0x230 [ 41.060591] __x64_sys_sendmsg+0x132/0x220 [ 41.064817] ? __sys_sendmsg+0x1b0/0x1b0 [ 41.068870] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 41.073612] ? trace_hardirqs_off_caller+0x69/0x210 [ 41.078609] ? do_syscall_64+0x21/0x620 [ 41.082575] do_syscall_64+0xf9/0x620 [ 41.086383] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.091565] RIP: 0033:0x443759 [ 41.094741] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 fb 0f fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 41.113968] RSP: 002b:00007ffef647faa8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 41.121658] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000443759 [ 41.128905] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004 [ 41.136182] RBP: 000000306d616574 R08: 0000000001bbbbbb R09: 0000000001bbbbbb [ 41.143429] R10: 0000000001bbbbbb R11: 0000000000000246 R12: 00007ffef647fac0 [ 41.150683] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 41.166621] team0: Device macvtap1 failed to register rx_handler