[ 10.427256][ T188] team0: Port device dummy0 added [ 10.427313][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.427316][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 10.427318][ T188] preempt_count: 1, expected: 0 [ 10.427319][ T188] RCU nest depth: 0, expected: 0 [ 10.427320][ T188] locks held by ip/188: 5, last CPU#0: [ 10.427322][ T188] #0: ffffffffbad22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.427335][ T188] #1: ffffffffba599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.427341][ T188] #2: ffffffffba599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.427344][ T188] #3: ffffffffba489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.427348][ T188] #4: ffffffffba489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.427351][ T188] irq event stamp: 24444 [ 10.427352][ T188] hardirqs last enabled at (24443): [] __down_trylock_console_sem+0x86/0xa0 [ 10.427356][ T188] hardirqs last disabled at (24444): [] console_emit_next_record+0x3f8/0x4f0 [ 10.427357][ T188] softirqs last enabled at (24338): [] __alloc_skb+0x4c5/0x5f0 [ 10.427360][ T188] softirqs last disabled at (24336): [] __alloc_skb+0x4c5/0x5f0 [ 10.427362][ T188] Preemption disabled at: [ 10.427363][ T188] [] vprintk_emit+0x31b/0x3e0 [ 10.427368][ T188] CPU: 0 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.427372][ T188] Tainted: [W]=WARN [ 10.427373][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.427375][ T188] Call Trace: [ 10.427376][ T188] [ 10.427378][ T188] dump_stack_lvl+0x6f/0xa0 [ 10.427384][ T188] ? vprintk_emit+0x31b/0x3e0 [ 10.427385][ T188] __might_resched.cold+0x1fe/0x2c1 [ 10.427390][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.427394][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 10.427399][ T188] __kmalloc_noprof+0x443/0x760 [ 10.427402][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 10.427408][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 10.427410][ T188] alloc_buf.isra.0+0x4b/0x260 [ 10.427414][ T188] put_chars+0x1e1/0x2f0 [ 10.427418][ T188] ? __send_to_port+0x420/0x420 [ 10.427421][ T188] ? validate_chain+0x34a/0xc20 [ 10.427427][ T188] hvc_console_print+0x292/0x780 [ 10.427430][ T188] ? __lock_acquire+0x518/0xc20 [ 10.427436][ T188] ? hvc_write+0x3a0/0x3a0 [ 10.427439][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.427445][ T188] console_emit_next_record+0x252/0x4f0 [ 10.427448][ T188] ? devkmsg_read+0x4e0/0x4e0 [ 10.427452][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.427454][ T188] ? lock_acquire+0x13c/0x160 [ 10.427459][ T188] console_flush_one_record+0x46f/0x710 [ 10.427462][ T188] ? console_emit_next_record+0x4f0/0x4f0 [ 10.427464][ T188] ? __lock_acquire+0x518/0xc20 [ 10.427469][ T188] console_unlock+0xee/0x1f0 [ 10.427472][ T188] ? console_flush_one_record+0x710/0x710 [ 10.427473][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.427475][ T188] ? lock_acquire+0x60/0x160 [ 10.427479][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.427481][ T188] ? vprintk_emit+0x320/0x3e0 [ 10.427484][ T188] vprintk_emit+0x37c/0x3e0 [ 10.427487][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 10.427490][ T188] ? __nlmsg_put+0x144/0x190 [ 10.427495][ T188] _printk+0xc7/0x100 [ 10.427498][ T188] ? snapshot_read.cold+0x21/0x21 [ 10.427503][ T188] ? netdev_name+0x43/0x60 [ 10.427506][ T188] ? __netdev_printk+0x17f/0x1d0 [ 10.427510][ T188] netdev_info+0xe2/0x116 [ 10.427512][ T188] ? netdev_notice+0x120/0x120 [ 10.427516][ T188] ? _mutex_trylock_nest_lock+0x390/0x390 [ 10.427520][ T188] ? team_nl_send_options_get+0x650/0x650 [ 10.427524][ T188] ? lockdep_hardirqs_on+0x91/0x130 [ 10.427528][ T188] team_port_add+0xfc9/0x17b0 [ 10.427534][ T188] ? team_port_enable+0xc0/0xc0 [ 10.427536][ T188] ? is_bpf_text_address+0x72/0x110 [ 10.427543][ T188] do_set_master+0x3b2/0x780 [ 10.427547][ T188] do_setlink.isra.0+0x9ec/0x2a60 [ 10.427551][ T188] ? stack_trace_save+0x93/0xc0 [ 10.427554][ T188] ? rtnl_link_get_size+0x350/0x350 [ 10.427556][ T188] ? rcu_read_lock_any_held+0x66/0x90 [ 10.427563][ T188] ? stack_depot_save_flags+0x38e/0x790 [ 10.427566][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.427569][ T188] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.427571][ T188] ? validate_chain+0x38b/0xc20 [ 10.427574][ T188] ? kasan_save_stack+0x3d/0x50 [ 10.427576][ T188] ? kasan_save_stack+0x2f/0x50 [ 10.427577][ T188] ? kasan_save_track+0x14/0x30 [ 10.427579][ T188] ? __lock_acquire+0x518/0xc20 [ 10.427581][ T188] ? netlink_seq_next+0x1e/0x60 [ 10.427583][ T188] ? ___sys_sendmsg+0xc0/0x1d0 [ 10.427587][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 10.427589][ T188] ? rtnl_newlink+0x9a8/0x11b0 [ 10.427592][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.427594][ T188] ? lock_acquire+0x13c/0x160 [ 10.427596][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.427597][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.427599][ T188] ? trace_contention_end+0xb3/0x180 [ 10.427602][ T188] ? __mutex_lock+0x1db/0x1ea0 [ 10.427603][ T188] ? __mutex_lock+0x9a3/0x1ea0 [ 10.427605][ T188] ? rtnl_newlink+0x9a8/0x11b0 [ 10.427609][ T188] ? ww_mutex_lock+0x160/0x160 [ 10.427610][ T188] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.427616][ T188] ? __rtnl_newlink+0x3fa/0xa50 [ 10.427622][ T188] rtnl_newlink+0x9f1/0x11b0 [ 10.427628][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 10.427630][ T188] ? __lock_acquire+0x518/0xc20 [ 10.427635][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 10.427637][ T188] ? find_held_lock+0x2b/0x80 [ 10.427639][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 10.427641][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 10.427645][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 10.427648][ T188] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.427651][ T188] ? rtnl_link_fill+0x900/0x900 [ 10.427653][ T188] ? __lock_acquire+0x518/0xc20 [ 10.427658][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 10.427660][ T188] ? find_held_lock+0x2b/0x80 [ 10.427664][ T188] netlink_rcv_skb+0x14e/0x3a0 [ 10.427665][ T188] ? rtnl_link_fill+0x900/0x900 [ 10.427669][ T188] ? netlink_ack+0xcd0/0xcd0 [ 10.427675][ T188] ? netlink_deliver_tap+0xc5/0x330 [ 10.427676][ T188] ? netlink_deliver_tap+0x13c/0x330 [ 10.427681][ T188] netlink_unicast+0x486/0x750 [ 10.427684][ T188] ? netlink_attachskb+0x810/0x810 [ 10.427687][ T188] ? __lock_acquire+0x518/0xc20 [ 10.427691][ T188] netlink_sendmsg+0x735/0xc60 [ 10.427695][ T188] ? netlink_unicast+0x750/0x750 [ 10.427699][ T188] ? __might_fault+0x97/0x140 [ 10.427705][ T188] ____sys_sendmsg+0x415/0x880 [ 10.427707][ T188] ? copy_msghdr_from_user+0x279/0x420 [ 10.427709][ T188] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 10.427710][ T188] ? move_addr_to_kernel+0x40/0x40 [ 10.427717][ T188] ___sys_sendmsg+0x14e/0x1d0 [ 10.427720][ T188] ? copy_msghdr_from_user+0x420/0x420 [ 10.427735][ T188] __sys_sendmsg+0x12c/0x1d0 [ 10.427737][ T188] ? __sys_sendmsg_sock+0x20/0x20 [ 10.427743][ T188] ? rcu_is_watching+0x16/0xd0 [ 10.427746][ T188] do_syscall_64+0xff/0x530 [ 10.427748][ T188] ? exc_page_fault+0xee/0x100 [ 10.427751][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.427753][ T188] RIP: 0033:0x7ff60085754e [ 10.427757][ T188] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 10.427759][ T188] RSP: 002b:00007ffda8c30be0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.427761][ T188] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007ff60085754e [ 10.427763][ T188] RDX: 0000000000000000 RSI: 00007ffda8c30c90 RDI: 0000000000000005 [ 10.427764][ T188] RBP: 00007ffda8c30bf0 R08: 0000000000000000 R09: 0000000000000000 [ 10.427765][ T188] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b843 [ 10.427765][ T188] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffda8c31350 [ 10.427772][ T188] [ 10.470103][ T188] ip (188) used greatest stack depth: 23144 bytes left [ 10.534657][ T191] team0: Port device dummy0 removed [ 10.567117][ T194] team0: Mode changed to "activebackup" [ 10.631516][ T196] team0: Mode changed to "loadbalance" [ 10.699913][ T198] team0: Mode changed to "activebackup" [ 11.507850][ T233] team0: Port device dummy0 added [ 11.507871][ T233] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.507873][ T233] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 233, name: ip [ 11.507875][ T233] preempt_count: 1, expected: 0 [ 11.507875][ T233] RCU nest depth: 0, expected: 0 [ 11.507876][ T233] locks held by ip/233: 5, last CPU#1: [ 11.507879][ T233] #0: ffffffffbad22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.507891][ T233] #1: ffffffffba599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.507897][ T233] #2: ffffffffba599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.507900][ T233] #3: ffffffffba489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.507904][ T233] #4: ffffffffba489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.507907][ T233] irq event stamp: 24250 [ 11.507908][ T233] hardirqs last enabled at (24249): [] __down_trylock_console_sem+0x86/0xa0 [ 11.507912][ T233] hardirqs last disabled at (24250): [] console_emit_next_record+0x3f8/0x4f0 [ 11.507913][ T233] softirqs last enabled at (24178): [] __alloc_skb+0x4c5/0x5f0 [ 11.507917][ T233] softirqs last disabled at (24176): [] __alloc_skb+0x4c5/0x5f0 [ 11.507919][ T233] Preemption disabled at: [ 11.507920][ T233] [] vprintk_emit+0x31b/0x3e0 [ 11.507925][ T233] CPU: 1 UID: 0 PID: 233 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.507929][ T233] Tainted: [W]=WARN [ 11.507929][ T233] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.507931][ T233] Call Trace: [ 11.507933][ T233] [ 11.507934][ T233] dump_stack_lvl+0x6f/0xa0 [ 11.507940][ T233] ? vprintk_emit+0x31b/0x3e0 [ 11.507942][ T233] __might_resched.cold+0x1fe/0x2c1 [ 11.507946][ T233] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.507950][ T233] ? __kmalloc_noprof+0xdb/0x760 [ 11.507956][ T233] __kmalloc_noprof+0x443/0x760 [ 11.507958][ T233] ? alloc_buf.isra.0+0x4b/0x260 [ 11.507965][ T233] ? do_raw_spin_unlock+0x59/0x250 [ 11.507967][ T233] alloc_buf.isra.0+0x4b/0x260 [ 11.507970][ T233] put_chars+0x1e1/0x2f0 [ 11.507974][ T233] ? __send_to_port+0x420/0x420 [ 11.507976][ T233] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.507980][ T233] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.507984][ T233] ? validate_chain+0x38b/0xc20 [ 11.507989][ T233] hvc_console_print+0x292/0x780 [ 11.507993][ T233] ? __lock_acquire+0x518/0xc20 [ 11.507998][ T233] ? hvc_write+0x3a0/0x3a0 [ 11.508001][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.508006][ T233] console_emit_next_record+0x252/0x4f0 [ 11.508010][ T233] ? devkmsg_read+0x4e0/0x4e0 [ 11.508014][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.508016][ T233] ? lock_acquire+0x13c/0x160 [ 11.508020][ T233] console_flush_one_record+0x46f/0x710 [ 11.508024][ T233] ? console_emit_next_record+0x4f0/0x4f0 [ 11.508025][ T233] ? __lock_acquire+0x518/0xc20 [ 11.508031][ T233] console_unlock+0xee/0x1f0 [ 11.508033][ T233] ? console_flush_one_record+0x710/0x710 [ 11.508035][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.508036][ T233] ? lock_acquire+0x60/0x160 [ 11.508040][ T233] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.508042][ T233] ? vprintk_emit+0x320/0x3e0 [ 11.508045][ T233] vprintk_emit+0x37c/0x3e0 [ 11.508049][ T233] ? wake_up_klogd_work_func+0x90/0x90 [ 11.508052][ T233] ? __nlmsg_put+0x144/0x190 [ 11.508057][ T233] _printk+0xc7/0x100 [ 11.508060][ T233] ? snapshot_read.cold+0x21/0x21 [ 11.508065][ T233] ? netdev_name+0x43/0x60 [ 11.508068][ T233] ? __netdev_printk+0x17f/0x1d0 [ 11.508072][ T233] netdev_info+0xe2/0x116 [ 11.508074][ T233] ? netdev_notice+0x120/0x120 [ 11.508078][ T233] ? _mutex_trylock_nest_lock+0x390/0x390 [ 11.508082][ T233] ? team_nl_send_options_get+0x650/0x650 [ 11.508086][ T233] ? lockdep_hardirqs_on+0x91/0x130 [ 11.508090][ T233] team_port_add+0xfc9/0x17b0 [ 11.508096][ T233] ? team_port_enable+0xc0/0xc0 [ 11.508098][ T233] ? is_bpf_text_address+0x72/0x110 [ 11.508104][ T233] do_set_master+0x3b2/0x780 [ 11.508109][ T233] do_setlink.isra.0+0x9ec/0x2a60 [ 11.508113][ T233] ? stack_trace_save+0x93/0xc0 [ 11.508116][ T233] ? rtnl_link_get_size+0x350/0x350 [ 11.508118][ T233] ? rcu_read_lock_any_held+0x66/0x90 [ 11.508120][ T233] ? stack_depot_save_flags+0x38e/0x790 [ 11.508123][ T233] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.508126][ T233] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.508128][ T233] ? validate_chain+0x38b/0xc20 [ 11.508131][ T233] ? kasan_save_stack+0x3d/0x50 [ 11.508133][ T233] ? kasan_save_stack+0x2f/0x50 [ 11.508134][ T233] ? kasan_save_track+0x14/0x30 [ 11.508137][ T233] ? __lock_acquire+0x518/0xc20 [ 11.508139][ T233] ? netlink_seq_next+0x1e/0x60 [ 11.508141][ T233] ? ___sys_sendmsg+0xc0/0x1d0 [ 11.508145][ T233] ? lock_acquire.part.0+0xd4/0x280 [ 11.508147][ T233] ? rtnl_newlink+0x9a8/0x11b0 [ 11.508150][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.508152][ T233] ? lock_acquire+0x13c/0x160 [ 11.508154][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.508156][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.508158][ T233] ? trace_contention_end+0xb3/0x180 [ 11.508160][ T233] ? __mutex_lock+0x1db/0x1ea0 [ 11.508162][ T233] ? __mutex_lock+0x9a3/0x1ea0 [ 11.508164][ T233] ? rtnl_newlink+0x9a8/0x11b0 [ 11.508168][ T233] ? ww_mutex_lock+0x160/0x160 [ 11.508170][ T233] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.508176][ T233] ? __rtnl_newlink+0x3fa/0xa50 [ 11.508182][ T233] rtnl_newlink+0x9f1/0x11b0 [ 11.508188][ T233] ? rtnl_bridge_getlink+0x850/0x850 [ 11.508190][ T233] ? __lock_acquire+0x518/0xc20 [ 11.508195][ T233] ? lock_acquire.part.0+0xd4/0x280 [ 11.508197][ T233] ? find_held_lock+0x2b/0x80 [ 11.508199][ T233] ? rtnl_bridge_getlink+0x850/0x850 [ 11.508202][ T233] ? __lock_release.isra.0+0x69/0x1a0 [ 11.508206][ T233] ? rtnl_bridge_getlink+0x850/0x850 [ 11.508208][ T233] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.508212][ T233] ? rtnl_link_fill+0x900/0x900 [ 11.508214][ T233] ? __lock_acquire+0x518/0xc20 [ 11.508219][ T233] ? lock_acquire.part.0+0xd4/0x280 [ 11.508221][ T233] ? find_held_lock+0x2b/0x80 [ 11.508225][ T233] netlink_rcv_skb+0x14e/0x3a0 [ 11.508227][ T233] ? rtnl_link_fill+0x900/0x900 [ 11.508230][ T233] ? netlink_ack+0xcd0/0xcd0 [ 11.508236][ T233] ? netlink_deliver_tap+0xc5/0x330 [ 11.508238][ T233] ? netlink_deliver_tap+0x13c/0x330 [ 11.508242][ T233] netlink_unicast+0x486/0x750 [ 11.508246][ T233] ? netlink_attachskb+0x810/0x810 [ 11.508249][ T233] ? __lock_acquire+0x518/0xc20 [ 11.508253][ T233] netlink_sendmsg+0x735/0xc60 [ 11.508257][ T233] ? netlink_unicast+0x750/0x750 [ 11.508261][ T233] ? __might_fault+0x97/0x140 [ 11.508268][ T233] ____sys_sendmsg+0x415/0x880 [ 11.508270][ T233] ? copy_msghdr_from_user+0x279/0x420 [ 11.508272][ T233] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 11.508273][ T233] ? move_addr_to_kernel+0x40/0x40 [ 11.508280][ T233] ___sys_sendmsg+0x14e/0x1d0 [ 11.508283][ T233] ? copy_msghdr_from_user+0x420/0x420 [ 11.508298][ T233] __sys_sendmsg+0x12c/0x1d0 [ 11.508301][ T233] ? __sys_sendmsg_sock+0x20/0x20 [ 11.508308][ T233] ? rcu_is_watching+0x16/0xd0 [ 11.508311][ T233] do_syscall_64+0xff/0x530 [ 11.508313][ T233] ? exc_page_fault+0xee/0x100 [ 11.508315][ T233] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.508318][ T233] RIP: 0033:0x7f4e2e69054e [ 11.508322][ T233] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 11.508324][ T233] RSP: 002b:00007ffdc3aa53d0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.508326][ T233] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f4e2e69054e [ 11.508328][ T233] RDX: 0000000000000000 RSI: 00007ffdc3aa5480 RDI: 0000000000000005 [ 11.508329][ T233] RBP: 00007ffdc3aa53e0 R08: 0000000000000000 R09: 0000000000000000 [ 11.508329][ T233] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b844 [ 11.508330][ T233] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdc3aa5b40 [ 11.508337][ T233] [ 11.750962][ T242] team0: Port device dummy0 removed [ 11.782320][ T244] team0: Port device dummy0 added [ 11.990758][ T253] team0: Port device dummy0 removed [ 12.029679][ T255] team0: Port device dummy0 added [ 12.240594][ T263] team0: Port device dummy0 removed [ 12.271988][ T265] team0: Port device dummy0 added [ 12.491028][ T273] team0: Port device dummy0 removed [ 12.535460][ T275] team0: Port device dummy0 added [ 12.535478][ T275] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.535481][ T275] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 275, name: ip [ 12.535483][ T275] preempt_count: 1, expected: 0 [ 12.535483][ T275] RCU nest depth: 0, expected: 0 [ 12.535484][ T275] locks held by ip/275: 5, last CPU#3: [ 12.535487][ T275] #0: ffffffffbad22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 12.535499][ T275] #1: ffffffffba599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.535505][ T275] #2: ffffffffba599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.535508][ T275] #3: ffffffffba489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.535512][ T275] #4: ffffffffba489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.535515][ T275] irq event stamp: 27364 [ 12.535516][ T275] hardirqs last enabled at (27363): [] __down_trylock_console_sem+0x86/0xa0 [ 12.535520][ T275] hardirqs last disabled at (27364): [] console_emit_next_record+0x3f8/0x4f0 [ 12.535521][ T275] softirqs last enabled at (27294): [] __alloc_skb+0x4c5/0x5f0 [ 12.535525][ T275] softirqs last disabled at (27292): [] __alloc_skb+0x4c5/0x5f0 [ 12.535527][ T275] Preemption disabled at: [ 12.535527][ T275] [] vprintk_emit+0x31b/0x3e0 [ 12.535533][ T275] CPU: 3 UID: 0 PID: 275 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.535537][ T275] Tainted: [W]=WARN [ 12.535537][ T275] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.535539][ T275] Call Trace: [ 12.535541][ T275] [ 12.535542][ T275] dump_stack_lvl+0x6f/0xa0 [ 12.535548][ T275] ? vprintk_emit+0x31b/0x3e0 [ 12.535549][ T275] __might_resched.cold+0x1fe/0x2c1 [ 12.535554][ T275] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.535557][ T275] ? __kmalloc_noprof+0xdb/0x760 [ 12.535566][ T275] __kmalloc_noprof+0x443/0x760 [ 12.535569][ T275] ? alloc_buf.isra.0+0x4b/0x260 [ 12.535575][ T275] ? do_raw_spin_unlock+0x59/0x250 [ 12.535577][ T275] alloc_buf.isra.0+0x4b/0x260 [ 12.535581][ T275] put_chars+0x1e1/0x2f0 [ 12.535584][ T275] ? __send_to_port+0x420/0x420 [ 12.535586][ T275] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.535591][ T275] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.535594][ T275] ? validate_chain+0x38b/0xc20 [ 12.535599][ T275] hvc_console_print+0x292/0x780 [ 12.535603][ T275] ? __lock_acquire+0x518/0xc20 [ 12.535608][ T275] ? hvc_write+0x3a0/0x3a0 [ 12.535611][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.535616][ T275] console_emit_next_record+0x252/0x4f0 [ 12.535619][ T275] ? devkmsg_read+0x4e0/0x4e0 [ 12.535623][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.535625][ T275] ? lock_acquire+0x13c/0x160 [ 12.535629][ T275] console_flush_one_record+0x46f/0x710 [ 12.535633][ T275] ? console_emit_next_record+0x4f0/0x4f0 [ 12.535634][ T275] ? __lock_acquire+0x518/0xc20 [ 12.535640][ T275] console_unlock+0xee/0x1f0 [ 12.535642][ T275] ? console_flush_one_record+0x710/0x710 [ 12.535644][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.535645][ T275] ? lock_acquire+0x60/0x160 [ 12.535649][ T275] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.535651][ T275] ? vprintk_emit+0x320/0x3e0 [ 12.535654][ T275] vprintk_emit+0x37c/0x3e0 [ 12.535658][ T275] ? wake_up_klogd_work_func+0x90/0x90 [ 12.535660][ T275] ? __nlmsg_put+0x144/0x190 [ 12.535665][ T275] _printk+0xc7/0x100 [ 12.535669][ T275] ? snapshot_read.cold+0x21/0x21 [ 12.535673][ T275] ? netdev_name+0x43/0x60 [ 12.535676][ T275] ? __netdev_printk+0x17f/0x1d0 [ 12.535679][ T275] netdev_info+0xe2/0x116 [ 12.535682][ T275] ? netdev_notice+0x120/0x120 [ 12.535686][ T275] ? _mutex_trylock_nest_lock+0x390/0x390 [ 12.535690][ T275] ? team_nl_send_options_get+0x650/0x650 [ 12.535696][ T275] team_port_add+0xfc9/0x17b0 [ 12.535701][ T275] ? team_port_enable+0xc0/0xc0 [ 12.535703][ T275] ? is_bpf_text_address+0x72/0x110 [ 12.535710][ T275] do_set_master+0x3b2/0x780 [ 12.535714][ T275] do_setlink.isra.0+0x9ec/0x2a60 [ 12.535718][ T275] ? stack_trace_save+0x93/0xc0 [ 12.535721][ T275] ? rtnl_link_get_size+0x350/0x350 [ 12.535723][ T275] ? rcu_read_lock_any_held+0x66/0x90 [ 12.535725][ T275] ? stack_depot_save_flags+0x38e/0x790 [ 12.535729][ T275] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.535731][ T275] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.535733][ T275] ? validate_chain+0x38b/0xc20 [ 12.535736][ T275] ? kasan_save_stack+0x3d/0x50 [ 12.535738][ T275] ? kasan_save_stack+0x2f/0x50 [ 12.535739][ T275] ? kasan_save_track+0x14/0x30 [ 12.535741][ T275] ? __lock_acquire+0x518/0xc20 [ 12.535743][ T275] ? netlink_seq_next+0x1e/0x60 [ 12.535745][ T275] ? ___sys_sendmsg+0xc0/0x1d0 [ 12.535749][ T275] ? lock_acquire.part.0+0xd4/0x280 [ 12.535751][ T275] ? rtnl_newlink+0x9a8/0x11b0 [ 12.535754][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.535756][ T275] ? lock_acquire+0x13c/0x160 [ 12.535758][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.535759][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.535761][ T275] ? trace_contention_end+0xb3/0x180 [ 12.535764][ T275] ? __mutex_lock+0x1db/0x1ea0 [ 12.535765][ T275] ? __mutex_lock+0x9a3/0x1ea0 [ 12.535767][ T275] ? rtnl_newlink+0x9a8/0x11b0 [ 12.535774][ T275] ? ww_mutex_lock+0x160/0x160 [ 12.535776][ T275] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.535783][ T275] ? __rtnl_newlink+0x3fa/0xa50 [ 12.535789][ T275] rtnl_newlink+0x9f1/0x11b0 [ 12.535795][ T275] ? rtnl_bridge_getlink+0x850/0x850 [ 12.535797][ T275] ? __lock_acquire+0x518/0xc20 [ 12.535802][ T275] ? lock_acquire.part.0+0xd4/0x280 [ 12.535804][ T275] ? find_held_lock+0x2b/0x80 [ 12.535806][ T275] ? rtnl_bridge_getlink+0x850/0x850 [ 12.535809][ T275] ? __lock_release.isra.0+0x69/0x1a0 [ 12.535813][ T275] ? rtnl_bridge_getlink+0x850/0x850 [ 12.535815][ T275] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.535819][ T275] ? rtnl_link_fill+0x900/0x900 [ 12.535820][ T275] ? __lock_acquire+0x518/0xc20 [ 12.535829][ T275] ? lock_acquire.part.0+0xd4/0x280 [ 12.535831][ T275] ? find_held_lock+0x2b/0x80 [ 12.535835][ T275] netlink_rcv_skb+0x14e/0x3a0 [ 12.535837][ T275] ? rtnl_link_fill+0x900/0x900 [ 12.535840][ T275] ? netlink_ack+0xcd0/0xcd0 [ 12.535847][ T275] ? netlink_deliver_tap+0xc5/0x330 [ 12.535848][ T275] ? netlink_deliver_tap+0x13c/0x330 [ 12.535852][ T275] netlink_unicast+0x486/0x750 [ 12.535856][ T275] ? netlink_attachskb+0x810/0x810 [ 12.535859][ T275] ? __lock_acquire+0x518/0xc20 [ 12.535863][ T275] netlink_sendmsg+0x735/0xc60 [ 12.535867][ T275] ? netlink_unicast+0x750/0x750 [ 12.535871][ T275] ? __might_fault+0x97/0x140 [ 12.535876][ T275] ____sys_sendmsg+0x415/0x880 [ 12.535878][ T275] ? copy_msghdr_from_user+0x279/0x420 [ 12.535880][ T275] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 12.535882][ T275] ? move_addr_to_kernel+0x40/0x40 [ 12.535889][ T275] ___sys_sendmsg+0x14e/0x1d0 [ 12.535891][ T275] ? copy_msghdr_from_user+0x420/0x420 [ 12.535906][ T275] __sys_sendmsg+0x12c/0x1d0 [ 12.535909][ T275] ? __sys_sendmsg_sock+0x20/0x20 [ 12.535915][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.535919][ T275] do_syscall_64+0xff/0x530 [ 12.535921][ T275] ? exc_page_fault+0xee/0x100 [ 12.535924][ T275] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.535926][ T275] RIP: 0033:0x7f05a3f5754e [ 12.535930][ T275] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 12.535932][ T275] RSP: 002b:00007ffde5999ba0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 12.535934][ T275] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f05a3f5754e [ 12.535936][ T275] RDX: 0000000000000000 RSI: 00007ffde5999c50 RDI: 0000000000000005 [ 12.535937][ T275] RBP: 00007ffde5999bb0 R08: 0000000000000000 R09: 0000000000000000 [ 12.535937][ T275] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91b845 [ 12.535938][ T275] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffde599a310 [ 12.535945][ T275] [ 12.769281][ T283] team0: Port device dummy0 removed [ 12.822068][ T285] team0: Port device dummy0 added [ 13.056506][ T293] team0: Port device dummy0 removed [ 13.106776][ T295] team0: Port device dummy0 added [ 13.355947][ T303] team0: Port device dummy0 removed [ 13.437633][ T313] team0: Port device dummy0 added [ 14.559258][ T12] team0 (unregistering): Port device dummy0 removed [ 14.559326][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.559329][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 14.559332][ T12] preempt_count: 1, expected: 0 [ 14.559333][ T12] RCU nest depth: 0, expected: 0 [ 14.559335][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 14.559338][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 14.559352][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 14.559358][ T12] #2: ffffffffbad06b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 14.559365][ T12] #3: ffffffffbad22700 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 14.559372][ T12] #4: ffffffffba599cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.559378][ T12] #5: ffffffffba599d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.559383][ T12] #6: ffffffffba489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.559389][ T12] #7: ffffffffba489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.559394][ T12] irq event stamp: 12816 [ 14.559395][ T12] hardirqs last enabled at (12815): [] __down_trylock_console_sem+0x86/0xa0 [ 14.559400][ T12] hardirqs last disabled at (12816): [] console_emit_next_record+0x3f8/0x4f0 [ 14.559403][ T12] softirqs last enabled at (12800): [] fib6_run_gc+0x162/0x250 [ 14.559407][ T12] softirqs last disabled at (12794): [] fib6_run_gc+0x1ac/0x250 [ 14.559410][ T12] Preemption disabled at: [ 14.559412][ T12] [] vprintk_emit+0x31b/0x3e0 [ 14.559419][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.559424][ T12] Tainted: [W]=WARN [ 14.559425][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.559427][ T12] Workqueue: netns cleanup_net [ 14.559431][ T12] Call Trace: [ 14.559434][ T12] [ 14.559436][ T12] dump_stack_lvl+0x6f/0xa0 [ 14.559444][ T12] ? vprintk_emit+0x31b/0x3e0 [ 14.559447][ T12] __might_resched.cold+0x1fe/0x2c1 [ 14.559453][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.559458][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 14.559467][ T12] __kmalloc_noprof+0x443/0x760 [ 14.559471][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 14.559481][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 14.559484][ T12] alloc_buf.isra.0+0x4b/0x260 [ 14.559490][ T12] put_chars+0x1e1/0x2f0 [ 14.559495][ T12] ? __send_to_port+0x420/0x420 [ 14.559498][ T12] ? check_prev_add+0xef/0xe90 [ 14.559506][ T12] ? validate_chain+0x34a/0xc20 [ 14.559513][ T12] hvc_console_print+0x292/0x780 [ 14.559518][ T12] ? mark_usage+0x61/0x170 [ 14.559521][ T12] ? __lock_acquire+0x518/0xc20 [ 14.559524][ T12] ? __lock_acquire+0x518/0xc20 [ 14.559532][ T12] ? hvc_write+0x3a0/0x3a0 [ 14.559535][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 14.559543][ T12] ? lock_acquire+0x13c/0x160 [ 14.559551][ T12] console_emit_next_record+0x252/0x4f0 [ 14.559560][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 14.559570][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.559575][ T12] ? lock_acquire+0x13c/0x160 [ 14.559583][ T12] console_flush_one_record+0x46f/0x710 [ 14.559590][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 14.559593][ T12] ? __lock_acquire+0x518/0xc20 [ 14.559603][ T12] console_unlock+0xee/0x1f0 [ 14.559608][ T12] ? console_flush_one_record+0x710/0x710 [ 14.559610][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.559614][ T12] ? lock_acquire+0x60/0x160 [ 14.559621][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.559624][ T12] ? vprintk_emit+0x320/0x3e0 [ 14.559629][ T12] vprintk_emit+0x37c/0x3e0 [ 14.559636][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 14.559638][ T12] ? default_device_exit_batch+0x38b/0x600 [ 14.559642][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.559644][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.559647][ T12] ? look_up_lock_class+0x65/0x150 [ 14.559651][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.559660][ T12] _printk+0xc7/0x100 [ 14.559665][ T12] ? snapshot_read.cold+0x21/0x21 [ 14.559671][ T12] ? __lock_acquire+0x518/0xc20 [ 14.559676][ T12] ? netdev_name+0x43/0x60 [ 14.559680][ T12] ? __netdev_printk+0x17f/0x1d0 [ 14.559687][ T12] netdev_info+0xe2/0x116 [ 14.559691][ T12] ? netdev_notice+0x120/0x120 [ 14.559700][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 14.559703][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 14.559705][ T12] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 14.559709][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.559713][ T12] ? kvfree_call_rcu+0x23b/0x2e0 [ 14.559721][ T12] team_port_del+0x61d/0xaa0 [ 14.559731][ T12] team_uninit+0xc4/0x1f0 [ 14.559737][ T12] unregister_netdevice_many_notify+0xee7/0x1b40 [ 14.559747][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 14.559749][ T12] ? mutex_is_locked+0x1c/0x50 [ 14.559753][ T12] ? rtnl_is_locked+0x15/0x20 [ 14.559756][ T12] ? unregister_netdevice_queue+0x6a/0x470 [ 14.559763][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.559771][ T12] default_device_exit_batch+0x38b/0x600 [ 14.559776][ T12] ? generic_xdp_install+0x470/0x470 [ 14.559780][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 14.559785][ T12] ? rtnl_is_locked+0x15/0x20 [ 14.559787][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 14.559797][ T12] ops_undo_list+0x2ce/0x8f0 [ 14.559805][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 14.559807][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 14.559818][ T12] cleanup_net+0x431/0x890 [ 14.559823][ T12] ? net_passive_dec+0x230/0x230 [ 14.559830][ T12] ? lock_acquire+0x13c/0x160 [ 14.559838][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.559845][ T12] process_one_work+0xe3e/0x1560 [ 14.559856][ T12] ? __queue_delayed_work+0x470/0x470 [ 14.559861][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 14.559876][ T12] worker_thread+0x4f1/0xd60 [ 14.559888][ T12] ? rescuer_thread+0x1340/0x1340 [ 14.559891][ T12] kthread+0x367/0x460 [ 14.559895][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.559900][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 14.559905][ T12] ret_from_fork+0x474/0x6b0 [ 14.559912][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 14.559918][ T12] ? __switch_to+0x5a3/0xe00 [ 14.559923][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 14.559928][ T12] ret_from_fork_asm+0x11/0x20 [ 14.559945][ T12]