[ 9.165413][ T188] team0: Port device dummy0 added [ 9.165473][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.165475][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.165476][ T188] preempt_count: 1, expected: 0 [ 9.165477][ T188] RCU nest depth: 0, expected: 0 [ 9.165478][ T188] locks held by ip/188: 5, last CPU#0: [ 9.165481][ T188] #0: ffffffff85322700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.165493][ T188] #1: ffffffff84b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.165498][ T188] #2: ffffffff84b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.165502][ T188] #3: ffffffff84a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.165505][ T188] #4: ffffffff84a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.165508][ T188] irq event stamp: 21336 [ 9.165509][ T188] hardirqs last enabled at (21335): [] __down_trylock_console_sem+0x86/0xa0 [ 9.165513][ T188] hardirqs last disabled at (21336): [] console_emit_next_record+0x3f8/0x4f0 [ 9.165514][ T188] softirqs last enabled at (21230): [] __alloc_skb+0x4c5/0x5f0 [ 9.165518][ T188] softirqs last disabled at (21228): [] __alloc_skb+0x4c5/0x5f0 [ 9.165520][ T188] Preemption disabled at: [ 9.165520][ T188] [] vprintk_emit+0x31b/0x3e0 [ 9.165526][ T188] CPU: 0 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.165529][ T188] Tainted: [W]=WARN [ 9.165530][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.165531][ T188] Call Trace: [ 9.165533][ T188] [ 9.165534][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.165539][ T188] ? vprintk_emit+0x31b/0x3e0 [ 9.165541][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.165546][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.165554][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.165560][ T188] __kmalloc_noprof+0x443/0x760 [ 9.165562][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.165568][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.165571][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.165574][ T188] put_chars+0x1e1/0x2f0 [ 9.165577][ T188] ? __send_to_port+0x420/0x420 [ 9.165581][ T188] ? validate_chain+0x34a/0xc20 [ 9.165586][ T188] hvc_console_print+0x292/0x780 [ 9.165590][ T188] ? __lock_acquire+0x518/0xc20 [ 9.165595][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.165598][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.165604][ T188] console_emit_next_record+0x252/0x4f0 [ 9.165607][ T188] ? devkmsg_read+0x4e0/0x4e0 [ 9.165611][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.165613][ T188] ? lock_acquire+0x13c/0x160 [ 9.165617][ T188] console_flush_one_record+0x46f/0x710 [ 9.165620][ T188] ? console_emit_next_record+0x4f0/0x4f0 [ 9.165622][ T188] ? __lock_acquire+0x518/0xc20 [ 9.165627][ T188] console_unlock+0xee/0x1f0 [ 9.165629][ T188] ? console_flush_one_record+0x710/0x710 [ 9.165631][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.165633][ T188] ? lock_acquire+0x60/0x160 [ 9.165637][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.165638][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.165641][ T188] vprintk_emit+0x37c/0x3e0 [ 9.165644][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.165647][ T188] ? __nlmsg_put+0x144/0x190 [ 9.165652][ T188] _printk+0xc7/0x100 [ 9.165655][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.165660][ T188] ? netdev_name+0x43/0x60 [ 9.165663][ T188] ? __netdev_printk+0x17f/0x1d0 [ 9.165666][ T188] netdev_info+0xe2/0x116 [ 9.165668][ T188] ? netdev_notice+0x120/0x120 [ 9.165672][ T188] ? _mutex_trylock_nest_lock+0x390/0x390 [ 9.165676][ T188] ? team_nl_send_options_get+0x650/0x650 [ 9.165680][ T188] ? lockdep_hardirqs_on+0x91/0x130 [ 9.165684][ T188] team_port_add+0xfc9/0x17b0 [ 9.165689][ T188] ? team_port_enable+0xc0/0xc0 [ 9.165691][ T188] ? is_bpf_text_address+0x72/0x110 [ 9.165697][ T188] do_set_master+0x3b2/0x780 [ 9.165701][ T188] do_setlink.isra.0+0x9ec/0x2a60 [ 9.165705][ T188] ? stack_trace_save+0x93/0xc0 [ 9.165708][ T188] ? rtnl_link_get_size+0x350/0x350 [ 9.165710][ T188] ? rcu_read_lock_any_held+0x66/0x90 [ 9.165713][ T188] ? stack_depot_save_flags+0x38e/0x790 [ 9.165716][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.165719][ T188] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.165721][ T188] ? validate_chain+0x38b/0xc20 [ 9.165723][ T188] ? kasan_save_stack+0x3d/0x50 [ 9.165726][ T188] ? kasan_save_stack+0x2f/0x50 [ 9.165727][ T188] ? kasan_save_track+0x14/0x30 [ 9.165729][ T188] ? __lock_acquire+0x518/0xc20 [ 9.165731][ T188] ? netlink_seq_next+0x5e/0x60 [ 9.165733][ T188] ? ___sys_sendmsg+0xc0/0x1d0 [ 9.165737][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 9.165739][ T188] ? rtnl_newlink+0x9a8/0x11b0 [ 9.165742][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.165744][ T188] ? lock_acquire+0x13c/0x160 [ 9.165746][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.165747][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.165749][ T188] ? trace_contention_end+0xb3/0x180 [ 9.165751][ T188] ? __mutex_lock+0x1db/0x1ea0 [ 9.165752][ T188] ? __mutex_lock+0x9a3/0x1ea0 [ 9.165754][ T188] ? rtnl_newlink+0x9a8/0x11b0 [ 9.165758][ T188] ? ww_mutex_lock+0x160/0x160 [ 9.165760][ T188] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.165766][ T188] ? __rtnl_newlink+0x3fa/0xa50 [ 9.165771][ T188] rtnl_newlink+0x9f1/0x11b0 [ 9.165777][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 9.165779][ T188] ? __lock_acquire+0x518/0xc20 [ 9.165784][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 9.165786][ T188] ? find_held_lock+0x2b/0x80 [ 9.165788][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 9.165791][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.165794][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 9.165797][ T188] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.165800][ T188] ? rtnl_link_fill+0x900/0x900 [ 9.165802][ T188] ? __lock_acquire+0x518/0xc20 [ 9.165807][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 9.165809][ T188] ? find_held_lock+0x2b/0x80 [ 9.165812][ T188] netlink_rcv_skb+0x14e/0x3a0 [ 9.165814][ T188] ? rtnl_link_fill+0x900/0x900 [ 9.165817][ T188] ? netlink_ack+0xcd0/0xcd0 [ 9.165823][ T188] ? netlink_deliver_tap+0xc5/0x330 [ 9.165825][ T188] ? netlink_deliver_tap+0x13c/0x330 [ 9.165829][ T188] netlink_unicast+0x486/0x750 [ 9.165833][ T188] ? netlink_attachskb+0x810/0x810 [ 9.165835][ T188] ? __lock_acquire+0x518/0xc20 [ 9.165839][ T188] netlink_sendmsg+0x735/0xc60 [ 9.165843][ T188] ? netlink_unicast+0x750/0x750 [ 9.165847][ T188] ? __might_fault+0x97/0x140 [ 9.165853][ T188] ____sys_sendmsg+0x415/0x880 [ 9.165855][ T188] ? copy_msghdr_from_user+0x279/0x420 [ 9.165857][ T188] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 9.165858][ T188] ? move_addr_to_kernel+0x40/0x40 [ 9.165865][ T188] ___sys_sendmsg+0x14e/0x1d0 [ 9.165867][ T188] ? copy_msghdr_from_user+0x420/0x420 [ 9.165882][ T188] __sys_sendmsg+0x12c/0x1d0 [ 9.165885][ T188] ? __sys_sendmsg_sock+0x20/0x20 [ 9.165891][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.165894][ T188] do_syscall_64+0xff/0x530 [ 9.165896][ T188] ? exc_page_fault+0xee/0x100 [ 9.165898][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.165901][ T188] RIP: 0033:0x7fd2856ad54e [ 9.165904][ 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 [ 9.165906][ T188] RSP: 002b:00007ffd13cfe2f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.165909][ T188] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fd2856ad54e [ 9.165910][ T188] RDX: 0000000000000000 RSI: 00007ffd13cfe3a0 RDI: 0000000000000005 [ 9.165911][ T188] RBP: 00007ffd13cfe300 R08: 0000000000000000 R09: 0000000000000000 [ 9.165912][ T188] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916302 [ 9.165912][ T188] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd13cfea60 [ 9.165919][ T188] [ 9.208538][ T188] ip (188) used greatest stack depth: 23144 bytes left [ 9.271347][ T192] team0: Port device dummy0 removed [ 9.313195][ T195] team0: Mode changed to "activebackup" [ 9.407412][ T197] team0: Mode changed to "loadbalance" [ 9.473284][ T199] team0: Mode changed to "activebackup" [ 10.285128][ T234] team0: Port device dummy0 added [ 10.285147][ T234] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.285149][ T234] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 234, name: ip [ 10.285151][ T234] preempt_count: 1, expected: 0 [ 10.285152][ T234] RCU nest depth: 0, expected: 0 [ 10.285153][ T234] locks held by ip/234: 5, last CPU#3: [ 10.285155][ T234] #0: ffffffff85322700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 10.285167][ T234] #1: ffffffff84b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.285174][ T234] #2: ffffffff84b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.285177][ T234] #3: ffffffff84a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.285180][ T234] #4: ffffffff84a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.285184][ T234] irq event stamp: 19302 [ 10.285185][ T234] hardirqs last enabled at (19301): [] __down_trylock_console_sem+0x86/0xa0 [ 10.285189][ T234] hardirqs last disabled at (19302): [] console_emit_next_record+0x3f8/0x4f0 [ 10.285190][ T234] softirqs last enabled at (19232): [] __alloc_skb+0x4c5/0x5f0 [ 10.285193][ T234] softirqs last disabled at (19230): [] __alloc_skb+0x4c5/0x5f0 [ 10.285195][ T234] Preemption disabled at: [ 10.285196][ T234] [] vprintk_emit+0x31b/0x3e0 [ 10.285201][ T234] CPU: 3 UID: 0 PID: 234 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.285205][ T234] Tainted: [W]=WARN [ 10.285205][ T234] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.285207][ T234] Call Trace: [ 10.285209][ T234] [ 10.285210][ T234] dump_stack_lvl+0x6f/0xa0 [ 10.285215][ T234] ? vprintk_emit+0x31b/0x3e0 [ 10.285217][ T234] __might_resched.cold+0x1fe/0x2c1 [ 10.285221][ T234] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.285224][ T234] ? __kmalloc_noprof+0xdb/0x760 [ 10.285230][ T234] __kmalloc_noprof+0x443/0x760 [ 10.285232][ T234] ? alloc_buf.isra.0+0x4b/0x260 [ 10.285238][ T234] ? do_raw_spin_unlock+0x59/0x250 [ 10.285240][ T234] alloc_buf.isra.0+0x4b/0x260 [ 10.285244][ T234] put_chars+0x1e1/0x2f0 [ 10.285247][ T234] ? __send_to_port+0x420/0x420 [ 10.285249][ T234] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.285253][ T234] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.285257][ T234] ? validate_chain+0x38b/0xc20 [ 10.285262][ T234] hvc_console_print+0x292/0x780 [ 10.285266][ T234] ? __lock_acquire+0x518/0xc20 [ 10.285271][ T234] ? hvc_write+0x3a0/0x3a0 [ 10.285274][ T234] ? rcu_is_watching+0x16/0xd0 [ 10.285279][ T234] console_emit_next_record+0x252/0x4f0 [ 10.285282][ T234] ? devkmsg_read+0x4e0/0x4e0 [ 10.285286][ T234] ? rcu_is_watching+0x16/0xd0 [ 10.285288][ T234] ? lock_acquire+0x13c/0x160 [ 10.285292][ T234] console_flush_one_record+0x46f/0x710 [ 10.285295][ T234] ? console_emit_next_record+0x4f0/0x4f0 [ 10.285297][ T234] ? __lock_acquire+0x518/0xc20 [ 10.285302][ T234] console_unlock+0xee/0x1f0 [ 10.285304][ T234] ? console_flush_one_record+0x710/0x710 [ 10.285306][ T234] ? rcu_is_watching+0x16/0xd0 [ 10.285307][ T234] ? lock_acquire+0x60/0x160 [ 10.285311][ T234] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.285313][ T234] ? vprintk_emit+0x320/0x3e0 [ 10.285316][ T234] vprintk_emit+0x37c/0x3e0 [ 10.285319][ T234] ? wake_up_klogd_work_func+0x90/0x90 [ 10.285322][ T234] ? __nlmsg_put+0x144/0x190 [ 10.285327][ T234] _printk+0xc7/0x100 [ 10.285330][ T234] ? snapshot_read.cold+0x21/0x21 [ 10.285335][ T234] ? netdev_name+0x43/0x60 [ 10.285337][ T234] ? __netdev_printk+0x17f/0x1d0 [ 10.285341][ T234] netdev_info+0xe2/0x116 [ 10.285343][ T234] ? netdev_notice+0x120/0x120 [ 10.285347][ T234] ? _mutex_trylock_nest_lock+0x390/0x390 [ 10.285351][ T234] ? team_nl_send_options_get+0x650/0x650 [ 10.285355][ T234] ? lockdep_hardirqs_on+0x91/0x130 [ 10.285359][ T234] team_port_add+0xfc9/0x17b0 [ 10.285364][ T234] ? team_port_enable+0xc0/0xc0 [ 10.285366][ T234] ? is_bpf_text_address+0x72/0x110 [ 10.285372][ T234] do_set_master+0x3b2/0x780 [ 10.285376][ T234] do_setlink.isra.0+0x9ec/0x2a60 [ 10.285380][ T234] ? stack_trace_save+0x93/0xc0 [ 10.285383][ T234] ? rtnl_link_get_size+0x350/0x350 [ 10.285385][ T234] ? rcu_read_lock_any_held+0x66/0x90 [ 10.285387][ T234] ? stack_depot_save_flags+0x38e/0x790 [ 10.285390][ T234] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.285392][ T234] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.285394][ T234] ? validate_chain+0x38b/0xc20 [ 10.285397][ T234] ? kasan_save_stack+0x3d/0x50 [ 10.285399][ T234] ? kasan_save_stack+0x2f/0x50 [ 10.285400][ T234] ? kasan_save_track+0x14/0x30 [ 10.285403][ T234] ? __lock_acquire+0x518/0xc20 [ 10.285405][ T234] ? netlink_seq_next+0x5e/0x60 [ 10.285406][ T234] ? ___sys_sendmsg+0xc0/0x1d0 [ 10.285410][ T234] ? lock_acquire.part.0+0xd4/0x280 [ 10.285412][ T234] ? rtnl_newlink+0x9a8/0x11b0 [ 10.285415][ T234] ? rcu_is_watching+0x16/0xd0 [ 10.285417][ T234] ? lock_acquire+0x13c/0x160 [ 10.285419][ T234] ? rcu_is_watching+0x16/0xd0 [ 10.285420][ T234] ? rcu_is_watching+0x16/0xd0 [ 10.285422][ T234] ? trace_contention_end+0xb3/0x180 [ 10.285425][ T234] ? __mutex_lock+0x1db/0x1ea0 [ 10.285426][ T234] ? __mutex_lock+0x9a3/0x1ea0 [ 10.285428][ T234] ? rtnl_newlink+0x9a8/0x11b0 [ 10.285432][ T234] ? ww_mutex_lock+0x160/0x160 [ 10.285433][ T234] ? nla_get_range_signed+0x3d0/0x3d0 [ 10.285439][ T234] ? __rtnl_newlink+0x3fa/0xa50 [ 10.285444][ T234] rtnl_newlink+0x9f1/0x11b0 [ 10.285450][ T234] ? rtnl_bridge_getlink+0x850/0x850 [ 10.285452][ T234] ? __lock_acquire+0x518/0xc20 [ 10.285457][ T234] ? lock_acquire.part.0+0xd4/0x280 [ 10.285459][ T234] ? find_held_lock+0x2b/0x80 [ 10.285461][ T234] ? rtnl_bridge_getlink+0x850/0x850 [ 10.285464][ T234] ? __lock_release.isra.0+0x69/0x1a0 [ 10.285467][ T234] ? rtnl_bridge_getlink+0x850/0x850 [ 10.285470][ T234] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 10.285473][ T234] ? rtnl_link_fill+0x900/0x900 [ 10.285475][ T234] ? __lock_acquire+0x518/0xc20 [ 10.285480][ T234] ? lock_acquire.part.0+0xd4/0x280 [ 10.285482][ T234] ? find_held_lock+0x2b/0x80 [ 10.285485][ T234] netlink_rcv_skb+0x14e/0x3a0 [ 10.285487][ T234] ? rtnl_link_fill+0x900/0x900 [ 10.285490][ T234] ? netlink_ack+0xcd0/0xcd0 [ 10.285496][ T234] ? netlink_deliver_tap+0xc5/0x330 [ 10.285498][ T234] ? netlink_deliver_tap+0x13c/0x330 [ 10.285502][ T234] netlink_unicast+0x486/0x750 [ 10.285506][ T234] ? netlink_attachskb+0x810/0x810 [ 10.285508][ T234] ? __lock_acquire+0x518/0xc20 [ 10.285512][ T234] netlink_sendmsg+0x735/0xc60 [ 10.285516][ T234] ? netlink_unicast+0x750/0x750 [ 10.285520][ T234] ? __might_fault+0x97/0x140 [ 10.285526][ T234] ____sys_sendmsg+0x415/0x880 [ 10.285528][ T234] ? copy_msghdr_from_user+0x279/0x420 [ 10.285530][ T234] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 10.285531][ T234] ? move_addr_to_kernel+0x40/0x40 [ 10.285538][ T234] ___sys_sendmsg+0x14e/0x1d0 [ 10.285540][ T234] ? copy_msghdr_from_user+0x420/0x420 [ 10.285560][ T234] __sys_sendmsg+0x12c/0x1d0 [ 10.285562][ T234] ? __sys_sendmsg_sock+0x20/0x20 [ 10.285568][ T234] ? rcu_is_watching+0x16/0xd0 [ 10.285572][ T234] do_syscall_64+0xff/0x530 [ 10.285573][ T234] ? exc_page_fault+0xee/0x100 [ 10.285576][ T234] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.285578][ T234] RIP: 0033:0x7ff9efbae54e [ 10.285582][ T234] 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.285583][ T234] RSP: 002b:00007ffd720844b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.285586][ T234] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007ff9efbae54e [ 10.285587][ T234] RDX: 0000000000000000 RSI: 00007ffd72084560 RDI: 0000000000000005 [ 10.285588][ T234] RBP: 00007ffd720844c0 R08: 0000000000000000 R09: 0000000000000000 [ 10.285589][ T234] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916303 [ 10.285590][ T234] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd72084c20 [ 10.285596][ T234] [ 10.520246][ T242] team0: Port device dummy0 removed [ 10.558736][ T244] team0: Port device dummy0 added [ 10.760729][ T252] team0: Port device dummy0 removed [ 10.799036][ T254] team0: Port device dummy0 added [ 11.011357][ T262] team0: Port device dummy0 removed [ 11.049560][ T264] team0: Port device dummy0 added [ 11.248688][ T272] team0: Port device dummy0 removed [ 11.288470][ T274] team0: Port device dummy0 added [ 11.288488][ T274] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.288490][ T274] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 274, name: ip [ 11.288492][ T274] preempt_count: 1, expected: 0 [ 11.288493][ T274] RCU nest depth: 0, expected: 0 [ 11.288494][ T274] locks held by ip/274: 5, last CPU#0: [ 11.288496][ T274] #0: ffffffff85322700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.288508][ T274] #1: ffffffff84b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.288514][ T274] #2: ffffffff84b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.288518][ T274] #3: ffffffff84a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.288521][ T274] #4: ffffffff84a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.288524][ T274] irq event stamp: 13424 [ 11.288525][ T274] hardirqs last enabled at (13423): [] __down_trylock_console_sem+0x86/0xa0 [ 11.288528][ T274] hardirqs last disabled at (13424): [] console_emit_next_record+0x3f8/0x4f0 [ 11.288530][ T274] softirqs last enabled at (13354): [] __alloc_skb+0x4c5/0x5f0 [ 11.288533][ T274] softirqs last disabled at (13352): [] __alloc_skb+0x4c5/0x5f0 [ 11.288535][ T274] Preemption disabled at: [ 11.288536][ T274] [] vprintk_emit+0x31b/0x3e0 [ 11.288541][ T274] CPU: 0 UID: 0 PID: 274 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.288545][ T274] Tainted: [W]=WARN [ 11.288546][ T274] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.288547][ T274] Call Trace: [ 11.288549][ T274] [ 11.288551][ T274] dump_stack_lvl+0x6f/0xa0 [ 11.288562][ T274] ? vprintk_emit+0x31b/0x3e0 [ 11.288563][ T274] __might_resched.cold+0x1fe/0x2c1 [ 11.288568][ T274] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.288572][ T274] ? __kmalloc_noprof+0xdb/0x760 [ 11.288577][ T274] __kmalloc_noprof+0x443/0x760 [ 11.288580][ T274] ? alloc_buf.isra.0+0x4b/0x260 [ 11.288586][ T274] ? do_raw_spin_unlock+0x59/0x250 [ 11.288588][ T274] alloc_buf.isra.0+0x4b/0x260 [ 11.288592][ T274] put_chars+0x1e1/0x2f0 [ 11.288595][ T274] ? __send_to_port+0x420/0x420 [ 11.288597][ T274] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.288601][ T274] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.288604][ T274] ? validate_chain+0x38b/0xc20 [ 11.288610][ T274] hvc_console_print+0x292/0x780 [ 11.288613][ T274] ? __lock_acquire+0x518/0xc20 [ 11.288619][ T274] ? hvc_write+0x3a0/0x3a0 [ 11.288622][ T274] ? rcu_is_watching+0x16/0xd0 [ 11.288626][ T274] console_emit_next_record+0x252/0x4f0 [ 11.288630][ T274] ? devkmsg_read+0x4e0/0x4e0 [ 11.288634][ T274] ? rcu_is_watching+0x16/0xd0 [ 11.288636][ T274] ? lock_acquire+0x13c/0x160 [ 11.288640][ T274] console_flush_one_record+0x46f/0x710 [ 11.288643][ T274] ? console_emit_next_record+0x4f0/0x4f0 [ 11.288645][ T274] ? __lock_acquire+0x518/0xc20 [ 11.288650][ T274] console_unlock+0xee/0x1f0 [ 11.288652][ T274] ? console_flush_one_record+0x710/0x710 [ 11.288654][ T274] ? rcu_is_watching+0x16/0xd0 [ 11.288656][ T274] ? lock_acquire+0x60/0x160 [ 11.288660][ T274] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.288661][ T274] ? vprintk_emit+0x320/0x3e0 [ 11.288664][ T274] vprintk_emit+0x37c/0x3e0 [ 11.288668][ T274] ? wake_up_klogd_work_func+0x90/0x90 [ 11.288670][ T274] ? __nlmsg_put+0x144/0x190 [ 11.288675][ T274] _printk+0xc7/0x100 [ 11.288679][ T274] ? snapshot_read.cold+0x21/0x21 [ 11.288683][ T274] ? netdev_name+0x43/0x60 [ 11.288686][ T274] ? __netdev_printk+0x17f/0x1d0 [ 11.288690][ T274] netdev_info+0xe2/0x116 [ 11.288692][ T274] ? netdev_notice+0x120/0x120 [ 11.288696][ T274] ? _mutex_trylock_nest_lock+0x390/0x390 [ 11.288700][ T274] ? team_nl_send_options_get+0x650/0x650 [ 11.288706][ T274] team_port_add+0xfc9/0x17b0 [ 11.288711][ T274] ? team_port_enable+0xc0/0xc0 [ 11.288713][ T274] ? is_bpf_text_address+0x72/0x110 [ 11.288720][ T274] do_set_master+0x3b2/0x780 [ 11.288724][ T274] do_setlink.isra.0+0x9ec/0x2a60 [ 11.288727][ T274] ? stack_trace_save+0x93/0xc0 [ 11.288731][ T274] ? rtnl_link_get_size+0x350/0x350 [ 11.288733][ T274] ? rcu_read_lock_any_held+0x66/0x90 [ 11.288735][ T274] ? stack_depot_save_flags+0x38e/0x790 [ 11.288738][ T274] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.288740][ T274] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.288742][ T274] ? validate_chain+0x38b/0xc20 [ 11.288745][ T274] ? kasan_save_stack+0x3d/0x50 [ 11.288747][ T274] ? kasan_save_stack+0x2f/0x50 [ 11.288748][ T274] ? kasan_save_track+0x14/0x30 [ 11.288750][ T274] ? __lock_acquire+0x518/0xc20 [ 11.288752][ T274] ? netlink_seq_next+0x5e/0x60 [ 11.288754][ T274] ? ___sys_sendmsg+0xc0/0x1d0 [ 11.288758][ T274] ? lock_acquire.part.0+0xd4/0x280 [ 11.288760][ T274] ? rtnl_newlink+0x9a8/0x11b0 [ 11.288763][ T274] ? rcu_is_watching+0x16/0xd0 [ 11.288765][ T274] ? lock_acquire+0x13c/0x160 [ 11.288767][ T274] ? rcu_is_watching+0x16/0xd0 [ 11.288768][ T274] ? rcu_is_watching+0x16/0xd0 [ 11.288770][ T274] ? trace_contention_end+0xb3/0x180 [ 11.288772][ T274] ? __mutex_lock+0x1db/0x1ea0 [ 11.288774][ T274] ? __mutex_lock+0x9a3/0x1ea0 [ 11.288776][ T274] ? rtnl_newlink+0x9a8/0x11b0 [ 11.288780][ T274] ? ww_mutex_lock+0x160/0x160 [ 11.288781][ T274] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.288787][ T274] ? __rtnl_newlink+0x3fa/0xa50 [ 11.288793][ T274] rtnl_newlink+0x9f1/0x11b0 [ 11.288799][ T274] ? rtnl_bridge_getlink+0x850/0x850 [ 11.288801][ T274] ? __lock_acquire+0x518/0xc20 [ 11.288806][ T274] ? lock_acquire.part.0+0xd4/0x280 [ 11.288808][ T274] ? find_held_lock+0x2b/0x80 [ 11.288810][ T274] ? rtnl_bridge_getlink+0x850/0x850 [ 11.288812][ T274] ? __lock_release.isra.0+0x69/0x1a0 [ 11.288816][ T274] ? rtnl_bridge_getlink+0x850/0x850 [ 11.288819][ T274] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.288822][ T274] ? rtnl_link_fill+0x900/0x900 [ 11.288824][ T274] ? __lock_acquire+0x518/0xc20 [ 11.288829][ T274] ? lock_acquire.part.0+0xd4/0x280 [ 11.288831][ T274] ? find_held_lock+0x2b/0x80 [ 11.288834][ T274] netlink_rcv_skb+0x14e/0x3a0 [ 11.288836][ T274] ? rtnl_link_fill+0x900/0x900 [ 11.288840][ T274] ? netlink_ack+0xcd0/0xcd0 [ 11.288846][ T274] ? netlink_deliver_tap+0xc5/0x330 [ 11.288847][ T274] ? netlink_deliver_tap+0x13c/0x330 [ 11.288852][ T274] netlink_unicast+0x486/0x750 [ 11.288855][ T274] ? netlink_attachskb+0x810/0x810 [ 11.288858][ T274] ? __lock_acquire+0x518/0xc20 [ 11.288862][ T274] netlink_sendmsg+0x735/0xc60 [ 11.288866][ T274] ? netlink_unicast+0x750/0x750 [ 11.288870][ T274] ? __might_fault+0x97/0x140 [ 11.288875][ T274] ____sys_sendmsg+0x415/0x880 [ 11.288877][ T274] ? copy_msghdr_from_user+0x279/0x420 [ 11.288879][ T274] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 11.288881][ T274] ? move_addr_to_kernel+0x40/0x40 [ 11.288888][ T274] ___sys_sendmsg+0x14e/0x1d0 [ 11.288890][ T274] ? copy_msghdr_from_user+0x420/0x420 [ 11.288906][ T274] __sys_sendmsg+0x12c/0x1d0 [ 11.288908][ T274] ? __sys_sendmsg_sock+0x20/0x20 [ 11.288914][ T274] ? rcu_is_watching+0x16/0xd0 [ 11.288918][ T274] do_syscall_64+0xff/0x530 [ 11.288920][ T274] ? exc_page_fault+0xee/0x100 [ 11.288923][ T274] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.288925][ T274] RIP: 0033:0x7efc78e8d54e [ 11.288929][ T274] 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.288931][ T274] RSP: 002b:00007ffdd2da0420 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.288933][ T274] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007efc78e8d54e [ 11.288935][ T274] RDX: 0000000000000000 RSI: 00007ffdd2da04d0 RDI: 0000000000000005 [ 11.288936][ T274] RBP: 00007ffdd2da0430 R08: 0000000000000000 R09: 0000000000000000 [ 11.288936][ T274] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a916304 [ 11.288937][ T274] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdd2da0b90 [ 11.288944][ T274] [ 11.531294][ T282] team0: Port device dummy0 removed [ 11.569632][ T284] team0: Port device dummy0 added [ 11.812903][ T292] team0: Port device dummy0 removed [ 11.849942][ T294] team0: Port device dummy0 added [ 12.055538][ T303] team0: Port device dummy0 removed [ 12.139044][ T313] team0: Port device dummy0 added [ 12.983598][ T71] team0 (unregistering): Port device dummy0 removed [ 12.983650][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.983653][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: kworker/u16:1 [ 12.983654][ T71] preempt_count: 1, expected: 0 [ 12.983655][ T71] RCU nest depth: 0, expected: 0 [ 12.983656][ T71] locks held by kworker/u16:1/71: 8, last CPU#3: [ 12.983659][ T71] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 12.983670][ T71] #1: ffa00000004c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 12.983673][ T71] #2: ffffffff85306b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 12.983679][ T71] #3: ffffffff85322700 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 12.983683][ T71] #4: ffffffff84b99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.983688][ T71] #5: ffffffff84b99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.983691][ T71] #6: ffffffff84a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.983697][ T71] #7: ffffffff84a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.983700][ T71] irq event stamp: 13602 [ 12.983701][ T71] hardirqs last enabled at (13601): [] __down_trylock_console_sem+0x86/0xa0 [ 12.983705][ T71] hardirqs last disabled at (13602): [] console_emit_next_record+0x3f8/0x4f0 [ 12.983707][ T71] softirqs last enabled at (13586): [] fib6_run_gc+0x162/0x250 [ 12.983710][ T71] softirqs last disabled at (13580): [] fib6_run_gc+0x1ac/0x250 [ 12.983712][ T71] Preemption disabled at: [ 12.983712][ T71] [] vprintk_emit+0x31b/0x3e0 [ 12.983717][ T71] CPU: 3 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.983721][ T71] Tainted: [W]=WARN [ 12.983722][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.983723][ T71] Workqueue: netns cleanup_net [ 12.983726][ T71] Call Trace: [ 12.983728][ T71] [ 12.983730][ T71] dump_stack_lvl+0x6f/0xa0 [ 12.983735][ T71] ? vprintk_emit+0x31b/0x3e0 [ 12.983737][ T71] __might_resched.cold+0x1fe/0x2c1 [ 12.983742][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.983745][ T71] ? __kmalloc_noprof+0xdb/0x760 [ 12.983751][ T71] __kmalloc_noprof+0x443/0x760 [ 12.983754][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 12.983760][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 12.983762][ T71] alloc_buf.isra.0+0x4b/0x260 [ 12.983766][ T71] put_chars+0x1e1/0x2f0 [ 12.983770][ T71] ? __send_to_port+0x420/0x420 [ 12.983772][ T71] ? check_prev_add+0xef/0xe90 [ 12.983777][ T71] ? validate_chain+0x34a/0xc20 [ 12.983781][ T71] hvc_console_print+0x292/0x780 [ 12.983785][ T71] ? mark_usage+0x61/0x170 [ 12.983787][ T71] ? __lock_acquire+0x518/0xc20 [ 12.983789][ T71] ? __lock_acquire+0x518/0xc20 [ 12.983794][ T71] ? hvc_write+0x3a0/0x3a0 [ 12.983795][ T71] ? lock_acquire.part.0+0xd4/0x280 [ 12.983800][ T71] ? lock_acquire+0x13c/0x160 [ 12.983805][ T71] console_emit_next_record+0x252/0x4f0 [ 12.983808][ T71] ? devkmsg_read+0x4e0/0x4e0 [ 12.983813][ T71] ? rcu_is_watching+0x16/0xd0 [ 12.983816][ T71] ? lock_acquire+0x13c/0x160 [ 12.983821][ T71] console_flush_one_record+0x46f/0x710 [ 12.983825][ T71] ? console_emit_next_record+0x4f0/0x4f0 [ 12.983826][ T71] ? __lock_acquire+0x518/0xc20 [ 12.983832][ T71] console_unlock+0xee/0x1f0 [ 12.983835][ T71] ? console_flush_one_record+0x710/0x710 [ 12.983836][ T71] ? rcu_is_watching+0x16/0xd0 [ 12.983838][ T71] ? lock_acquire+0x60/0x160 [ 12.983843][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.983845][ T71] ? vprintk_emit+0x320/0x3e0 [ 12.983848][ T71] vprintk_emit+0x37c/0x3e0 [ 12.983851][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 12.983853][ T71] ? default_device_exit_batch+0x38b/0x600 [ 12.983855][ T71] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.983857][ T71] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.983859][ T71] ? look_up_lock_class+0x65/0x150 [ 12.983862][ T71] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.983867][ T71] _printk+0xc7/0x100 [ 12.983871][ T71] ? snapshot_read.cold+0x21/0x21 [ 12.983875][ T71] ? __lock_acquire+0x518/0xc20 [ 12.983877][ T71] ? netdev_name+0x43/0x60 [ 12.983881][ T71] ? __netdev_printk+0x17f/0x1d0 [ 12.983884][ T71] netdev_info+0xe2/0x116 [ 12.983887][ T71] ? netdev_notice+0x120/0x120 [ 12.983892][ T71] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 12.983894][ T71] ? lockdep_hardirqs_on+0x91/0x130 [ 12.983895][ T71] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 12.983898][ T71] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 12.983900][ T71] ? kvfree_call_rcu+0x23b/0x2e0 [ 12.983906][ T71] team_port_del+0x61d/0xaa0 [ 12.983912][ T71] team_uninit+0xc4/0x1f0 [ 12.983916][ T71] unregister_netdevice_many_notify+0xee7/0x1b40 [ 12.983921][ T71] ? unregister_netdevice_queued+0x80/0x80 [ 12.983923][ T71] ? mutex_is_locked+0x1c/0x50 [ 12.983925][ T71] ? rtnl_is_locked+0x15/0x20 [ 12.983927][ T71] ? unregister_netdevice_queue+0x6a/0x470 [ 12.983931][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.983936][ T71] default_device_exit_batch+0x38b/0x600 [ 12.983939][ T71] ? generic_xdp_install+0x470/0x470 [ 12.983942][ T71] ? unregister_netdevice_queue+0x470/0x470 [ 12.983945][ T71] ? rtnl_is_locked+0x15/0x20 [ 12.983946][ T71] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 12.983953][ T71] ops_undo_list+0x2ce/0x8f0 [ 12.983957][ T71] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 12.983958][ T71] ? __lock_release.isra.0+0x69/0x1a0 [ 12.983964][ T71] cleanup_net+0x431/0x890 [ 12.983967][ T71] ? net_passive_dec+0x230/0x230 [ 12.983971][ T71] ? lock_acquire+0x13c/0x160 [ 12.983974][ T71] ? rcu_is_watching+0x16/0xd0 [ 12.983978][ T71] process_one_work+0xe3e/0x1560 [ 12.983986][ T71] ? __queue_delayed_work+0x470/0x470 [ 12.983989][ T71] ? lock_acquire.part.0+0xd4/0x280 [ 12.983999][ T71] worker_thread+0x4f1/0xd60 [ 12.984003][ T71] ? rescuer_thread+0x1340/0x1340 [ 12.984005][ T71] ? __kthread_parkme+0xbd/0x210 [ 12.984009][ T71] ? rescuer_thread+0x1340/0x1340 [ 12.984012][ T71] ? rescuer_thread+0x1340/0x1340 [ 12.984014][ T71] kthread+0x367/0x460 [ 12.984016][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.984020][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.984024][ T71] ret_from_fork+0x474/0x6b0 [ 12.984029][ T71] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.984033][ T71] ? __switch_to+0x5a3/0xe00 [ 12.984037][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.984040][ T71] ret_from_fork_asm+0x11/0x20 [ 12.984052][ T71]