[ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.24' (ECDSA) to the list of known hosts. syzkaller login: [ 33.954620] audit: type=1400 audit(1598930009.694:8): avc: denied { execmem } for pid=6365 comm="syz-executor361" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 33.976503] IPVS: ftp: loaded support on port[0] = 21 [ 34.044215] chnl_net:caif_netlink_parms(): no params data found [ 34.178293] bridge0: port 1(bridge_slave_0) entered blocking state [ 34.184960] bridge0: port 1(bridge_slave_0) entered disabled state [ 34.192459] device bridge_slave_0 entered promiscuous mode [ 34.199834] bridge0: port 2(bridge_slave_1) entered blocking state [ 34.206203] bridge0: port 2(bridge_slave_1) entered disabled state [ 34.213759] device bridge_slave_1 entered promiscuous mode [ 34.230152] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 34.238896] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 34.256492] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 34.263719] team0: Port device team_slave_0 added [ 34.269572] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 34.276726] team0: Port device team_slave_1 added [ 34.292250] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 34.298971] 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. [ 34.324280] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 34.335615] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 34.341980] 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. [ 34.367243] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 34.378001] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 34.385284] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 34.403739] device hsr_slave_0 entered promiscuous mode [ 34.409356] device hsr_slave_1 entered promiscuous mode [ 34.415226] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 34.422411] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 34.483675] bridge0: port 2(bridge_slave_1) entered blocking state [ 34.490134] bridge0: port 2(bridge_slave_1) entered forwarding state [ 34.496821] bridge0: port 1(bridge_slave_0) entered blocking state [ 34.503231] bridge0: port 1(bridge_slave_0) entered forwarding state [ 34.532298] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 34.539046] 8021q: adding VLAN 0 to HW filter on device bond0 [ 34.546660] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 34.556018] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 34.564503] bridge0: port 1(bridge_slave_0) entered disabled state [ 34.582354] bridge0: port 2(bridge_slave_1) entered disabled state [ 34.592173] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 34.599140] 8021q: adding VLAN 0 to HW filter on device team0 [ 34.607388] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 34.614907] bridge0: port 1(bridge_slave_0) entered blocking state [ 34.621296] bridge0: port 1(bridge_slave_0) entered forwarding state [ 34.638220] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 34.645771] bridge0: port 2(bridge_slave_1) entered blocking state [ 34.652170] bridge0: port 2(bridge_slave_1) entered forwarding state [ 34.659662] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 34.669848] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 34.676793] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 34.686932] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 34.696648] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 34.705496] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 34.712058] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 34.724684] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 34.732922] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 34.739984] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 34.750521] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 34.800365] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 34.809630] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 34.841730] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 34.849130] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 34.855528] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 34.864856] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 34.872529] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 34.879998] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 34.888867] device veth0_vlan entered promiscuous mode [ 34.897000] device veth1_vlan entered promiscuous mode [ 34.903484] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 34.912017] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 34.923290] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 34.932603] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 34.940233] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 34.949047] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 34.958115] device veth0_macvtap entered promiscuous mode [ 34.964131] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 34.973086] device veth1_macvtap entered promiscuous mode [ 34.981495] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 34.991035] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 35.000931] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 35.008113] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 35.016160] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 35.024210] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 35.033049] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 35.040506] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 35.047911] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 35.055502] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready executing program [ 35.146829] device team1 entered promiscuous mode [ 35.159971] IPv6: ADDRCONF(NETDEV_UP): macvtap1: link is not ready [ 35.166297] 8021q: adding VLAN 0 to HW filter on device macvtap1 [ 35.173654] [ 35.175264] ============================================ [ 35.180698] WARNING: possible recursive locking detected [ 35.186119] 4.14.195-syzkaller #0 Not tainted [ 35.190585] -------------------------------------------- [ 35.196014] syz-executor361/6366 is trying to acquire lock: [ 35.201699] (&team->lock){+.+.}, at: [] team_vlan_rx_add_vid+0x38/0x1d0 [ 35.210173] [ 35.210173] but task is already holding lock: [ 35.216116] (&team->lock){+.+.}, at: [] team_add_slave+0x7d/0x1ad0 [ 35.224064] [ 35.224064] other info that might help us debug this: [ 35.230714] Possible unsafe locking scenario: [ 35.230714] [ 35.236744] CPU0 [ 35.239299] ---- [ 35.241854] lock(&team->lock); [ 35.245215] lock(&team->lock); [ 35.248553] [ 35.248553] *** DEADLOCK *** [ 35.248553] [ 35.254592] May be due to missing lock nesting notation [ 35.254592] [ 35.261507] 2 locks held by syz-executor361/6366: [ 35.266318] #0: (rtnl_mutex){+.+.}, at: [] rtnetlink_rcv_msg+0x31d/0xb10 [ 35.274884] #1: (&team->lock){+.+.}, at: [] team_add_slave+0x7d/0x1ad0 [ 35.283285] [ 35.283285] stack backtrace: [ 35.287757] CPU: 0 PID: 6366 Comm: syz-executor361 Not tainted 4.14.195-syzkaller #0 [ 35.295618] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.304958] Call Trace: [ 35.307542] dump_stack+0x1b2/0x283 [ 35.311151] __lock_acquire.cold+0x180/0x97c [ 35.315555] ? _raw_spin_unlock_irqrestore+0x79/0xe0 [ 35.320650] ? trace_hardirqs_on+0x10/0x10 [ 35.324877] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 35.329967] ? depot_save_stack+0x1d3/0x3e3 [ 35.334273] ? kasan_kmalloc+0x139/0x160 [ 35.338316] ? kasan_kmalloc+0xeb/0x160 [ 35.342297] ? kmem_cache_alloc_trace+0x131/0x3d0 [ 35.347112] ? vlan_vid_add+0x237/0x7d0 [ 35.351072] ? vlan_vid_add+0x5ef/0x7d0 [ 35.355037] ? vlan_device_event.cold+0x23/0x28 [ 35.359698] ? notifier_call_chain+0x108/0x1a0 [ 35.364268] lock_acquire+0x170/0x3f0 [ 35.368045] ? team_vlan_rx_add_vid+0x38/0x1d0 [ 35.372619] ? team_vlan_rx_add_vid+0x38/0x1d0 [ 35.377184] __mutex_lock+0xc4/0x1310 [ 35.381312] ? team_vlan_rx_add_vid+0x38/0x1d0 [ 35.385869] ? entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 35.391220] ? trace_hardirqs_on+0x10/0x10 [ 35.395428] ? io_schedule_timeout+0x140/0x140 [ 35.399998] ? team_vlan_rx_add_vid+0x38/0x1d0 [ 35.404552] ? __ww_mutex_wakeup_for_backoff+0x210/0x210 [ 35.409990] ? fs_reclaim_release+0xd0/0x110 [ 35.414372] ? vlan_vid_add+0x237/0x7d0 [ 35.418336] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 35.423763] team_vlan_rx_add_vid+0x38/0x1d0 [ 35.428753] vlan_vid_add+0x5ef/0x7d0 [ 35.432539] vlan_vid_add+0x5ef/0x7d0 [ 35.436323] vlan_device_event.cold+0x23/0x28 [ 35.440800] ? phonet_address_add+0x2e0/0x2e0 [ 35.445354] ? unregister_vlan_dev+0x480/0x480 [ 35.449935] ? packet_notifier+0x43d/0x730 [ 35.454141] ? cgw_notifier+0x83/0x300 [ 35.457999] ? br_device_event+0x148/0x570 [ 35.462207] notifier_call_chain+0x108/0x1a0 [ 35.466588] dev_open+0xf9/0x110 [ 35.469928] ? __dev_open+0x310/0x310 [ 35.473704] ? team_add_slave+0x6ef/0x1ad0 [ 35.477914] ? memcpy+0x35/0x50 [ 35.481164] team_add_slave+0x954/0x1ad0 [ 35.485211] ? team_options_register+0x50/0x50 [ 35.489767] ? netdev_is_rx_handler_busy+0x67/0xc0 [ 35.494667] ? team_options_register+0x50/0x50 [ 35.499223] do_set_master+0x19e/0x200 [ 35.503082] rtnl_newlink+0x134c/0x1830 [ 35.507048] ? __lock_acquire+0x5fc/0x3f20 [ 35.511257] ? kmem_cache_free+0x7c/0x2b0 [ 35.515387] ? rtnl_dellink+0x6a0/0x6a0 [ 35.519337] ? trace_hardirqs_on+0x10/0x10 [ 35.523545] ? lock_acquire+0x170/0x3f0 [ 35.527513] ? lock_acquire+0x170/0x3f0 [ 35.531461] ? lock_downgrade+0x740/0x740 [ 35.535580] ? rtnl_dellink+0x6a0/0x6a0 [ 35.539560] rtnetlink_rcv_msg+0x3be/0xb10 [ 35.543783] ? rtnl_calcit.isra.0+0x3a0/0x3a0 [ 35.548252] ? __netlink_lookup+0x345/0x5d0 [ 35.552546] ? netdev_pick_tx+0x2e0/0x2e0 [ 35.556671] netlink_rcv_skb+0x125/0x390 [ 35.560738] ? memcpy+0x35/0x50 [ 35.564003] ? rtnl_calcit.isra.0+0x3a0/0x3a0 [ 35.568470] ? netlink_ack+0x9a0/0x9a0 [ 35.572350] netlink_unicast+0x437/0x610 [ 35.576385] ? netlink_sendskb+0xd0/0xd0 [ 35.580419] netlink_sendmsg+0x62e/0xb80 [ 35.584468] ? nlmsg_notify+0x170/0x170 [ 35.588420] ? kernel_recvmsg+0x210/0x210 [ 35.592554] ? security_socket_sendmsg+0x83/0xb0 [ 35.597283] ? nlmsg_notify+0x170/0x170 [ 35.601228] sock_sendmsg+0xb5/0x100 [ 35.604928] ___sys_sendmsg+0x6c8/0x800 [ 35.608882] ? copy_msghdr_from_user+0x3b0/0x3b0 [ 35.613625] ? trace_hardirqs_on+0x10/0x10 [ 35.617849] ? trace_hardirqs_on+0x10/0x10 [ 35.622088] ? reacquire_held_locks+0xb5/0x3f0 [ 35.626673] ? release_sock+0x1b/0x1b0 [ 35.630556] ? lock_sock_nested+0x98/0x100 [ 35.634770] ? __might_fault+0x104/0x1b0 [ 35.638833] ? lock_acquire+0x170/0x3f0 [ 35.642783] ? lock_downgrade+0x740/0x740 [ 35.646927] ? __might_fault+0x177/0x1b0 [ 35.650974] ? _copy_to_user+0x82/0xd0 [ 35.654833] ? move_addr_to_user+0x13f/0x180 [ 35.659215] ? __fdget+0x167/0x1f0 [ 35.662727] ? sockfd_lookup_light+0xb2/0x160 [ 35.667195] __sys_sendmsg+0xa3/0x120 [ 35.670993] ? SyS_shutdown+0x160/0x160 [ 35.675029] ? security_file_ioctl+0x83/0xb0 [ 35.679411] SyS_sendmsg+0x27/0x40 [ 35.682944] ? __sys_sendmsg+0x120/0x120 [ 35.686994] do_syscall_64+0x1d5/0x640 [ 35.690863] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 35.696025] RIP: 0033:0x443759 [ 35.699204] RSP: 002b:00007ffd50bfd768 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 35.706899] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000443759 [ 35.714140] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004 [ 35.721400] RBP: 000000306d616574 R08: 0000000001bbbbbb R09: 0000000001bbbbbb [ 35.728644] R10: 0000000001bbbbbb R11: 0000000000000246 R12: 00007ffd50bfd780 [ 35.735886] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 35.746671] team0: Device macvtap1 failed to register rx_handler