[ 9.972210][ T188] team0: Port device dummy0 added [ 9.972264][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.972266][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.972268][ T188] preempt_count: 1, expected: 0 [ 9.972269][ T188] RCU nest depth: 0, expected: 0 [ 9.972270][ T188] locks held by ip/188: 5, last CPU#3: [ 9.972272][ T188] #0: ffffffffb4922700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 9.972284][ T188] #1: ffffffffb4199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.972290][ T188] #2: ffffffffb4199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.972294][ T188] #3: ffffffffb4089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.972297][ T188] #4: ffffffffb4089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.972300][ T188] irq event stamp: 17542 [ 9.972301][ T188] hardirqs last enabled at (17541): [] __down_trylock_console_sem+0x86/0xa0 [ 9.972305][ T188] hardirqs last disabled at (17542): [] console_emit_next_record+0x3f8/0x4f0 [ 9.972306][ T188] softirqs last enabled at (17434): [] __alloc_skb+0x4c5/0x5f0 [ 9.972312][ T188] softirqs last disabled at (17432): [] __alloc_skb+0x4c5/0x5f0 [ 9.972314][ T188] Preemption disabled at: [ 9.972314][ T188] [] vprintk_emit+0x31b/0x3e0 [ 9.972320][ T188] CPU: 3 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.972323][ T188] Tainted: [W]=WARN [ 9.972324][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.972326][ T188] Call Trace: [ 9.972327][ T188] [ 9.972329][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.972334][ T188] ? vprintk_emit+0x31b/0x3e0 [ 9.972335][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.972340][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.972348][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.972353][ T188] __kmalloc_noprof+0x443/0x760 [ 9.972356][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.972362][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.972364][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.972368][ T188] put_chars+0x1e1/0x2f0 [ 9.972371][ T188] ? __send_to_port+0x420/0x420 [ 9.972375][ T188] ? validate_chain+0x34a/0xc20 [ 9.972380][ T188] hvc_console_print+0x292/0x780 [ 9.972383][ T188] ? __lock_acquire+0x518/0xc20 [ 9.972389][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.972392][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.972398][ T188] console_emit_next_record+0x252/0x4f0 [ 9.972401][ T188] ? devkmsg_read+0x4e0/0x4e0 [ 9.972404][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.972406][ T188] ? lock_acquire+0x13c/0x160 [ 9.972410][ T188] console_flush_one_record+0x46f/0x710 [ 9.972414][ T188] ? console_emit_next_record+0x4f0/0x4f0 [ 9.972415][ T188] ? __lock_acquire+0x518/0xc20 [ 9.972420][ T188] console_unlock+0xee/0x1f0 [ 9.972423][ T188] ? console_flush_one_record+0x710/0x710 [ 9.972424][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.972426][ T188] ? lock_acquire+0x60/0x160 [ 9.972430][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.972431][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.972434][ T188] vprintk_emit+0x37c/0x3e0 [ 9.972437][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.972440][ T188] ? __nlmsg_put+0x144/0x190 [ 9.972445][ T188] _printk+0xc7/0x100 [ 9.972448][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.972452][ T188] ? netdev_name+0x43/0x60 [ 9.972455][ T188] ? __netdev_printk+0x17f/0x1d0 [ 9.972458][ T188] netdev_info+0xe2/0x116 [ 9.972460][ T188] ? netdev_notice+0x120/0x120 [ 9.972464][ T188] ? _mutex_trylock_nest_lock+0x390/0x390 [ 9.972468][ T188] ? team_nl_send_options_get+0x650/0x650 [ 9.972472][ T188] ? lockdep_hardirqs_on+0x91/0x130 [ 9.972476][ T188] team_port_add+0xfc9/0x17b0 [ 9.972481][ T188] ? team_port_enable+0xc0/0xc0 [ 9.972483][ T188] ? is_bpf_text_address+0x72/0x110 [ 9.972489][ T188] do_set_master+0x3b2/0x780 [ 9.972493][ T188] do_setlink.isra.0+0x9ec/0x2a60 [ 9.972497][ T188] ? stack_trace_save+0x93/0xc0 [ 9.972500][ T188] ? rtnl_link_get_size+0x350/0x350 [ 9.972502][ T188] ? rcu_read_lock_any_held+0x66/0x90 [ 9.972505][ T188] ? stack_depot_save_flags+0x38e/0x790 [ 9.972508][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.972510][ T188] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.972512][ T188] ? validate_chain+0x38b/0xc20 [ 9.972515][ T188] ? kasan_save_stack+0x3d/0x50 [ 9.972517][ T188] ? kasan_save_stack+0x2f/0x50 [ 9.972518][ T188] ? kasan_save_track+0x14/0x30 [ 9.972521][ T188] ? __lock_acquire+0x518/0xc20 [ 9.972523][ T188] ? netlink_seq_next+0x1e/0x60 [ 9.972524][ T188] ? ___sys_sendmsg+0xc0/0x1d0 [ 9.972528][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 9.972530][ T188] ? rtnl_newlink+0x9a8/0x11b0 [ 9.972533][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.972535][ T188] ? lock_acquire+0x13c/0x160 [ 9.972537][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.972538][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.972540][ T188] ? trace_contention_end+0xb3/0x180 [ 9.972542][ T188] ? __mutex_lock+0x1db/0x1ea0 [ 9.972543][ T188] ? __mutex_lock+0x9a3/0x1ea0 [ 9.972545][ T188] ? rtnl_newlink+0x9a8/0x11b0 [ 9.972549][ T188] ? ww_mutex_lock+0x160/0x160 [ 9.972551][ T188] ? nla_get_range_signed+0x3d0/0x3d0 [ 9.972557][ T188] ? __rtnl_newlink+0x3fa/0xa50 [ 9.972562][ T188] rtnl_newlink+0x9f1/0x11b0 [ 9.972568][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 9.972570][ T188] ? __lock_acquire+0x518/0xc20 [ 9.972574][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 9.972577][ T188] ? find_held_lock+0x2b/0x80 [ 9.972579][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 9.972581][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.972585][ T188] ? rtnl_bridge_getlink+0x850/0x850 [ 9.972587][ T188] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 9.972591][ T188] ? rtnl_link_fill+0x900/0x900 [ 9.972593][ T188] ? __lock_acquire+0x518/0xc20 [ 9.972597][ T188] ? lock_acquire.part.0+0xd4/0x280 [ 9.972599][ T188] ? find_held_lock+0x2b/0x80 [ 9.972603][ T188] netlink_rcv_skb+0x14e/0x3a0 [ 9.972605][ T188] ? rtnl_link_fill+0x900/0x900 [ 9.972608][ T188] ? netlink_ack+0xcd0/0xcd0 [ 9.972614][ T188] ? netlink_deliver_tap+0xc5/0x330 [ 9.972615][ T188] ? netlink_deliver_tap+0x13c/0x330 [ 9.972619][ T188] netlink_unicast+0x486/0x750 [ 9.972623][ T188] ? netlink_attachskb+0x810/0x810 [ 9.972626][ T188] ? __lock_acquire+0x518/0xc20 [ 9.972630][ T188] netlink_sendmsg+0x735/0xc60 [ 9.972634][ T188] ? netlink_unicast+0x750/0x750 [ 9.972637][ T188] ? __might_fault+0x97/0x140 [ 9.972643][ T188] ____sys_sendmsg+0x415/0x880 [ 9.972645][ T188] ? copy_msghdr_from_user+0x279/0x420 [ 9.972647][ T188] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 9.972648][ T188] ? move_addr_to_kernel+0x40/0x40 [ 9.972655][ T188] ___sys_sendmsg+0x14e/0x1d0 [ 9.972658][ T188] ? copy_msghdr_from_user+0x420/0x420 [ 9.972672][ T188] __sys_sendmsg+0x12c/0x1d0 [ 9.972675][ T188] ? __sys_sendmsg_sock+0x20/0x20 [ 9.972681][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.972684][ T188] do_syscall_64+0xff/0x530 [ 9.972685][ T188] ? exc_page_fault+0xee/0x100 [ 9.972688][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.972690][ T188] RIP: 0033:0x7f6d0b74354e [ 9.972694][ 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.972696][ T188] RSP: 002b:00007ffceef95860 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 9.972699][ T188] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f6d0b74354e [ 9.972700][ T188] RDX: 0000000000000000 RSI: 00007ffceef95910 RDI: 0000000000000005 [ 9.972701][ T188] RBP: 00007ffceef95870 R08: 0000000000000000 R09: 0000000000000000 [ 9.972702][ T188] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a918d4a [ 9.972703][ T188] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffceef95fd0 [ 9.972709][ T188] [ 10.022043][ T188] ip (188) used greatest stack depth: 23144 bytes left [ 10.079985][ T192] team0: Port device dummy0 removed [ 10.115796][ T195] team0: Mode changed to "activebackup" [ 10.182853][ T197] team0: Mode changed to "loadbalance" [ 10.251698][ T199] team0: Mode changed to "activebackup" [ 11.132398][ T234] team0: Port device dummy0 added [ 11.132415][ T234] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.132418][ T234] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 234, name: ip [ 11.132419][ T234] preempt_count: 1, expected: 0 [ 11.132420][ T234] RCU nest depth: 0, expected: 0 [ 11.132421][ T234] locks held by ip/234: 5, last CPU#1: [ 11.132424][ T234] #0: ffffffffb4922700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 11.132436][ T234] #1: ffffffffb4199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.132442][ T234] #2: ffffffffb4199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.132445][ T234] #3: ffffffffb4089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.132449][ T234] #4: ffffffffb4089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.132452][ T234] irq event stamp: 24396 [ 11.132453][ T234] hardirqs last enabled at (24395): [] __down_trylock_console_sem+0x86/0xa0 [ 11.132457][ T234] hardirqs last disabled at (24396): [] console_emit_next_record+0x3f8/0x4f0 [ 11.132459][ T234] softirqs last enabled at (24324): [] __alloc_skb+0x4c5/0x5f0 [ 11.132462][ T234] softirqs last disabled at (24322): [] __alloc_skb+0x4c5/0x5f0 [ 11.132464][ T234] Preemption disabled at: [ 11.132465][ T234] [] vprintk_emit+0x31b/0x3e0 [ 11.132470][ T234] CPU: 1 UID: 0 PID: 234 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.132474][ T234] Tainted: [W]=WARN [ 11.132475][ T234] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.132477][ T234] Call Trace: [ 11.132478][ T234] [ 11.132480][ T234] dump_stack_lvl+0x6f/0xa0 [ 11.132485][ T234] ? vprintk_emit+0x31b/0x3e0 [ 11.132487][ T234] __might_resched.cold+0x1fe/0x2c1 [ 11.132491][ T234] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.132495][ T234] ? __kmalloc_noprof+0xdb/0x760 [ 11.132501][ T234] __kmalloc_noprof+0x443/0x760 [ 11.132503][ T234] ? alloc_buf.isra.0+0x4b/0x260 [ 11.132510][ T234] ? do_raw_spin_unlock+0x59/0x250 [ 11.132512][ T234] alloc_buf.isra.0+0x4b/0x260 [ 11.132516][ T234] put_chars+0x1e1/0x2f0 [ 11.132519][ T234] ? __send_to_port+0x420/0x420 [ 11.132521][ T234] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.132525][ T234] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.132528][ T234] ? validate_chain+0x38b/0xc20 [ 11.132534][ T234] hvc_console_print+0x292/0x780 [ 11.132537][ T234] ? __lock_acquire+0x518/0xc20 [ 11.132543][ T234] ? hvc_write+0x3a0/0x3a0 [ 11.132546][ T234] ? rcu_is_watching+0x16/0xd0 [ 11.132551][ T234] console_emit_next_record+0x252/0x4f0 [ 11.132554][ T234] ? devkmsg_read+0x4e0/0x4e0 [ 11.132558][ T234] ? rcu_is_watching+0x16/0xd0 [ 11.132560][ T234] ? lock_acquire+0x13c/0x160 [ 11.132564][ T234] console_flush_one_record+0x46f/0x710 [ 11.132568][ T234] ? console_emit_next_record+0x4f0/0x4f0 [ 11.132569][ T234] ? __lock_acquire+0x518/0xc20 [ 11.132575][ T234] console_unlock+0xee/0x1f0 [ 11.132578][ T234] ? console_flush_one_record+0x710/0x710 [ 11.132579][ T234] ? rcu_is_watching+0x16/0xd0 [ 11.132581][ T234] ? lock_acquire+0x60/0x160 [ 11.132585][ T234] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.132587][ T234] ? vprintk_emit+0x320/0x3e0 [ 11.132590][ T234] vprintk_emit+0x37c/0x3e0 [ 11.132593][ T234] ? wake_up_klogd_work_func+0x90/0x90 [ 11.132596][ T234] ? __nlmsg_put+0x144/0x190 [ 11.132601][ T234] _printk+0xc7/0x100 [ 11.132605][ T234] ? snapshot_read.cold+0x21/0x21 [ 11.132609][ T234] ? netdev_name+0x43/0x60 [ 11.132612][ T234] ? __netdev_printk+0x17f/0x1d0 [ 11.132615][ T234] netdev_info+0xe2/0x116 [ 11.132618][ T234] ? netdev_notice+0x120/0x120 [ 11.132622][ T234] ? _mutex_trylock_nest_lock+0x390/0x390 [ 11.132626][ T234] ? team_nl_send_options_get+0x650/0x650 [ 11.132630][ T234] ? lockdep_hardirqs_on+0x91/0x130 [ 11.132634][ T234] team_port_add+0xfc9/0x17b0 [ 11.132640][ T234] ? team_port_enable+0xc0/0xc0 [ 11.132642][ T234] ? is_bpf_text_address+0x72/0x110 [ 11.132649][ T234] do_set_master+0x3b2/0x780 [ 11.132653][ T234] do_setlink.isra.0+0x9ec/0x2a60 [ 11.132656][ T234] ? stack_trace_save+0x93/0xc0 [ 11.132660][ T234] ? rtnl_link_get_size+0x350/0x350 [ 11.132662][ T234] ? rcu_read_lock_any_held+0x66/0x90 [ 11.132664][ T234] ? stack_depot_save_flags+0x38e/0x790 [ 11.132667][ T234] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.132669][ T234] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.132671][ T234] ? validate_chain+0x38b/0xc20 [ 11.132674][ T234] ? kasan_save_stack+0x3d/0x50 [ 11.132676][ T234] ? kasan_save_stack+0x2f/0x50 [ 11.132678][ T234] ? kasan_save_track+0x14/0x30 [ 11.132680][ T234] ? __lock_acquire+0x518/0xc20 [ 11.132682][ T234] ? netlink_seq_next+0x1e/0x60 [ 11.132684][ T234] ? ___sys_sendmsg+0xc0/0x1d0 [ 11.132688][ T234] ? lock_acquire.part.0+0xd4/0x280 [ 11.132690][ T234] ? rtnl_newlink+0x9a8/0x11b0 [ 11.132693][ T234] ? rcu_is_watching+0x16/0xd0 [ 11.132695][ T234] ? lock_acquire+0x13c/0x160 [ 11.132697][ T234] ? rcu_is_watching+0x16/0xd0 [ 11.132699][ T234] ? rcu_is_watching+0x16/0xd0 [ 11.132701][ T234] ? trace_contention_end+0xb3/0x180 [ 11.132703][ T234] ? __mutex_lock+0x1db/0x1ea0 [ 11.132705][ T234] ? __mutex_lock+0x9a3/0x1ea0 [ 11.132707][ T234] ? rtnl_newlink+0x9a8/0x11b0 [ 11.132711][ T234] ? ww_mutex_lock+0x160/0x160 [ 11.132712][ T234] ? nla_get_range_signed+0x3d0/0x3d0 [ 11.132718][ T234] ? __rtnl_newlink+0x3fa/0xa50 [ 11.132724][ T234] rtnl_newlink+0x9f1/0x11b0 [ 11.132730][ T234] ? rtnl_bridge_getlink+0x850/0x850 [ 11.132732][ T234] ? __lock_acquire+0x518/0xc20 [ 11.132737][ T234] ? lock_acquire.part.0+0xd4/0x280 [ 11.132739][ T234] ? find_held_lock+0x2b/0x80 [ 11.132742][ T234] ? rtnl_bridge_getlink+0x850/0x850 [ 11.132744][ T234] ? __lock_release.isra.0+0x69/0x1a0 [ 11.132748][ T234] ? rtnl_bridge_getlink+0x850/0x850 [ 11.132751][ T234] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 11.132754][ T234] ? rtnl_link_fill+0x900/0x900 [ 11.132756][ T234] ? __lock_acquire+0x518/0xc20 [ 11.132761][ T234] ? lock_acquire.part.0+0xd4/0x280 [ 11.132763][ T234] ? find_held_lock+0x2b/0x80 [ 11.132767][ T234] netlink_rcv_skb+0x14e/0x3a0 [ 11.132769][ T234] ? rtnl_link_fill+0x900/0x900 [ 11.132772][ T234] ? netlink_ack+0xcd0/0xcd0 [ 11.132778][ T234] ? netlink_deliver_tap+0xc5/0x330 [ 11.132780][ T234] ? netlink_deliver_tap+0x13c/0x330 [ 11.132784][ T234] netlink_unicast+0x486/0x750 [ 11.132788][ T234] ? netlink_attachskb+0x810/0x810 [ 11.132791][ T234] ? __lock_acquire+0x518/0xc20 [ 11.132795][ T234] netlink_sendmsg+0x735/0xc60 [ 11.132799][ T234] ? netlink_unicast+0x750/0x750 [ 11.132803][ T234] ? __might_fault+0x97/0x140 [ 11.132809][ T234] ____sys_sendmsg+0x415/0x880 [ 11.132811][ T234] ? copy_msghdr_from_user+0x279/0x420 [ 11.132813][ T234] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 11.132814][ T234] ? move_addr_to_kernel+0x40/0x40 [ 11.132821][ T234] ___sys_sendmsg+0x14e/0x1d0 [ 11.132824][ T234] ? copy_msghdr_from_user+0x420/0x420 [ 11.132839][ T234] __sys_sendmsg+0x12c/0x1d0 [ 11.132842][ T234] ? __sys_sendmsg_sock+0x20/0x20 [ 11.132848][ T234] ? rcu_is_watching+0x16/0xd0 [ 11.132852][ T234] do_syscall_64+0xff/0x530 [ 11.132853][ T234] ? exc_page_fault+0xee/0x100 [ 11.132856][ T234] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.132858][ T234] RIP: 0033:0x7f2cd10db54e [ 11.132862][ 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 [ 11.132864][ T234] RSP: 002b:00007ffdbe196d80 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 11.132867][ T234] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f2cd10db54e [ 11.132869][ T234] RDX: 0000000000000000 RSI: 00007ffdbe196e30 RDI: 0000000000000005 [ 11.132869][ T234] RBP: 00007ffdbe196d90 R08: 0000000000000000 R09: 0000000000000000 [ 11.132870][ T234] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a918d4b [ 11.132871][ T234] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdbe1974f0 [ 11.132878][ T234] [ 11.353525][ T243] team0: Port device dummy0 removed [ 11.392160][ T245] team0: Port device dummy0 added [ 11.605529][ T253] team0: Port device dummy0 removed [ 11.649813][ T255] team0: Port device dummy0 added [ 11.855679][ T264] team0: Port device dummy0 removed [ 11.901796][ T266] team0: Port device dummy0 added [ 12.105609][ T274] team0: Port device dummy0 removed [ 12.152002][ T276] team0: Port device dummy0 added [ 12.152020][ T276] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.152022][ T276] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 276, name: ip [ 12.152024][ T276] preempt_count: 1, expected: 0 [ 12.152024][ T276] RCU nest depth: 0, expected: 0 [ 12.152025][ T276] locks held by ip/276: 5, last CPU#3: [ 12.152027][ T276] #0: ffffffffb4922700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 12.152039][ T276] #1: ffffffffb4199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.152045][ T276] #2: ffffffffb4199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.152049][ T276] #3: ffffffffb4089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.152052][ T276] #4: ffffffffb4089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.152056][ T276] irq event stamp: 20424 [ 12.152056][ T276] hardirqs last enabled at (20423): [] __down_trylock_console_sem+0x86/0xa0 [ 12.152060][ T276] hardirqs last disabled at (20424): [] console_emit_next_record+0x3f8/0x4f0 [ 12.152061][ T276] softirqs last enabled at (20354): [] __alloc_skb+0x4c5/0x5f0 [ 12.152065][ T276] softirqs last disabled at (20352): [] __alloc_skb+0x4c5/0x5f0 [ 12.152067][ T276] Preemption disabled at: [ 12.152067][ T276] [] vprintk_emit+0x31b/0x3e0 [ 12.152073][ T276] CPU: 3 UID: 0 PID: 276 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.152077][ T276] Tainted: [W]=WARN [ 12.152078][ T276] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.152080][ T276] Call Trace: [ 12.152081][ T276] [ 12.152083][ T276] dump_stack_lvl+0x6f/0xa0 [ 12.152088][ T276] ? vprintk_emit+0x31b/0x3e0 [ 12.152089][ T276] __might_resched.cold+0x1fe/0x2c1 [ 12.152094][ T276] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.152098][ T276] ? __kmalloc_noprof+0xdb/0x760 [ 12.152103][ T276] __kmalloc_noprof+0x443/0x760 [ 12.152106][ T276] ? alloc_buf.isra.0+0x4b/0x260 [ 12.152112][ T276] ? do_raw_spin_unlock+0x59/0x250 [ 12.152114][ T276] alloc_buf.isra.0+0x4b/0x260 [ 12.152118][ T276] put_chars+0x1e1/0x2f0 [ 12.152121][ T276] ? __send_to_port+0x420/0x420 [ 12.152123][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.152127][ T276] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.152130][ T276] ? validate_chain+0x38b/0xc20 [ 12.152135][ T276] hvc_console_print+0x292/0x780 [ 12.152139][ T276] ? __lock_acquire+0x518/0xc20 [ 12.152144][ T276] ? hvc_write+0x3a0/0x3a0 [ 12.152147][ T276] ? rcu_is_watching+0x16/0xd0 [ 12.152152][ T276] console_emit_next_record+0x252/0x4f0 [ 12.152155][ T276] ? devkmsg_read+0x4e0/0x4e0 [ 12.152159][ T276] ? rcu_is_watching+0x16/0xd0 [ 12.152161][ T276] ? lock_acquire+0x13c/0x160 [ 12.152165][ T276] console_flush_one_record+0x46f/0x710 [ 12.152169][ T276] ? console_emit_next_record+0x4f0/0x4f0 [ 12.152170][ T276] ? __lock_acquire+0x518/0xc20 [ 12.152175][ T276] console_unlock+0xee/0x1f0 [ 12.152178][ T276] ? console_flush_one_record+0x710/0x710 [ 12.152179][ T276] ? rcu_is_watching+0x16/0xd0 [ 12.152181][ T276] ? lock_acquire+0x60/0x160 [ 12.152185][ T276] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.152187][ T276] ? vprintk_emit+0x320/0x3e0 [ 12.152190][ T276] vprintk_emit+0x37c/0x3e0 [ 12.152193][ T276] ? wake_up_klogd_work_func+0x90/0x90 [ 12.152196][ T276] ? __nlmsg_put+0x144/0x190 [ 12.152201][ T276] _printk+0xc7/0x100 [ 12.152204][ T276] ? snapshot_read.cold+0x21/0x21 [ 12.152208][ T276] ? netdev_name+0x43/0x60 [ 12.152212][ T276] ? __netdev_printk+0x17f/0x1d0 [ 12.152215][ T276] netdev_info+0xe2/0x116 [ 12.152217][ T276] ? netdev_notice+0x120/0x120 [ 12.152221][ T276] ? _mutex_trylock_nest_lock+0x390/0x390 [ 12.152226][ T276] ? team_nl_send_options_get+0x650/0x650 [ 12.152231][ T276] team_port_add+0xfc9/0x17b0 [ 12.152237][ T276] ? team_port_enable+0xc0/0xc0 [ 12.152238][ T276] ? is_bpf_text_address+0x72/0x110 [ 12.152245][ T276] do_set_master+0x3b2/0x780 [ 12.152249][ T276] do_setlink.isra.0+0x9ec/0x2a60 [ 12.152252][ T276] ? stack_trace_save+0x93/0xc0 [ 12.152256][ T276] ? rtnl_link_get_size+0x350/0x350 [ 12.152258][ T276] ? rcu_read_lock_any_held+0x66/0x90 [ 12.152260][ T276] ? stack_depot_save_flags+0x38e/0x790 [ 12.152263][ T276] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.152265][ T276] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.152267][ T276] ? validate_chain+0x38b/0xc20 [ 12.152270][ T276] ? kasan_save_stack+0x3d/0x50 [ 12.152272][ T276] ? kasan_save_stack+0x2f/0x50 [ 12.152273][ T276] ? kasan_save_track+0x14/0x30 [ 12.152275][ T276] ? __lock_acquire+0x518/0xc20 [ 12.152277][ T276] ? netlink_seq_next+0x1e/0x60 [ 12.152279][ T276] ? ___sys_sendmsg+0xc0/0x1d0 [ 12.152283][ T276] ? lock_acquire.part.0+0xd4/0x280 [ 12.152285][ T276] ? rtnl_newlink+0x9a8/0x11b0 [ 12.152288][ T276] ? rcu_is_watching+0x16/0xd0 [ 12.152290][ T276] ? lock_acquire+0x13c/0x160 [ 12.152292][ T276] ? rcu_is_watching+0x16/0xd0 [ 12.152293][ T276] ? rcu_is_watching+0x16/0xd0 [ 12.152295][ T276] ? trace_contention_end+0xb3/0x180 [ 12.152298][ T276] ? __mutex_lock+0x1db/0x1ea0 [ 12.152299][ T276] ? __mutex_lock+0x9a3/0x1ea0 [ 12.152301][ T276] ? rtnl_newlink+0x9a8/0x11b0 [ 12.152305][ T276] ? ww_mutex_lock+0x160/0x160 [ 12.152306][ T276] ? nla_get_range_signed+0x3d0/0x3d0 [ 12.152314][ T276] ? __rtnl_newlink+0x3fa/0xa50 [ 12.152320][ T276] rtnl_newlink+0x9f1/0x11b0 [ 12.152325][ T276] ? rtnl_bridge_getlink+0x850/0x850 [ 12.152328][ T276] ? __lock_acquire+0x518/0xc20 [ 12.152332][ T276] ? lock_acquire.part.0+0xd4/0x280 [ 12.152335][ T276] ? find_held_lock+0x2b/0x80 [ 12.152337][ T276] ? rtnl_bridge_getlink+0x850/0x850 [ 12.152339][ T276] ? __lock_release.isra.0+0x69/0x1a0 [ 12.152343][ T276] ? rtnl_bridge_getlink+0x850/0x850 [ 12.152346][ T276] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.152353][ T276] ? rtnl_link_fill+0x900/0x900 [ 12.152355][ T276] ? __lock_acquire+0x518/0xc20 [ 12.152360][ T276] ? lock_acquire.part.0+0xd4/0x280 [ 12.152362][ T276] ? find_held_lock+0x2b/0x80 [ 12.152366][ T276] netlink_rcv_skb+0x14e/0x3a0 [ 12.152367][ T276] ? rtnl_link_fill+0x900/0x900 [ 12.152371][ T276] ? netlink_ack+0xcd0/0xcd0 [ 12.152377][ T276] ? netlink_deliver_tap+0xc5/0x330 [ 12.152378][ T276] ? netlink_deliver_tap+0x13c/0x330 [ 12.152383][ T276] netlink_unicast+0x486/0x750 [ 12.152386][ T276] ? netlink_attachskb+0x810/0x810 [ 12.152389][ T276] ? __lock_acquire+0x518/0xc20 [ 12.152393][ T276] netlink_sendmsg+0x735/0xc60 [ 12.152397][ T276] ? netlink_unicast+0x750/0x750 [ 12.152401][ T276] ? __might_fault+0x97/0x140 [ 12.152407][ T276] ____sys_sendmsg+0x415/0x880 [ 12.152409][ T276] ? copy_msghdr_from_user+0x279/0x420 [ 12.152411][ T276] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 12.152412][ T276] ? move_addr_to_kernel+0x40/0x40 [ 12.152419][ T276] ___sys_sendmsg+0x14e/0x1d0 [ 12.152421][ T276] ? copy_msghdr_from_user+0x420/0x420 [ 12.152436][ T276] __sys_sendmsg+0x12c/0x1d0 [ 12.152439][ T276] ? __sys_sendmsg_sock+0x20/0x20 [ 12.152445][ T276] ? rcu_is_watching+0x16/0xd0 [ 12.152448][ T276] do_syscall_64+0xff/0x530 [ 12.152450][ T276] ? exc_page_fault+0xee/0x100 [ 12.152453][ T276] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.152456][ T276] RIP: 0033:0x7fc7ade7f54e [ 12.152459][ T276] 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.152462][ T276] RSP: 002b:00007ffdcb3dd310 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 12.152464][ T276] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fc7ade7f54e [ 12.152465][ T276] RDX: 0000000000000000 RSI: 00007ffdcb3dd3c0 RDI: 0000000000000005 [ 12.152466][ T276] RBP: 00007ffdcb3dd320 R08: 0000000000000000 R09: 0000000000000000 [ 12.152467][ T276] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a918d4c [ 12.152468][ T276] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffdcb3dda80 [ 12.152474][ T276] [ 12.388698][ T284] team0: Port device dummy0 removed [ 12.425555][ T286] team0: Port device dummy0 added [ 12.611271][ T294] team0: Port device dummy0 removed [ 12.648211][ T296] team0: Port device dummy0 added [ 12.851054][ T304] team0: Port device dummy0 removed [ 12.922913][ T314] team0: Port device dummy0 added [ 13.811488][ T70] team0 (unregistering): Port device dummy0 removed [ 13.811537][ T70] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.811539][ T70] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 70, name: kworker/u16:1 [ 13.811541][ T70] preempt_count: 1, expected: 0 [ 13.811542][ T70] RCU nest depth: 0, expected: 0 [ 13.811543][ T70] locks held by kworker/u16:1/70: 8, last CPU#2: [ 13.811545][ T70] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 13.811557][ T70] #1: ffa00000004b7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 13.811560][ T70] #2: ffffffffb4906b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 13.811565][ T70] #3: ffffffffb4922700 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 13.811570][ T70] #4: ffffffffb4199cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.811575][ T70] #5: ffffffffb4199d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.811578][ T70] #6: ffffffffb4089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.811581][ T70] #7: ffffffffb4089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 13.811584][ T70] irq event stamp: 14244 [ 13.811585][ T70] hardirqs last enabled at (14243): [] __down_trylock_console_sem+0x86/0xa0 [ 13.811588][ T70] hardirqs last disabled at (14244): [] console_emit_next_record+0x3f8/0x4f0 [ 13.811590][ T70] softirqs last enabled at (14228): [] fib6_run_gc+0x162/0x250 [ 13.811593][ T70] softirqs last disabled at (14222): [] fib6_run_gc+0x1ac/0x250 [ 13.811595][ T70] Preemption disabled at: [ 13.811596][ T70] [] vprintk_emit+0x31b/0x3e0 [ 13.811601][ T70] CPU: 2 UID: 0 PID: 70 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.811605][ T70] Tainted: [W]=WARN [ 13.811606][ T70] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.811607][ T70] Workqueue: netns cleanup_net [ 13.811610][ T70] Call Trace: [ 13.811612][ T70] [ 13.811614][ T70] dump_stack_lvl+0x6f/0xa0 [ 13.811619][ T70] ? vprintk_emit+0x31b/0x3e0 [ 13.811621][ T70] __might_resched.cold+0x1fe/0x2c1 [ 13.811626][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.811629][ T70] ? __kmalloc_noprof+0xdb/0x760 [ 13.811635][ T70] __kmalloc_noprof+0x443/0x760 [ 13.811638][ T70] ? alloc_buf.isra.0+0x4b/0x260 [ 13.811644][ T70] ? do_raw_spin_unlock+0x59/0x250 [ 13.811646][ T70] alloc_buf.isra.0+0x4b/0x260 [ 13.811651][ T70] put_chars+0x1e1/0x2f0 [ 13.811654][ T70] ? __send_to_port+0x420/0x420 [ 13.811656][ T70] ? check_prev_add+0xef/0xe90 [ 13.811661][ T70] ? validate_chain+0x34a/0xc20 [ 13.811665][ T70] hvc_console_print+0x292/0x780 [ 13.811669][ T70] ? mark_usage+0x61/0x170 [ 13.811671][ T70] ? __lock_acquire+0x518/0xc20 [ 13.811673][ T70] ? __lock_acquire+0x518/0xc20 [ 13.811678][ T70] ? hvc_write+0x3a0/0x3a0 [ 13.811679][ T70] ? lock_acquire.part.0+0xd4/0x280 [ 13.811684][ T70] ? lock_acquire+0x13c/0x160 [ 13.811689][ T70] console_emit_next_record+0x252/0x4f0 [ 13.811692][ T70] ? devkmsg_read+0x4e0/0x4e0 [ 13.811697][ T70] ? rcu_is_watching+0x16/0xd0 [ 13.811700][ T70] ? lock_acquire+0x13c/0x160 [ 13.811704][ T70] console_flush_one_record+0x46f/0x710 [ 13.811708][ T70] ? console_emit_next_record+0x4f0/0x4f0 [ 13.811710][ T70] ? __lock_acquire+0x518/0xc20 [ 13.811716][ T70] console_unlock+0xee/0x1f0 [ 13.811719][ T70] ? console_flush_one_record+0x710/0x710 [ 13.811720][ T70] ? rcu_is_watching+0x16/0xd0 [ 13.811722][ T70] ? lock_acquire+0x60/0x160 [ 13.811726][ T70] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.811728][ T70] ? vprintk_emit+0x320/0x3e0 [ 13.811731][ T70] vprintk_emit+0x37c/0x3e0 [ 13.811735][ T70] ? wake_up_klogd_work_func+0x90/0x90 [ 13.811736][ T70] ? default_device_exit_batch+0x38b/0x600 [ 13.811738][ T70] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.811741][ T70] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.811742][ T70] ? look_up_lock_class+0x65/0x150 [ 13.811746][ T70] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.811751][ T70] _printk+0xc7/0x100 [ 13.811755][ T70] ? snapshot_read.cold+0x21/0x21 [ 13.811758][ T70] ? __lock_acquire+0x518/0xc20 [ 13.811761][ T70] ? netdev_name+0x43/0x60 [ 13.811764][ T70] ? __netdev_printk+0x17f/0x1d0 [ 13.811768][ T70] netdev_info+0xe2/0x116 [ 13.811770][ T70] ? netdev_notice+0x120/0x120 [ 13.811775][ T70] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 13.811777][ T70] ? lockdep_hardirqs_on+0x91/0x130 [ 13.811779][ T70] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 13.811782][ T70] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 13.811784][ T70] ? kvfree_call_rcu+0x23b/0x2e0 [ 13.811789][ T70] team_port_del+0x61d/0xaa0 [ 13.811796][ T70] team_uninit+0xc4/0x1f0 [ 13.811800][ T70] unregister_netdevice_many_notify+0xee7/0x1b40 [ 13.811808][ T70] ? unregister_netdevice_queued+0x80/0x80 [ 13.811809][ T70] ? mutex_is_locked+0x1c/0x50 [ 13.811811][ T70] ? rtnl_is_locked+0x15/0x20 [ 13.811814][ T70] ? unregister_netdevice_queue+0x6a/0x470 [ 13.811818][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.811822][ T70] default_device_exit_batch+0x38b/0x600 [ 13.811825][ T70] ? generic_xdp_install+0x470/0x470 [ 13.811828][ T70] ? unregister_netdevice_queue+0x470/0x470 [ 13.811831][ T70] ? rtnl_is_locked+0x15/0x20 [ 13.811832][ T70] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 13.811839][ T70] ops_undo_list+0x2ce/0x8f0 [ 13.811843][ T70] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 13.811844][ T70] ? __lock_release.isra.0+0x69/0x1a0 [ 13.811850][ T70] cleanup_net+0x431/0x890 [ 13.811853][ T70] ? net_passive_dec+0x230/0x230 [ 13.811857][ T70] ? lock_acquire+0x13c/0x160 [ 13.811859][ T70] ? rcu_is_watching+0x16/0xd0 [ 13.811863][ T70] process_one_work+0xe3e/0x1560 [ 13.811869][ T70] ? __queue_delayed_work+0x470/0x470 [ 13.811872][ T70] ? lock_acquire.part.0+0xd4/0x280 [ 13.811880][ T70] worker_thread+0x4f1/0xd60 [ 13.811884][ T70] ? rescuer_thread+0x1340/0x1340 [ 13.811885][ T70] ? __kthread_parkme+0xbd/0x210 [ 13.811889][ T70] ? rescuer_thread+0x1340/0x1340 [ 13.811891][ T70] ? rescuer_thread+0x1340/0x1340 [ 13.811893][ T70] kthread+0x367/0x460 [ 13.811895][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.811899][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 13.811902][ T70] ret_from_fork+0x474/0x6b0 [ 13.811907][ T70] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 13.811910][ T70] ? __switch_to+0x5a3/0xe00 [ 13.811914][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 13.811917][ T70] ret_from_fork_asm+0x11/0x20 [ 13.811926][ T70]