[ 10.648012][ T214] test_team2: Mode changed to "roundrobin" [ 10.648090][ T214] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.648093][ T214] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 214, name: teamnl [ 10.648095][ T214] preempt_count: 1, expected: 0 [ 10.648096][ T214] RCU nest depth: 0, expected: 0 [ 10.648097][ T214] locks held by teamnl/214: 7, last CPU#2: [ 10.648099][ T214] #0: ffffffffb1f87708 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 10.648111][ T214] #1: ffffffffb1f877c0 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x128/0x160 [ 10.648116][ T214] #2: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: team_nl_options_set_doit+0xa7/0xd00 [ 10.648121][ T214] #3: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.648127][ T214] #4: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.648130][ T214] #5: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.648133][ T214] #6: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.648137][ T214] irq event stamp: 52700 [ 10.648138][ T214] hardirqs last enabled at (52699): [] __down_trylock_console_sem+0x86/0xa0 [ 10.648142][ T214] hardirqs last disabled at (52700): [] console_emit_next_record+0x3f8/0x4f0 [ 10.648144][ T214] softirqs last enabled at (52676): [] __alloc_skb+0x4c5/0x5f0 [ 10.648147][ T214] softirqs last disabled at (52674): [] __alloc_skb+0x4c5/0x5f0 [ 10.648150][ T214] Preemption disabled at: [ 10.648150][ T214] [] vprintk_emit+0x31b/0x3e0 [ 10.648156][ T214] CPU: 2 UID: 0 PID: 214 Comm: teamnl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.648160][ T214] Tainted: [W]=WARN [ 10.648161][ T214] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.648163][ T214] Call Trace: [ 10.648165][ T214] [ 10.648166][ T214] dump_stack_lvl+0x6f/0xa0 [ 10.648172][ T214] ? vprintk_emit+0x31b/0x3e0 [ 10.648173][ T214] __might_resched.cold+0x1fe/0x2c1 [ 10.648178][ T214] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.648182][ T214] ? __kmalloc_noprof+0xdb/0x760 [ 10.648188][ T214] __kmalloc_noprof+0x443/0x760 [ 10.648191][ T214] ? alloc_buf.isra.0+0x4b/0x260 [ 10.648198][ T214] ? do_raw_spin_unlock+0x59/0x250 [ 10.648200][ T214] alloc_buf.isra.0+0x4b/0x260 [ 10.648204][ T214] put_chars+0x1e1/0x2f0 [ 10.648208][ T214] ? __send_to_port+0x420/0x420 [ 10.648212][ T214] ? validate_chain+0x34a/0xc20 [ 10.648218][ T214] hvc_console_print+0x292/0x780 [ 10.648222][ T214] ? __lock_acquire+0x518/0xc20 [ 10.648227][ T214] ? hvc_write+0x3a0/0x3a0 [ 10.648231][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.648237][ T214] console_emit_next_record+0x252/0x4f0 [ 10.648240][ T214] ? devkmsg_read+0x4e0/0x4e0 [ 10.648245][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.648247][ T214] ? lock_acquire+0x13c/0x160 [ 10.648251][ T214] console_flush_one_record+0x46f/0x710 [ 10.648255][ T214] ? console_emit_next_record+0x4f0/0x4f0 [ 10.648256][ T214] ? __lock_acquire+0x518/0xc20 [ 10.648262][ T214] console_unlock+0xee/0x1f0 [ 10.648265][ T214] ? console_flush_one_record+0x710/0x710 [ 10.648266][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.648268][ T214] ? lock_acquire+0x60/0x160 [ 10.648272][ T214] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.648274][ T214] ? vprintk_emit+0x320/0x3e0 [ 10.648277][ T214] vprintk_emit+0x37c/0x3e0 [ 10.648281][ T214] ? wake_up_klogd_work_func+0x90/0x90 [ 10.648283][ T214] ? save_trace+0x68/0x280 [ 10.648286][ T214] ? add_lock_to_list+0x2c/0x1a0 [ 10.648290][ T214] _printk+0xc7/0x100 [ 10.648293][ T214] ? snapshot_read.cold+0x21/0x21 [ 10.648296][ T214] ? validate_chain+0x34a/0xc20 [ 10.648299][ T214] ? netdev_name+0x43/0x60 [ 10.648302][ T214] ? __netdev_printk+0x17f/0x1d0 [ 10.648306][ T214] netdev_info+0xe2/0x116 [ 10.648309][ T214] ? netdev_notice+0x120/0x120 [ 10.648311][ T214] ? lock_acquire.part.0+0xd4/0x280 [ 10.648315][ T214] ? __lock_release.isra.0+0x69/0x1a0 [ 10.648317][ T214] ? __rwlock_init+0x150/0x150 [ 10.648321][ T214] ? do_raw_spin_unlock+0x59/0x250 [ 10.648323][ T214] team_mode_option_set.cold+0x45/0xe3 [ 10.648328][ T214] team_nl_options_set_doit+0x59d/0xd00 [ 10.648334][ T214] ? team_nl_options_get_doit+0x3e0/0x3e0 [ 10.648337][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.648344][ T214] ? __nla_parse+0x22/0x30 [ 10.648349][ T214] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 10.648353][ T214] ? genl_family_rcv_msg_doit+0x206/0x300 [ 10.648355][ T214] genl_family_rcv_msg_doit+0x206/0x300 [ 10.648358][ T214] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 10.648365][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.648367][ T214] ? cap_capable+0x1d7/0x3d0 [ 10.648370][ T214] ? write_profile+0xf0/0xf0 [ 10.648373][ T214] ? unwind_get_return_address+0x67/0xd0 [ 10.648379][ T214] genl_family_rcv_msg+0x3a4/0x640 [ 10.648382][ T214] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 10.648385][ T214] ? team_nl_options_get_doit+0x3e0/0x3e0 [ 10.648388][ T214] ? __lock_acquire+0x518/0xc20 [ 10.648394][ T214] genl_rcv_msg+0xbb/0x160 [ 10.648397][ T214] netlink_rcv_skb+0x14e/0x3a0 [ 10.648399][ T214] ? genl_family_rcv_msg+0x640/0x640 [ 10.648403][ T214] ? netlink_ack+0xcd0/0xcd0 [ 10.648410][ T214] ? netlink_deliver_tap+0xc5/0x330 [ 10.648412][ T214] ? netlink_deliver_tap+0x13c/0x330 [ 10.648416][ T214] genl_rcv+0x28/0x40 [ 10.648418][ T214] netlink_unicast+0x486/0x750 [ 10.648422][ T214] ? netlink_attachskb+0x810/0x810 [ 10.648425][ T214] ? __lock_acquire+0x518/0xc20 [ 10.648430][ T214] netlink_sendmsg+0x735/0xc60 [ 10.648434][ T214] ? netlink_unicast+0x750/0x750 [ 10.648438][ T214] ? __might_fault+0x97/0x140 [ 10.648445][ T214] ____sys_sendmsg+0x415/0x880 [ 10.648447][ T214] ? copy_msghdr_from_user+0x279/0x420 [ 10.648449][ T214] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 10.648451][ T214] ? move_addr_to_kernel+0x40/0x40 [ 10.648455][ T214] ? do_fault_around+0x300/0x5a0 [ 10.648458][ T214] ? find_held_lock+0x2b/0x80 [ 10.648462][ T214] ___sys_sendmsg+0x14e/0x1d0 [ 10.648464][ T214] ? do_pte_missing+0x86f/0xcc0 [ 10.648466][ T214] ? copy_msghdr_from_user+0x420/0x420 [ 10.648469][ T214] ? rcu_read_unlock+0x20/0x70 [ 10.648485][ T214] __sys_sendmsg+0x12c/0x1d0 [ 10.648488][ T214] ? __sys_sendmsg_sock+0x20/0x20 [ 10.648494][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.648496][ T214] ? rcu_is_watching+0x16/0xd0 [ 10.648499][ T214] do_syscall_64+0xff/0x530 [ 10.648502][ T214] ? exc_page_fault+0xee/0x100 [ 10.648505][ T214] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.648507][ T214] RIP: 0033:0x7f12fc44d54e [ 10.648511][ T214] 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.648513][ T214] RSP: 002b:00007ffcc5c73e60 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.648516][ T214] RAX: ffffffffffffffda RBX: 0000563844b999d0 RCX: 00007f12fc44d54e [ 10.648517][ T214] RDX: 0000000000000000 RSI: 00007ffcc5c73f00 RDI: 0000000000000006 [ 10.648518][ T214] RBP: 00007ffcc5c73e70 R08: 0000000000000000 R09: 0000000000000000 [ 10.648519][ T214] R10: 0000000000000000 R11: 0000000000000202 R12: 0000563844b99de0 [ 10.648520][ T214] R13: 00007ffcc5c73f00 R14: 0000563844b998e0 R15: 0000000000000000 [ 10.648527][ T214] [ 10.711964][ T214] teamnl (214) used greatest stack depth: 23912 bytes left [ 10.750099][ T215] test_team2: Port device eth0 added [ 11.017147][ T223] test_team1: Mode changed to "broadcast" [ 11.048661][ T224] test_team1: Port device eth0 added [ 11.792800][ T231] eth0: entered promiscuous mode [ 11.792819][ T231] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.792821][ T231] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 231, name: tcpdump [ 11.792823][ T231] preempt_count: 1, expected: 0 [ 11.792823][ T231] RCU nest depth: 0, expected: 0 [ 11.792824][ T231] locks held by tcpdump/231: 5, last CPU#2: [ 11.792827][ T231] #0: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 11.792839][ T231] #1: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.792845][ T231] #2: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.792848][ T231] #3: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.792851][ T231] #4: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.792854][ T231] irq event stamp: 49260 [ 11.792855][ T231] hardirqs last enabled at (49259): [] __down_trylock_console_sem+0x86/0xa0 [ 11.792858][ T231] hardirqs last disabled at (49260): [] console_emit_next_record+0x3f8/0x4f0 [ 11.792860][ T231] softirqs last enabled at (49232): [] packet_do_bind+0x4b2/0xc80 [ 11.792862][ T231] softirqs last disabled at (49230): [] release_sock+0x21/0x240 [ 11.792867][ T231] Preemption disabled at: [ 11.792867][ T231] [] vprintk_emit+0x31b/0x3e0 [ 11.792873][ T231] CPU: 2 UID: 0 PID: 231 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.792876][ T231] Tainted: [W]=WARN [ 11.792877][ T231] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.792879][ T231] Call Trace: [ 11.792881][ T231] [ 11.792882][ T231] dump_stack_lvl+0x6f/0xa0 [ 11.792887][ T231] ? vprintk_emit+0x31b/0x3e0 [ 11.792889][ T231] __might_resched.cold+0x1fe/0x2c1 [ 11.792894][ T231] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.792897][ T231] ? __kmalloc_noprof+0xdb/0x760 [ 11.792903][ T231] __kmalloc_noprof+0x443/0x760 [ 11.792905][ T231] ? alloc_buf.isra.0+0x4b/0x260 [ 11.792911][ T231] ? do_raw_spin_unlock+0x59/0x250 [ 11.792913][ T231] alloc_buf.isra.0+0x4b/0x260 [ 11.792917][ T231] put_chars+0x1e1/0x2f0 [ 11.792920][ T231] ? __send_to_port+0x420/0x420 [ 11.792922][ T231] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.792926][ T231] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.792929][ T231] ? validate_chain+0x38b/0xc20 [ 11.792934][ T231] hvc_console_print+0x292/0x780 [ 11.792937][ T231] ? __lock_acquire+0x518/0xc20 [ 11.792943][ T231] ? hvc_write+0x3a0/0x3a0 [ 11.792946][ T231] ? rcu_is_watching+0x16/0xd0 [ 11.792950][ T231] console_emit_next_record+0x252/0x4f0 [ 11.792954][ T231] ? devkmsg_read+0x4e0/0x4e0 [ 11.792958][ T231] ? rcu_is_watching+0x16/0xd0 [ 11.792960][ T231] ? lock_acquire+0x13c/0x160 [ 11.792964][ T231] console_flush_one_record+0x46f/0x710 [ 11.792968][ T231] ? console_emit_next_record+0x4f0/0x4f0 [ 11.792969][ T231] ? __lock_acquire+0x518/0xc20 [ 11.792975][ T231] console_unlock+0xee/0x1f0 [ 11.792977][ T231] ? console_flush_one_record+0x710/0x710 [ 11.792978][ T231] ? rcu_is_watching+0x16/0xd0 [ 11.792980][ T231] ? lock_acquire+0x60/0x160 [ 11.792984][ T231] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.792986][ T231] ? vprintk_emit+0x320/0x3e0 [ 11.792989][ T231] vprintk_emit+0x37c/0x3e0 [ 11.792992][ T231] ? wake_up_klogd_work_func+0x90/0x90 [ 11.792994][ T231] ? kasan_save_stack+0x3d/0x50 [ 11.792996][ T231] ? kasan_save_track+0x14/0x30 [ 11.792998][ T231] ? __kasan_kmalloc+0x7b/0x90 [ 11.792999][ T231] ? __kmalloc_cache_noprof+0x29a/0x620 [ 11.793001][ T231] ? packet_mc_add+0x13b/0x890 [ 11.793002][ T231] ? packet_setsockopt+0x1953/0x21e0 [ 11.793004][ T231] ? do_sock_setsockopt+0x115/0x490 [ 11.793008][ T231] _printk+0xc7/0x100 [ 11.793011][ T231] ? snapshot_read.cold+0x21/0x21 [ 11.793015][ T231] ? netdev_name+0x43/0x60 [ 11.793018][ T231] ? __netdev_printk+0x17f/0x1d0 [ 11.793022][ T231] netdev_info+0xe2/0x116 [ 11.793024][ T231] ? netdev_notice+0x120/0x120 [ 11.793031][ T231] ? mutex_is_locked+0x1c/0x50 [ 11.793033][ T231] __dev_set_promiscuity.cold+0x7a/0x104 [ 11.793040][ T231] netif_set_promiscuity+0x4c/0xc0 [ 11.793045][ T231] dev_set_promiscuity+0xa1/0x230 [ 11.793047][ T231] ? __asan_memset+0x27/0x50 [ 11.793050][ T231] packet_mc_add+0x54e/0x890 [ 11.793053][ T231] ? __might_fault+0x97/0x140 [ 11.793057][ T231] ? __might_fault+0x97/0x140 [ 11.793059][ T231] ? _copy_from_user+0x42/0x90 [ 11.793064][ T231] packet_setsockopt+0x1953/0x21e0 [ 11.793067][ T231] ? packet_bind+0x170/0x170 [ 11.793071][ T231] ? do_sock_getsockopt+0x6f6/0xb20 [ 11.793076][ T231] ? sock_poll+0x6b0/0x6b0 [ 11.793079][ T231] ? rcu_is_watching+0x16/0xd0 [ 11.793081][ T231] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.793085][ T231] ? __local_bh_enable_ip+0xaa/0x150 [ 11.793089][ T231] do_sock_setsockopt+0x115/0x490 [ 11.793092][ T231] ? put_user_ifreq+0x90/0x90 [ 11.793093][ T231] ? rcu_is_watching+0x16/0xd0 [ 11.793099][ T231] __sys_setsockopt+0xe4/0x150 [ 11.793104][ T231] __x64_sys_setsockopt+0xbd/0x180 [ 11.793105][ T231] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.793107][ T231] ? lockdep_hardirqs_on+0x91/0x130 [ 11.793110][ T231] ? do_syscall_64+0xa6/0x530 [ 11.793112][ T231] do_syscall_64+0xff/0x530 [ 11.793113][ T231] ? exc_page_fault+0xee/0x100 [ 11.793116][ T231] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.793118][ T231] RIP: 0033:0x7fd918f332de [ 11.793122][ T231] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 11.793124][ T231] RSP: 002b:00007ffdbd0744b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 11.793126][ T231] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fd918f332de [ 11.793128][ T231] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 11.793129][ T231] RBP: 00007ffdbd0745f0 R08: 0000000000000010 R09: 0000558076d6a530 [ 11.793129][ T231] R10: 00007ffdbd074530 R11: 0000000000000246 R12: 0000000000000001 [ 11.793130][ T231] R13: 0000558076d6a918 R14: 0000558076d6a690 R15: 0000000000000000 [ 11.793136][ T231] [ 14.185954][ T231] eth0: left promiscuous mode [ 14.186069][ T231] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.186071][ T231] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 231, name: tcpdump [ 14.186073][ T231] preempt_count: 1, expected: 0 [ 14.186074][ T231] RCU nest depth: 0, expected: 0 [ 14.186075][ T231] locks held by tcpdump/231: 6, last CPU#3: [ 14.186077][ T231] #0: ff1100000d3059f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 14.186089][ T231] #1: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 14.186095][ T231] #2: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.186101][ T231] #3: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.186104][ T231] #4: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.186107][ T231] #5: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.186110][ T231] irq event stamp: 71078 [ 14.186111][ T231] hardirqs last enabled at (71077): [] __down_trylock_console_sem+0x86/0xa0 [ 14.186115][ T231] hardirqs last disabled at (71078): [] console_emit_next_record+0x3f8/0x4f0 [ 14.186116][ T231] softirqs last enabled at (70916): [] packet_setsockopt+0xcdf/0x21e0 [ 14.186118][ T231] softirqs last disabled at (70914): [] release_sock+0x21/0x240 [ 14.186122][ T231] Preemption disabled at: [ 14.186122][ T231] [] vprintk_emit+0x31b/0x3e0 [ 14.186128][ T231] CPU: 3 UID: 72 PID: 231 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.186131][ T231] Tainted: [W]=WARN [ 14.186132][ T231] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.186134][ T231] Call Trace: [ 14.186135][ T231] [ 14.186137][ T231] dump_stack_lvl+0x6f/0xa0 [ 14.186142][ T231] ? vprintk_emit+0x31b/0x3e0 [ 14.186144][ T231] __might_resched.cold+0x1fe/0x2c1 [ 14.186148][ T231] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.186152][ T231] ? __kmalloc_noprof+0xdb/0x760 [ 14.186158][ T231] __kmalloc_noprof+0x443/0x760 [ 14.186160][ T231] ? alloc_buf.isra.0+0x4b/0x260 [ 14.186167][ T231] ? do_raw_spin_unlock+0x59/0x250 [ 14.186169][ T231] alloc_buf.isra.0+0x4b/0x260 [ 14.186172][ T231] put_chars+0x1e1/0x2f0 [ 14.186175][ T231] ? check_prev_add+0xef/0xe90 [ 14.186178][ T231] ? __send_to_port+0x420/0x420 [ 14.186181][ T231] ? validate_chain+0x34a/0xc20 [ 14.186186][ T231] hvc_console_print+0x292/0x780 [ 14.186193][ T231] ? hvc_write+0x3a0/0x3a0 [ 14.186196][ T231] ? rcu_is_watching+0x16/0xd0 [ 14.186200][ T231] ? lock_acquire+0x13c/0x160 [ 14.186204][ T231] console_emit_next_record+0x252/0x4f0 [ 14.186208][ T231] ? devkmsg_read+0x4e0/0x4e0 [ 14.186211][ T231] ? rcu_is_watching+0x16/0xd0 [ 14.186213][ T231] ? lock_acquire+0x13c/0x160 [ 14.186217][ T231] console_flush_one_record+0x46f/0x710 [ 14.186221][ T231] ? console_emit_next_record+0x4f0/0x4f0 [ 14.186223][ T231] ? __lock_acquire+0x518/0xc20 [ 14.186228][ T231] console_unlock+0xee/0x1f0 [ 14.186231][ T231] ? console_flush_one_record+0x710/0x710 [ 14.186232][ T231] ? rcu_is_watching+0x16/0xd0 [ 14.186234][ T231] ? lock_acquire+0x60/0x160 [ 14.186238][ T231] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.186240][ T231] ? vprintk_emit+0x320/0x3e0 [ 14.186243][ T231] vprintk_emit+0x37c/0x3e0 [ 14.186246][ T231] ? wake_up_klogd_work_func+0x90/0x90 [ 14.186249][ T231] ? __lock_acquire+0x518/0xc20 [ 14.186253][ T231] _printk+0xc7/0x100 [ 14.186256][ T231] ? snapshot_read.cold+0x21/0x21 [ 14.186258][ T231] ? lock_acquire.part.0+0xd4/0x280 [ 14.186262][ T231] ? rcu_is_watching+0x16/0xd0 [ 14.186264][ T231] ? netdev_name+0x43/0x60 [ 14.186267][ T231] ? __netdev_printk+0x17f/0x1d0 [ 14.186270][ T231] netdev_info+0xe2/0x116 [ 14.186273][ T231] ? netdev_notice+0x120/0x120 [ 14.186274][ T231] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 14.186276][ T231] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.186281][ T231] ? ww_mutex_lock+0x160/0x160 [ 14.186282][ T231] ? lock_acquire.part.0+0xd4/0x280 [ 14.186285][ T231] ? ref_tracker_alloc+0x430/0x430 [ 14.186288][ T231] ? packet_release+0x363/0xc40 [ 14.186290][ T231] ? __fput+0x363/0xac0 [ 14.186293][ T231] ? mutex_is_locked+0x1c/0x50 [ 14.186296][ T231] __dev_set_promiscuity.cold+0x7a/0x104 [ 14.186300][ T231] netif_set_promiscuity+0x4c/0xc0 [ 14.186305][ T231] dev_set_promiscuity+0xa1/0x230 [ 14.186308][ T231] packet_release+0x4cb/0xc40 [ 14.186312][ T231] ? packet_set_ring+0x1740/0x1740 [ 14.186316][ T231] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 14.186320][ T231] __sock_release+0xb8/0x280 [ 14.186324][ T231] sock_close+0x18/0x20 [ 14.186326][ T231] __fput+0x363/0xac0 [ 14.186331][ T231] fput_close_sync+0xde/0x1b0 [ 14.186333][ T231] ? alloc_file_clone+0xe0/0xe0 [ 14.186336][ T231] ? do_raw_spin_unlock+0x59/0x250 [ 14.186340][ T231] __x64_sys_close+0x8b/0xf0 [ 14.186342][ T231] do_syscall_64+0xff/0x530 [ 14.186344][ T231] ? exc_page_fault+0xee/0x100 [ 14.186347][ T231] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.186350][ T231] RIP: 0033:0x7fd918eaa54e [ 14.186354][ T231] 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 [ 14.186355][ T231] RSP: 002b:00007ffdbd074620 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 14.186358][ T231] RAX: ffffffffffffffda RBX: 0000558076d6a690 RCX: 00007fd918eaa54e [ 14.186359][ T231] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 14.186360][ T231] RBP: 00007ffdbd074630 R08: 0000000000000000 R09: 0000000000000000 [ 14.186361][ T231] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 14.186362][ T231] R13: 00000000fffffffe R14: 0000558074d4c760 R15: 0000000000000001 [ 14.186368][ T231] [ 15.893760][ T245] test_team1: Port device eth0 removed [ 15.893778][ T245] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.893781][ T245] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 245, name: ip [ 15.893783][ T245] preempt_count: 1, expected: 0 [ 15.893784][ T245] RCU nest depth: 0, expected: 0 [ 15.893785][ T245] locks held by ip/245: 5, last CPU#3: [ 15.893787][ T245] #0: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 15.893798][ T245] #1: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.893804][ T245] #2: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.893807][ T245] #3: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.893810][ T245] #4: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 15.893814][ T245] irq event stamp: 28020 [ 15.893815][ T245] hardirqs last enabled at (28019): [] __down_trylock_console_sem+0x86/0xa0 [ 15.893818][ T245] hardirqs last disabled at (28020): [] console_emit_next_record+0x3f8/0x4f0 [ 15.893820][ T245] softirqs last enabled at (28004): [] fib6_run_gc+0x162/0x250 [ 15.893823][ T245] softirqs last disabled at (27998): [] fib6_run_gc+0x1ac/0x250 [ 15.893825][ T245] Preemption disabled at: [ 15.893825][ T245] [] vprintk_emit+0x31b/0x3e0 [ 15.893830][ T245] CPU: 3 UID: 0 PID: 245 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.893834][ T245] Tainted: [W]=WARN [ 15.893835][ T245] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.893836][ T245] Call Trace: [ 15.893838][ T245] [ 15.893840][ T245] dump_stack_lvl+0x6f/0xa0 [ 15.893845][ T245] ? vprintk_emit+0x31b/0x3e0 [ 15.893847][ T245] __might_resched.cold+0x1fe/0x2c1 [ 15.893851][ T245] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.893855][ T245] ? __kmalloc_noprof+0xdb/0x760 [ 15.893860][ T245] __kmalloc_noprof+0x443/0x760 [ 15.893863][ T245] ? alloc_buf.isra.0+0x4b/0x260 [ 15.893869][ T245] ? do_raw_spin_unlock+0x59/0x250 [ 15.893871][ T245] alloc_buf.isra.0+0x4b/0x260 [ 15.893875][ T245] put_chars+0x1e1/0x2f0 [ 15.893878][ T245] ? __send_to_port+0x420/0x420 [ 15.893881][ T245] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.893885][ T245] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.893888][ T245] ? validate_chain+0x38b/0xc20 [ 15.893892][ T245] hvc_console_print+0x292/0x780 [ 15.893896][ T245] ? mark_usage+0x61/0x170 [ 15.893898][ T245] ? __lock_acquire+0x518/0xc20 [ 15.893900][ T245] ? __lock_acquire+0x518/0xc20 [ 15.893904][ T245] ? hvc_write+0x3a0/0x3a0 [ 15.893907][ T245] ? console_emit_next_record+0x202/0x4f0 [ 15.893909][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.893911][ T245] ? lock_acquire+0x13c/0x160 [ 15.893916][ T245] console_emit_next_record+0x252/0x4f0 [ 15.893919][ T245] ? devkmsg_read+0x4e0/0x4e0 [ 15.893923][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.893925][ T245] ? lock_acquire+0x13c/0x160 [ 15.893929][ T245] console_flush_one_record+0x46f/0x710 [ 15.893933][ T245] ? console_emit_next_record+0x4f0/0x4f0 [ 15.893934][ T245] ? __lock_acquire+0x518/0xc20 [ 15.893939][ T245] console_unlock+0xee/0x1f0 [ 15.893941][ T245] ? console_flush_one_record+0x710/0x710 [ 15.893943][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.893944][ T245] ? lock_acquire+0x60/0x160 [ 15.893948][ T245] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.893950][ T245] ? vprintk_emit+0x320/0x3e0 [ 15.893953][ T245] vprintk_emit+0x37c/0x3e0 [ 15.893956][ T245] ? wake_up_klogd_work_func+0x90/0x90 [ 15.893958][ T245] ? rtnl_newlink+0x9f1/0x11b0 [ 15.893960][ T245] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.893961][ T245] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.893963][ T245] ? look_up_lock_class+0x65/0x150 [ 15.893966][ T245] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.893970][ T245] _printk+0xc7/0x100 [ 15.893973][ T245] ? snapshot_read.cold+0x21/0x21 [ 15.893976][ T245] ? __lock_acquire+0x518/0xc20 [ 15.893979][ T245] ? netdev_name+0x43/0x60 [ 15.893982][ T245] ? __netdev_printk+0x17f/0x1d0 [ 15.893985][ T245] netdev_info+0xe2/0x116 [ 15.893988][ T245] ? netdev_notice+0x120/0x120 [ 15.893992][ T245] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 15.893994][ T245] ? lockdep_hardirqs_on+0x91/0x130 [ 15.893995][ T245] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 15.893998][ T245] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 15.894000][ T245] ? kvfree_call_rcu+0x23b/0x2e0 [ 15.894005][ T245] team_port_del+0x61d/0xaa0 [ 15.894011][ T245] do_set_master+0x15c/0x780 [ 15.894015][ T245] do_setlink.isra.0+0x9ec/0x2a60 [ 15.894018][ T245] ? stack_trace_save+0x93/0xc0 [ 15.894022][ T245] ? rtnl_link_get_size+0x350/0x350 [ 15.894024][ T245] ? rcu_read_lock_any_held+0x66/0x90 [ 15.894026][ T245] ? stack_depot_save_flags+0x38e/0x790 [ 15.894029][ T245] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.894031][ T245] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.894033][ T245] ? validate_chain+0x38b/0xc20 [ 15.894036][ T245] ? kasan_save_stack+0x3d/0x50 [ 15.894038][ T245] ? kasan_save_stack+0x2f/0x50 [ 15.894039][ T245] ? kasan_save_track+0x14/0x30 [ 15.894041][ T245] ? __lock_acquire+0x518/0xc20 [ 15.894043][ T245] ? netlink_seq_next+0x5e/0x60 [ 15.894046][ T245] ? ___sys_sendmsg+0xc0/0x1d0 [ 15.894051][ T245] ? lock_acquire.part.0+0xd4/0x280 [ 15.894056][ T245] ? rtnl_newlink+0x9a8/0x11b0 [ 15.894059][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.894061][ T245] ? lock_acquire+0x13c/0x160 [ 15.894063][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.894064][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.894066][ T245] ? trace_contention_end+0xb3/0x180 [ 15.894069][ T245] ? __mutex_lock+0x1db/0x1ea0 [ 15.894070][ T245] ? __mutex_lock+0x9a3/0x1ea0 [ 15.894072][ T245] ? rtnl_newlink+0x9a8/0x11b0 [ 15.894076][ T245] ? ww_mutex_lock+0x160/0x160 [ 15.894077][ T245] ? nla_get_range_signed+0x3d0/0x3d0 [ 15.894083][ T245] ? __rtnl_newlink+0x3fa/0xa50 [ 15.894089][ T245] rtnl_newlink+0x9f1/0x11b0 [ 15.894094][ T245] ? rtnl_bridge_getlink+0x850/0x850 [ 15.894097][ T245] ? __lock_acquire+0x518/0xc20 [ 15.894101][ T245] ? lock_acquire.part.0+0xd4/0x280 [ 15.894103][ T245] ? find_held_lock+0x2b/0x80 [ 15.894106][ T245] ? rtnl_bridge_getlink+0x850/0x850 [ 15.894108][ T245] ? __lock_release.isra.0+0x69/0x1a0 [ 15.894112][ T245] ? rtnl_bridge_getlink+0x850/0x850 [ 15.894114][ T245] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 15.894118][ T245] ? rtnl_link_fill+0x900/0x900 [ 15.894119][ T245] ? __lock_acquire+0x518/0xc20 [ 15.894124][ T245] ? lock_acquire.part.0+0xd4/0x280 [ 15.894126][ T245] ? find_held_lock+0x2b/0x80 [ 15.894130][ T245] netlink_rcv_skb+0x14e/0x3a0 [ 15.894132][ T245] ? rtnl_link_fill+0x900/0x900 [ 15.894135][ T245] ? netlink_ack+0xcd0/0xcd0 [ 15.894141][ T245] ? netlink_deliver_tap+0xc5/0x330 [ 15.894142][ T245] ? netlink_deliver_tap+0x13c/0x330 [ 15.894146][ T245] netlink_unicast+0x486/0x750 [ 15.894150][ T245] ? netlink_attachskb+0x810/0x810 [ 15.894153][ T245] ? __lock_acquire+0x518/0xc20 [ 15.894157][ T245] netlink_sendmsg+0x735/0xc60 [ 15.894161][ T245] ? netlink_unicast+0x750/0x750 [ 15.894164][ T245] ? __might_fault+0x97/0x140 [ 15.894169][ T245] ____sys_sendmsg+0x415/0x880 [ 15.894171][ T245] ? copy_msghdr_from_user+0x279/0x420 [ 15.894173][ T245] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 15.894175][ T245] ? move_addr_to_kernel+0x40/0x40 [ 15.894182][ T245] ___sys_sendmsg+0x14e/0x1d0 [ 15.894184][ T245] ? copy_msghdr_from_user+0x420/0x420 [ 15.894199][ T245] __sys_sendmsg+0x12c/0x1d0 [ 15.894202][ T245] ? __sys_sendmsg_sock+0x20/0x20 [ 15.894207][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.894210][ T245] do_syscall_64+0xff/0x530 [ 15.894212][ T245] ? exc_page_fault+0xee/0x100 [ 15.894215][ T245] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.894217][ T245] RIP: 0033:0x7f3e5a72954e [ 15.894221][ T245] 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 [ 15.894223][ T245] RSP: 002b:00007ffe6d0c9020 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 15.894225][ T245] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f3e5a72954e [ 15.894227][ T245] RDX: 0000000000000000 RSI: 00007ffe6d0c90d0 RDI: 0000000000000005 [ 15.894228][ T245] RBP: 00007ffe6d0c9030 R08: 0000000000000000 R09: 0000000000000000 [ 15.894228][ T245] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a913359 [ 15.894229][ T245] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe6d0c97a0 [ 15.894236][ T245] [ 15.945213][ T245] ip (245) used greatest stack depth: 23272 bytes left [ 16.107708][ T249] test_team1: Mode changed to "roundrobin" [ 16.138645][ T250] test_team1: Port device eth0 added [ 16.921407][ T257] eth0: entered promiscuous mode [ 16.921427][ T257] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.921429][ T257] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 257, name: tcpdump [ 16.921431][ T257] preempt_count: 1, expected: 0 [ 16.921432][ T257] RCU nest depth: 0, expected: 0 [ 16.921433][ T257] locks held by tcpdump/257: 5, last CPU#1: [ 16.921435][ T257] #0: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 16.921447][ T257] #1: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.921453][ T257] #2: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.921457][ T257] #3: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.921460][ T257] #4: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 16.921464][ T257] irq event stamp: 35124 [ 16.921465][ T257] hardirqs last enabled at (35123): [] __down_trylock_console_sem+0x86/0xa0 [ 16.921468][ T257] hardirqs last disabled at (35124): [] console_emit_next_record+0x3f8/0x4f0 [ 16.921470][ T257] softirqs last enabled at (35104): [] packet_do_bind+0x4b2/0xc80 [ 16.921472][ T257] softirqs last disabled at (35102): [] release_sock+0x21/0x240 [ 16.921477][ T257] Preemption disabled at: [ 16.921477][ T257] [] vprintk_emit+0x31b/0x3e0 [ 16.921483][ T257] CPU: 1 UID: 0 PID: 257 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.921487][ T257] Tainted: [W]=WARN [ 16.921487][ T257] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.921489][ T257] Call Trace: [ 16.921491][ T257] [ 16.921492][ T257] dump_stack_lvl+0x6f/0xa0 [ 16.921498][ T257] ? vprintk_emit+0x31b/0x3e0 [ 16.921500][ T257] __might_resched.cold+0x1fe/0x2c1 [ 16.921505][ T257] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.921508][ T257] ? __kmalloc_noprof+0xdb/0x760 [ 16.921514][ T257] __kmalloc_noprof+0x443/0x760 [ 16.921516][ T257] ? alloc_buf.isra.0+0x4b/0x260 [ 16.921523][ T257] ? do_raw_spin_unlock+0x59/0x250 [ 16.921525][ T257] alloc_buf.isra.0+0x4b/0x260 [ 16.921528][ T257] put_chars+0x1e1/0x2f0 [ 16.921532][ T257] ? __send_to_port+0x420/0x420 [ 16.921534][ T257] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.921538][ T257] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.921541][ T257] ? validate_chain+0x38b/0xc20 [ 16.921546][ T257] hvc_console_print+0x292/0x780 [ 16.921550][ T257] ? __lock_acquire+0x518/0xc20 [ 16.921556][ T257] ? hvc_write+0x3a0/0x3a0 [ 16.921559][ T257] ? rcu_is_watching+0x16/0xd0 [ 16.921563][ T257] console_emit_next_record+0x252/0x4f0 [ 16.921567][ T257] ? devkmsg_read+0x4e0/0x4e0 [ 16.921571][ T257] ? rcu_is_watching+0x16/0xd0 [ 16.921573][ T257] ? lock_acquire+0x13c/0x160 [ 16.921577][ T257] console_flush_one_record+0x46f/0x710 [ 16.921580][ T257] ? console_emit_next_record+0x4f0/0x4f0 [ 16.921582][ T257] ? __lock_acquire+0x518/0xc20 [ 16.921587][ T257] console_unlock+0xee/0x1f0 [ 16.921589][ T257] ? console_flush_one_record+0x710/0x710 [ 16.921591][ T257] ? rcu_is_watching+0x16/0xd0 [ 16.921593][ T257] ? lock_acquire+0x60/0x160 [ 16.921596][ T257] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.921598][ T257] ? vprintk_emit+0x320/0x3e0 [ 16.921601][ T257] vprintk_emit+0x37c/0x3e0 [ 16.921605][ T257] ? wake_up_klogd_work_func+0x90/0x90 [ 16.921610][ T257] ? kasan_save_stack+0x3d/0x50 [ 16.921612][ T257] ? kasan_save_track+0x14/0x30 [ 16.921614][ T257] ? __kasan_kmalloc+0x7b/0x90 [ 16.921615][ T257] ? __kmalloc_cache_noprof+0x29a/0x620 [ 16.921617][ T257] ? packet_mc_add+0x13b/0x890 [ 16.921618][ T257] ? packet_setsockopt+0x1953/0x21e0 [ 16.921620][ T257] ? do_sock_setsockopt+0x115/0x490 [ 16.921624][ T257] _printk+0xc7/0x100 [ 16.921628][ T257] ? snapshot_read.cold+0x21/0x21 [ 16.921632][ T257] ? netdev_name+0x43/0x60 [ 16.921635][ T257] ? __netdev_printk+0x17f/0x1d0 [ 16.921638][ T257] netdev_info+0xe2/0x116 [ 16.921641][ T257] ? netdev_notice+0x120/0x120 [ 16.921648][ T257] ? mutex_is_locked+0x1c/0x50 [ 16.921650][ T257] __dev_set_promiscuity.cold+0x7a/0x104 [ 16.921654][ T257] netif_set_promiscuity+0x4c/0xc0 [ 16.921659][ T257] dev_set_promiscuity+0xa1/0x230 [ 16.921661][ T257] ? __asan_memset+0x27/0x50 [ 16.921664][ T257] packet_mc_add+0x54e/0x890 [ 16.921667][ T257] ? __might_fault+0x97/0x140 [ 16.921671][ T257] ? __might_fault+0x97/0x140 [ 16.921673][ T257] ? _copy_from_user+0x42/0x90 [ 16.921678][ T257] packet_setsockopt+0x1953/0x21e0 [ 16.921681][ T257] ? packet_bind+0x170/0x170 [ 16.921685][ T257] ? do_sock_getsockopt+0x6f6/0xb20 [ 16.921690][ T257] ? sock_poll+0x6b0/0x6b0 [ 16.921693][ T257] ? rcu_is_watching+0x16/0xd0 [ 16.921695][ T257] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.921699][ T257] ? __local_bh_enable_ip+0xaa/0x150 [ 16.921703][ T257] do_sock_setsockopt+0x115/0x490 [ 16.921706][ T257] ? put_user_ifreq+0x90/0x90 [ 16.921712][ T257] __sys_setsockopt+0xe4/0x150 [ 16.921717][ T257] __x64_sys_setsockopt+0xbd/0x180 [ 16.921719][ T257] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.921721][ T257] ? lockdep_hardirqs_on+0x91/0x130 [ 16.921724][ T257] ? do_syscall_64+0xa6/0x530 [ 16.921725][ T257] do_syscall_64+0xff/0x530 [ 16.921727][ T257] ? exc_page_fault+0xee/0x100 [ 16.921729][ T257] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.921732][ T257] RIP: 0033:0x7f8cf92932de [ 16.921735][ T257] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 16.921737][ T257] RSP: 002b:00007ffdb335a538 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 16.921740][ T257] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f8cf92932de [ 16.921741][ T257] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 16.921742][ T257] RBP: 00007ffdb335a670 R08: 0000000000000010 R09: 00005634fe445530 [ 16.921743][ T257] R10: 00007ffdb335a5b0 R11: 0000000000000246 R12: 0000000000000001 [ 16.921744][ T257] R13: 00005634fe445918 R14: 00005634fe445690 R15: 0000000000000000 [ 16.921750][ T257] [ 19.365609][ T257] eth0: left promiscuous mode [ 19.365634][ T257] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.365637][ T257] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 257, name: tcpdump [ 19.365639][ T257] preempt_count: 1, expected: 0 [ 19.365640][ T257] RCU nest depth: 0, expected: 0 [ 19.365641][ T257] locks held by tcpdump/257: 6, last CPU#1: [ 19.365643][ T257] #0: ff1100000b734d78 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 19.365656][ T257] #1: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 19.365662][ T257] #2: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.365668][ T257] #3: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.365671][ T257] #4: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.365674][ T257] #5: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 19.365678][ T257] irq event stamp: 46972 [ 19.365679][ T257] hardirqs last enabled at (46971): [] __down_trylock_console_sem+0x86/0xa0 [ 19.365682][ T257] hardirqs last disabled at (46972): [] console_emit_next_record+0x3f8/0x4f0 [ 19.365684][ T257] softirqs last enabled at (46820): [] packet_setsockopt+0xcdf/0x21e0 [ 19.365686][ T257] softirqs last disabled at (46818): [] release_sock+0x21/0x240 [ 19.365689][ T257] Preemption disabled at: [ 19.365690][ T257] [] vprintk_emit+0x31b/0x3e0 [ 19.365695][ T257] CPU: 1 UID: 72 PID: 257 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.365699][ T257] Tainted: [W]=WARN [ 19.365700][ T257] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.365701][ T257] Call Trace: [ 19.365703][ T257] [ 19.365704][ T257] dump_stack_lvl+0x6f/0xa0 [ 19.365710][ T257] ? vprintk_emit+0x31b/0x3e0 [ 19.365711][ T257] __might_resched.cold+0x1fe/0x2c1 [ 19.365716][ T257] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.365720][ T257] ? __kmalloc_noprof+0xdb/0x760 [ 19.365725][ T257] __kmalloc_noprof+0x443/0x760 [ 19.365728][ T257] ? alloc_buf.isra.0+0x4b/0x260 [ 19.365734][ T257] ? do_raw_spin_unlock+0x59/0x250 [ 19.365736][ T257] alloc_buf.isra.0+0x4b/0x260 [ 19.365740][ T257] put_chars+0x1e1/0x2f0 [ 19.365744][ T257] ? __send_to_port+0x420/0x420 [ 19.365747][ T257] ? validate_chain+0x38b/0xc20 [ 19.365753][ T257] hvc_console_print+0x292/0x780 [ 19.365760][ T257] ? hvc_write+0x3a0/0x3a0 [ 19.365763][ T257] ? rcu_is_watching+0x16/0xd0 [ 19.365766][ T257] ? lock_acquire+0x13c/0x160 [ 19.365771][ T257] console_emit_next_record+0x252/0x4f0 [ 19.365774][ T257] ? devkmsg_read+0x4e0/0x4e0 [ 19.365778][ T257] ? rcu_is_watching+0x16/0xd0 [ 19.365780][ T257] ? lock_acquire+0x13c/0x160 [ 19.365784][ T257] console_flush_one_record+0x46f/0x710 [ 19.365788][ T257] ? console_emit_next_record+0x4f0/0x4f0 [ 19.365789][ T257] ? __lock_acquire+0x518/0xc20 [ 19.365795][ T257] console_unlock+0xee/0x1f0 [ 19.365797][ T257] ? console_flush_one_record+0x710/0x710 [ 19.365798][ T257] ? rcu_is_watching+0x16/0xd0 [ 19.365800][ T257] ? lock_acquire+0x60/0x160 [ 19.365804][ T257] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.365806][ T257] ? vprintk_emit+0x320/0x3e0 [ 19.365809][ T257] vprintk_emit+0x37c/0x3e0 [ 19.365813][ T257] ? wake_up_klogd_work_func+0x90/0x90 [ 19.365816][ T257] ? __lock_acquire+0x518/0xc20 [ 19.365819][ T257] _printk+0xc7/0x100 [ 19.365823][ T257] ? snapshot_read.cold+0x21/0x21 [ 19.365825][ T257] ? lock_acquire.part.0+0xd4/0x280 [ 19.365829][ T257] ? rcu_is_watching+0x16/0xd0 [ 19.365830][ T257] ? netdev_name+0x43/0x60 [ 19.365834][ T257] ? __netdev_printk+0x17f/0x1d0 [ 19.365837][ T257] netdev_info+0xe2/0x116 [ 19.365839][ T257] ? netdev_notice+0x120/0x120 [ 19.365841][ T257] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 19.365843][ T257] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 19.365848][ T257] ? ww_mutex_lock+0x160/0x160 [ 19.365849][ T257] ? lock_acquire.part.0+0xd4/0x280 [ 19.365852][ T257] ? ref_tracker_alloc+0x430/0x430 [ 19.365855][ T257] ? packet_release+0x363/0xc40 [ 19.365857][ T257] ? __fput+0x363/0xac0 [ 19.365860][ T257] ? mutex_is_locked+0x1c/0x50 [ 19.365863][ T257] __dev_set_promiscuity.cold+0x7a/0x104 [ 19.365867][ T257] netif_set_promiscuity+0x4c/0xc0 [ 19.365872][ T257] dev_set_promiscuity+0xa1/0x230 [ 19.365875][ T257] packet_release+0x4cb/0xc40 [ 19.365880][ T257] ? packet_set_ring+0x1740/0x1740 [ 19.365883][ T257] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 19.365888][ T257] __sock_release+0xb8/0x280 [ 19.365892][ T257] sock_close+0x18/0x20 [ 19.365894][ T257] __fput+0x363/0xac0 [ 19.365899][ T257] fput_close_sync+0xde/0x1b0 [ 19.365901][ T257] ? alloc_file_clone+0xe0/0xe0 [ 19.365903][ T257] ? do_raw_spin_unlock+0x59/0x250 [ 19.365907][ T257] __x64_sys_close+0x8b/0xf0 [ 19.365910][ T257] do_syscall_64+0xff/0x530 [ 19.365912][ T257] ? exc_page_fault+0xee/0x100 [ 19.365914][ T257] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.365917][ T257] RIP: 0033:0x7f8cf920a54e [ 19.365920][ T257] 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 [ 19.365922][ T257] RSP: 002b:00007ffdb335a6a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 19.365925][ T257] RAX: ffffffffffffffda RBX: 00005634fe445690 RCX: 00007f8cf920a54e [ 19.365926][ T257] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 19.365927][ T257] RBP: 00007ffdb335a6b0 R08: 0000000000000000 R09: 0000000000000000 [ 19.365928][ T257] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 19.365929][ T257] R13: 00000000fffffffe R14: 00005634d8e77760 R15: 0000000000000001 [ 19.365936][ T257] [ 21.062455][ T271] test_team1: Port device eth0 removed [ 21.062477][ T271] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.062479][ T271] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 271, name: ip [ 21.062481][ T271] preempt_count: 1, expected: 0 [ 21.062482][ T271] RCU nest depth: 0, expected: 0 [ 21.062483][ T271] locks held by ip/271: 5, last CPU#0: [ 21.062485][ T271] #0: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 21.062497][ T271] #1: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.062503][ T271] #2: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.062506][ T271] #3: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.062509][ T271] #4: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.062513][ T271] irq event stamp: 17822 [ 21.062514][ T271] hardirqs last enabled at (17821): [] __down_trylock_console_sem+0x86/0xa0 [ 21.062517][ T271] hardirqs last disabled at (17822): [] console_emit_next_record+0x3f8/0x4f0 [ 21.062519][ T271] softirqs last enabled at (17808): [] fib6_run_gc+0x162/0x250 [ 21.062522][ T271] softirqs last disabled at (17802): [] fib6_run_gc+0x1ac/0x250 [ 21.062524][ T271] Preemption disabled at: [ 21.062525][ T271] [] vprintk_emit+0x31b/0x3e0 [ 21.062530][ T271] CPU: 0 UID: 0 PID: 271 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.062534][ T271] Tainted: [W]=WARN [ 21.062535][ T271] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.062536][ T271] Call Trace: [ 21.062538][ T271] [ 21.062540][ T271] dump_stack_lvl+0x6f/0xa0 [ 21.062545][ T271] ? vprintk_emit+0x31b/0x3e0 [ 21.062546][ T271] __might_resched.cold+0x1fe/0x2c1 [ 21.062551][ T271] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.062555][ T271] ? __kmalloc_noprof+0xdb/0x760 [ 21.062561][ T271] __kmalloc_noprof+0x443/0x760 [ 21.062564][ T271] ? alloc_buf.isra.0+0x4b/0x260 [ 21.062570][ T271] ? do_raw_spin_unlock+0x59/0x250 [ 21.062572][ T271] alloc_buf.isra.0+0x4b/0x260 [ 21.062576][ T271] put_chars+0x1e1/0x2f0 [ 21.062579][ T271] ? __send_to_port+0x420/0x420 [ 21.062583][ T271] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.062587][ T271] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.062590][ T271] ? validate_chain+0x38b/0xc20 [ 21.062594][ T271] hvc_console_print+0x292/0x780 [ 21.062598][ T271] ? mark_usage+0x61/0x170 [ 21.062600][ T271] ? __lock_acquire+0x518/0xc20 [ 21.062602][ T271] ? __lock_acquire+0x518/0xc20 [ 21.062606][ T271] ? hvc_write+0x3a0/0x3a0 [ 21.062609][ T271] ? console_emit_next_record+0x202/0x4f0 [ 21.062617][ T271] ? rcu_is_watching+0x16/0xd0 [ 21.062619][ T271] ? lock_acquire+0x13c/0x160 [ 21.062623][ T271] console_emit_next_record+0x252/0x4f0 [ 21.062627][ T271] ? devkmsg_read+0x4e0/0x4e0 [ 21.062631][ T271] ? rcu_is_watching+0x16/0xd0 [ 21.062633][ T271] ? lock_acquire+0x13c/0x160 [ 21.062637][ T271] console_flush_one_record+0x46f/0x710 [ 21.062641][ T271] ? console_emit_next_record+0x4f0/0x4f0 [ 21.062642][ T271] ? __lock_acquire+0x518/0xc20 [ 21.062648][ T271] console_unlock+0xee/0x1f0 [ 21.062650][ T271] ? console_flush_one_record+0x710/0x710 [ 21.062651][ T271] ? rcu_is_watching+0x16/0xd0 [ 21.062653][ T271] ? lock_acquire+0x60/0x160 [ 21.062657][ T271] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.062659][ T271] ? vprintk_emit+0x320/0x3e0 [ 21.062662][ T271] vprintk_emit+0x37c/0x3e0 [ 21.062665][ T271] ? wake_up_klogd_work_func+0x90/0x90 [ 21.062667][ T271] ? rtnl_newlink+0x9f1/0x11b0 [ 21.062669][ T271] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.062671][ T271] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.062672][ T271] ? look_up_lock_class+0x65/0x150 [ 21.062675][ T271] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.062679][ T271] _printk+0xc7/0x100 [ 21.062683][ T271] ? snapshot_read.cold+0x21/0x21 [ 21.062686][ T271] ? __lock_acquire+0x518/0xc20 [ 21.062689][ T271] ? netdev_name+0x43/0x60 [ 21.062692][ T271] ? __netdev_printk+0x17f/0x1d0 [ 21.062695][ T271] netdev_info+0xe2/0x116 [ 21.062698][ T271] ? netdev_notice+0x120/0x120 [ 21.062702][ T271] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 21.062704][ T271] ? lockdep_hardirqs_on+0x91/0x130 [ 21.062706][ T271] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 21.062708][ T271] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 21.062710][ T271] ? kvfree_call_rcu+0x23b/0x2e0 [ 21.062715][ T271] team_port_del+0x61d/0xaa0 [ 21.062721][ T271] do_set_master+0x15c/0x780 [ 21.062725][ T271] do_setlink.isra.0+0x9ec/0x2a60 [ 21.062729][ T271] ? stack_trace_save+0x93/0xc0 [ 21.062733][ T271] ? rtnl_link_get_size+0x350/0x350 [ 21.062734][ T271] ? rcu_read_lock_any_held+0x66/0x90 [ 21.062736][ T271] ? stack_depot_save_flags+0x38e/0x790 [ 21.062740][ T271] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.062742][ T271] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.062744][ T271] ? validate_chain+0x38b/0xc20 [ 21.062746][ T271] ? kasan_save_stack+0x3d/0x50 [ 21.062748][ T271] ? kasan_save_stack+0x2f/0x50 [ 21.062750][ T271] ? kasan_save_track+0x14/0x30 [ 21.062752][ T271] ? __lock_acquire+0x518/0xc20 [ 21.062754][ T271] ? netlink_seq_next+0x5e/0x60 [ 21.062757][ T271] ? ___sys_sendmsg+0xc0/0x1d0 [ 21.062761][ T271] ? lock_acquire.part.0+0xd4/0x280 [ 21.062763][ T271] ? rtnl_newlink+0x9a8/0x11b0 [ 21.062766][ T271] ? rcu_is_watching+0x16/0xd0 [ 21.062768][ T271] ? lock_acquire+0x13c/0x160 [ 21.062770][ T271] ? rcu_is_watching+0x16/0xd0 [ 21.062772][ T271] ? rcu_is_watching+0x16/0xd0 [ 21.062773][ T271] ? trace_contention_end+0xb3/0x180 [ 21.062776][ T271] ? __mutex_lock+0x1db/0x1ea0 [ 21.062778][ T271] ? __mutex_lock+0x9a3/0x1ea0 [ 21.062780][ T271] ? rtnl_newlink+0x9a8/0x11b0 [ 21.062783][ T271] ? ww_mutex_lock+0x160/0x160 [ 21.062785][ T271] ? nla_get_range_signed+0x3d0/0x3d0 [ 21.062791][ T271] ? __rtnl_newlink+0x3fa/0xa50 [ 21.062797][ T271] rtnl_newlink+0x9f1/0x11b0 [ 21.062802][ T271] ? rtnl_bridge_getlink+0x850/0x850 [ 21.062805][ T271] ? __lock_acquire+0x518/0xc20 [ 21.062809][ T271] ? lock_acquire.part.0+0xd4/0x280 [ 21.062812][ T271] ? find_held_lock+0x2b/0x80 [ 21.062814][ T271] ? rtnl_bridge_getlink+0x850/0x850 [ 21.062816][ T271] ? __lock_release.isra.0+0x69/0x1a0 [ 21.062820][ T271] ? rtnl_bridge_getlink+0x850/0x850 [ 21.062823][ T271] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 21.062826][ T271] ? rtnl_link_fill+0x900/0x900 [ 21.062828][ T271] ? __lock_acquire+0x518/0xc20 [ 21.062833][ T271] ? lock_acquire.part.0+0xd4/0x280 [ 21.062835][ T271] ? find_held_lock+0x2b/0x80 [ 21.062838][ T271] netlink_rcv_skb+0x14e/0x3a0 [ 21.062840][ T271] ? rtnl_link_fill+0x900/0x900 [ 21.062844][ T271] ? netlink_ack+0xcd0/0xcd0 [ 21.062850][ T271] ? netlink_deliver_tap+0xc5/0x330 [ 21.062851][ T271] ? netlink_deliver_tap+0x13c/0x330 [ 21.062856][ T271] netlink_unicast+0x486/0x750 [ 21.062859][ T271] ? netlink_attachskb+0x810/0x810 [ 21.062862][ T271] ? __lock_acquire+0x518/0xc20 [ 21.062866][ T271] netlink_sendmsg+0x735/0xc60 [ 21.062870][ T271] ? netlink_unicast+0x750/0x750 [ 21.062874][ T271] ? __might_fault+0x97/0x140 [ 21.062879][ T271] ____sys_sendmsg+0x415/0x880 [ 21.062881][ T271] ? copy_msghdr_from_user+0x279/0x420 [ 21.062883][ T271] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 21.062885][ T271] ? move_addr_to_kernel+0x40/0x40 [ 21.062892][ T271] ___sys_sendmsg+0x14e/0x1d0 [ 21.062894][ T271] ? copy_msghdr_from_user+0x420/0x420 [ 21.062910][ T271] __sys_sendmsg+0x12c/0x1d0 [ 21.062913][ T271] ? __sys_sendmsg_sock+0x20/0x20 [ 21.062919][ T271] ? rcu_is_watching+0x16/0xd0 [ 21.062922][ T271] do_syscall_64+0xff/0x530 [ 21.062924][ T271] ? exc_page_fault+0xee/0x100 [ 21.062926][ T271] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.062929][ T271] RIP: 0033:0x7f514c18a54e [ 21.062933][ T271] 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 [ 21.062935][ T271] RSP: 002b:00007ffd871723b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 21.062937][ T271] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f514c18a54e [ 21.062939][ T271] RDX: 0000000000000000 RSI: 00007ffd87172460 RDI: 0000000000000005 [ 21.062940][ T271] RBP: 00007ffd871723c0 R08: 0000000000000000 R09: 0000000000000000 [ 21.062941][ T271] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91335e [ 21.062941][ T271] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd87172b30 [ 21.062948][ T271] [ 21.223575][ T274] test_team1: Mode changed to "random" [ 21.269644][ T275] test_team1: Port device eth0 added [ 21.958902][ T282] eth0: entered promiscuous mode [ 24.441719][ T282] eth0: left promiscuous mode [ 24.441739][ T282] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.441741][ T282] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 282, name: tcpdump [ 24.441743][ T282] preempt_count: 1, expected: 0 [ 24.441743][ T282] RCU nest depth: 0, expected: 0 [ 24.441744][ T282] locks held by tcpdump/282: 6, last CPU#1: [ 24.441747][ T282] #0: ff1100000d0bd9f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 24.441760][ T282] #1: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 24.441766][ T282] #2: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.441771][ T282] #3: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.441774][ T282] #4: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.441777][ T282] #5: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.441781][ T282] irq event stamp: 46024 [ 24.441782][ T282] hardirqs last enabled at (46023): [] __down_trylock_console_sem+0x86/0xa0 [ 24.441785][ T282] hardirqs last disabled at (46024): [] console_emit_next_record+0x3f8/0x4f0 [ 24.441787][ T282] softirqs last enabled at (45938): [] handle_softirqs+0x67c/0x900 [ 24.441791][ T282] softirqs last disabled at (45895): [] __irq_exit_rcu+0x145/0x1c0 [ 24.441793][ T282] Preemption disabled at: [ 24.441794][ T282] [] vprintk_emit+0x31b/0x3e0 [ 24.441799][ T282] CPU: 1 UID: 72 PID: 282 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.441803][ T282] Tainted: [W]=WARN [ 24.441804][ T282] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.441805][ T282] Call Trace: [ 24.441807][ T282] [ 24.441809][ T282] dump_stack_lvl+0x6f/0xa0 [ 24.441813][ T282] ? vprintk_emit+0x31b/0x3e0 [ 24.441815][ T282] __might_resched.cold+0x1fe/0x2c1 [ 24.441820][ T282] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.441823][ T282] ? __kmalloc_noprof+0xdb/0x760 [ 24.441829][ T282] __kmalloc_noprof+0x443/0x760 [ 24.441831][ T282] ? alloc_buf.isra.0+0x4b/0x260 [ 24.441838][ T282] ? do_raw_spin_unlock+0x59/0x250 [ 24.441840][ T282] alloc_buf.isra.0+0x4b/0x260 [ 24.441843][ T282] put_chars+0x1e1/0x2f0 [ 24.441846][ T282] ? __send_to_port+0x420/0x420 [ 24.441850][ T282] ? validate_chain+0x38b/0xc20 [ 24.441855][ T282] hvc_console_print+0x292/0x780 [ 24.441863][ T282] ? hvc_write+0x3a0/0x3a0 [ 24.441865][ T282] ? rcu_is_watching+0x16/0xd0 [ 24.441869][ T282] ? lock_acquire+0x13c/0x160 [ 24.441873][ T282] console_emit_next_record+0x252/0x4f0 [ 24.441876][ T282] ? devkmsg_read+0x4e0/0x4e0 [ 24.441880][ T282] ? rcu_is_watching+0x16/0xd0 [ 24.441882][ T282] ? lock_acquire+0x13c/0x160 [ 24.441886][ T282] console_flush_one_record+0x46f/0x710 [ 24.441890][ T282] ? console_emit_next_record+0x4f0/0x4f0 [ 24.441891][ T282] ? __lock_acquire+0x518/0xc20 [ 24.441897][ T282] console_unlock+0xee/0x1f0 [ 24.441899][ T282] ? console_flush_one_record+0x710/0x710 [ 24.441900][ T282] ? rcu_is_watching+0x16/0xd0 [ 24.441902][ T282] ? lock_acquire+0x60/0x160 [ 24.441906][ T282] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.441908][ T282] ? vprintk_emit+0x320/0x3e0 [ 24.441911][ T282] vprintk_emit+0x37c/0x3e0 [ 24.441914][ T282] ? wake_up_klogd_work_func+0x90/0x90 [ 24.441917][ T282] ? __lock_acquire+0x518/0xc20 [ 24.441921][ T282] _printk+0xc7/0x100 [ 24.441925][ T282] ? snapshot_read.cold+0x21/0x21 [ 24.441926][ T282] ? lock_acquire.part.0+0xd4/0x280 [ 24.441930][ T282] ? rcu_is_watching+0x16/0xd0 [ 24.441932][ T282] ? netdev_name+0x43/0x60 [ 24.441935][ T282] ? __netdev_printk+0x17f/0x1d0 [ 24.441938][ T282] netdev_info+0xe2/0x116 [ 24.441941][ T282] ? netdev_notice+0x120/0x120 [ 24.441942][ T282] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 24.441944][ T282] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 24.441949][ T282] ? ww_mutex_lock+0x160/0x160 [ 24.441950][ T282] ? lock_acquire.part.0+0xd4/0x280 [ 24.441953][ T282] ? ref_tracker_alloc+0x430/0x430 [ 24.441956][ T282] ? packet_release+0x363/0xc40 [ 24.441958][ T282] ? __fput+0x363/0xac0 [ 24.441961][ T282] ? mutex_is_locked+0x1c/0x50 [ 24.441964][ T282] __dev_set_promiscuity.cold+0x7a/0x104 [ 24.441968][ T282] netif_set_promiscuity+0x4c/0xc0 [ 24.441973][ T282] dev_set_promiscuity+0xa1/0x230 [ 24.441976][ T282] packet_release+0x4cb/0xc40 [ 24.441980][ T282] ? packet_set_ring+0x1740/0x1740 [ 24.441984][ T282] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 24.441989][ T282] __sock_release+0xb8/0x280 [ 24.441992][ T282] sock_close+0x18/0x20 [ 24.441994][ T282] __fput+0x363/0xac0 [ 24.441999][ T282] fput_close_sync+0xde/0x1b0 [ 24.442001][ T282] ? alloc_file_clone+0xe0/0xe0 [ 24.442004][ T282] ? do_raw_spin_unlock+0x59/0x250 [ 24.442007][ T282] __x64_sys_close+0x8b/0xf0 [ 24.442010][ T282] do_syscall_64+0xff/0x530 [ 24.442012][ T282] ? exc_page_fault+0xee/0x100 [ 24.442015][ T282] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.442017][ T282] RIP: 0033:0x7ffb525c754e [ 24.442021][ T282] 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 [ 24.442023][ T282] RSP: 002b:00007fff3f876850 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 24.442025][ T282] RAX: ffffffffffffffda RBX: 0000557bfc661690 RCX: 00007ffb525c754e [ 24.442027][ T282] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 24.442027][ T282] RBP: 00007fff3f876860 R08: 0000000000000000 R09: 0000000000000000 [ 24.442028][ T282] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 24.442029][ T282] R13: 00000000fffffffe R14: 0000557bc8363760 R15: 0000000000000001 [ 24.442036][ T282] [ 26.201641][ T304] test_team1: Port device eth0 removed [ 26.201666][ T304] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.201669][ T304] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 304, name: ip [ 26.201671][ T304] preempt_count: 1, expected: 0 [ 26.201672][ T304] RCU nest depth: 0, expected: 0 [ 26.201673][ T304] locks held by ip/304: 5, last CPU#1: [ 26.201676][ T304] #0: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 26.201691][ T304] #1: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.201699][ T304] #2: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.201705][ T304] #3: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.201710][ T304] #4: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.201716][ T304] irq event stamp: 23306 [ 26.201717][ T304] hardirqs last enabled at (23305): [] __down_trylock_console_sem+0x86/0xa0 [ 26.201722][ T304] hardirqs last disabled at (23306): [] console_emit_next_record+0x3f8/0x4f0 [ 26.201724][ T304] softirqs last enabled at (23292): [] fib6_run_gc+0x162/0x250 [ 26.201728][ T304] softirqs last disabled at (23286): [] fib6_run_gc+0x1ac/0x250 [ 26.201731][ T304] Preemption disabled at: [ 26.201732][ T304] [] vprintk_emit+0x31b/0x3e0 [ 26.201739][ T304] CPU: 1 UID: 0 PID: 304 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.201744][ T304] Tainted: [W]=WARN [ 26.201745][ T304] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.201747][ T304] Call Trace: [ 26.201749][ T304] [ 26.201751][ T304] dump_stack_lvl+0x6f/0xa0 [ 26.201757][ T304] ? vprintk_emit+0x31b/0x3e0 [ 26.201760][ T304] __might_resched.cold+0x1fe/0x2c1 [ 26.201766][ T304] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.201771][ T304] ? __kmalloc_noprof+0xdb/0x760 [ 26.201779][ T304] __kmalloc_noprof+0x443/0x760 [ 26.201783][ T304] ? alloc_buf.isra.0+0x4b/0x260 [ 26.201792][ T304] ? do_raw_spin_unlock+0x59/0x250 [ 26.201795][ T304] alloc_buf.isra.0+0x4b/0x260 [ 26.201800][ T304] put_chars+0x1e1/0x2f0 [ 26.201805][ T304] ? __send_to_port+0x420/0x420 [ 26.201811][ T304] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.201816][ T304] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.201820][ T304] ? validate_chain+0x38b/0xc20 [ 26.201826][ T304] hvc_console_print+0x292/0x780 [ 26.201832][ T304] ? mark_usage+0x61/0x170 [ 26.201835][ T304] ? __lock_acquire+0x518/0xc20 [ 26.201837][ T304] ? __lock_acquire+0x518/0xc20 [ 26.201844][ T304] ? hvc_write+0x3a0/0x3a0 [ 26.201849][ T304] ? console_emit_next_record+0x202/0x4f0 [ 26.201853][ T304] ? rcu_is_watching+0x16/0xd0 [ 26.201857][ T304] ? lock_acquire+0x13c/0x160 [ 26.201864][ T304] console_emit_next_record+0x252/0x4f0 [ 26.201870][ T304] ? devkmsg_read+0x4e0/0x4e0 [ 26.201877][ T304] ? rcu_is_watching+0x16/0xd0 [ 26.201880][ T304] ? lock_acquire+0x13c/0x160 [ 26.201887][ T304] console_flush_one_record+0x46f/0x710 [ 26.201893][ T304] ? console_emit_next_record+0x4f0/0x4f0 [ 26.201895][ T304] ? __lock_acquire+0x518/0xc20 [ 26.201905][ T304] console_unlock+0xee/0x1f0 [ 26.201909][ T304] ? console_flush_one_record+0x710/0x710 [ 26.201911][ T304] ? rcu_is_watching+0x16/0xd0 [ 26.201914][ T304] ? lock_acquire+0x60/0x160 [ 26.201921][ T304] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.201923][ T304] ? vprintk_emit+0x320/0x3e0 [ 26.201928][ T304] vprintk_emit+0x37c/0x3e0 [ 26.201934][ T304] ? wake_up_klogd_work_func+0x90/0x90 [ 26.201936][ T304] ? rtnl_newlink+0x9f1/0x11b0 [ 26.201939][ T304] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.201942][ T304] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.201945][ T304] ? look_up_lock_class+0x65/0x150 [ 26.201948][ T304] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.201955][ T304] _printk+0xc7/0x100 [ 26.201960][ T304] ? snapshot_read.cold+0x21/0x21 [ 26.201966][ T304] ? __lock_acquire+0x518/0xc20 [ 26.201970][ T304] ? netdev_name+0x43/0x60 [ 26.201974][ T304] ? __netdev_printk+0x17f/0x1d0 [ 26.201980][ T304] netdev_info+0xe2/0x116 [ 26.201984][ T304] ? netdev_notice+0x120/0x120 [ 26.201992][ T304] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 26.201995][ T304] ? lockdep_hardirqs_on+0x91/0x130 [ 26.201997][ T304] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 26.202001][ T304] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 26.202004][ T304] ? kvfree_call_rcu+0x23b/0x2e0 [ 26.202012][ T304] team_port_del+0x61d/0xaa0 [ 26.202021][ T304] do_set_master+0x15c/0x780 [ 26.202028][ T304] do_setlink.isra.0+0x9ec/0x2a60 [ 26.202034][ T304] ? stack_trace_save+0x93/0xc0 [ 26.202039][ T304] ? rtnl_link_get_size+0x350/0x350 [ 26.202041][ T304] ? rcu_read_lock_any_held+0x66/0x90 [ 26.202044][ T304] ? stack_depot_save_flags+0x38e/0x790 [ 26.202048][ T304] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.202054][ T304] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.202057][ T304] ? validate_chain+0x38b/0xc20 [ 26.202062][ T304] ? kasan_save_stack+0x3d/0x50 [ 26.202065][ T304] ? kasan_save_stack+0x2f/0x50 [ 26.202067][ T304] ? kasan_save_track+0x14/0x30 [ 26.202071][ T304] ? __lock_acquire+0x518/0xc20 [ 26.202074][ T304] ? netlink_seq_next+0x5e/0x60 [ 26.202078][ T304] ? ___sys_sendmsg+0xc0/0x1d0 [ 26.202085][ T304] ? lock_acquire.part.0+0xd4/0x280 [ 26.202088][ T304] ? rtnl_newlink+0x9a8/0x11b0 [ 26.202093][ T304] ? rcu_is_watching+0x16/0xd0 [ 26.202096][ T304] ? lock_acquire+0x13c/0x160 [ 26.202099][ T304] ? rcu_is_watching+0x16/0xd0 [ 26.202101][ T304] ? rcu_is_watching+0x16/0xd0 [ 26.202104][ T304] ? trace_contention_end+0xb3/0x180 [ 26.202108][ T304] ? __mutex_lock+0x1db/0x1ea0 [ 26.202110][ T304] ? __mutex_lock+0x9a3/0x1ea0 [ 26.202114][ T304] ? rtnl_newlink+0x9a8/0x11b0 [ 26.202120][ T304] ? ww_mutex_lock+0x160/0x160 [ 26.202123][ T304] ? nla_get_range_signed+0x3d0/0x3d0 [ 26.202133][ T304] ? __rtnl_newlink+0x3fa/0xa50 [ 26.202142][ T304] rtnl_newlink+0x9f1/0x11b0 [ 26.202152][ T304] ? rtnl_bridge_getlink+0x850/0x850 [ 26.202156][ T304] ? __lock_acquire+0x518/0xc20 [ 26.202164][ T304] ? lock_acquire.part.0+0xd4/0x280 [ 26.202167][ T304] ? find_held_lock+0x2b/0x80 [ 26.202171][ T304] ? rtnl_bridge_getlink+0x850/0x850 [ 26.202174][ T304] ? __lock_release.isra.0+0x69/0x1a0 [ 26.202181][ T304] ? rtnl_bridge_getlink+0x850/0x850 [ 26.202185][ T304] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 26.202191][ T304] ? rtnl_link_fill+0x900/0x900 [ 26.202193][ T304] ? __lock_acquire+0x518/0xc20 [ 26.202201][ T304] ? lock_acquire.part.0+0xd4/0x280 [ 26.202205][ T304] ? find_held_lock+0x2b/0x80 [ 26.202211][ T304] netlink_rcv_skb+0x14e/0x3a0 [ 26.202214][ T304] ? rtnl_link_fill+0x900/0x900 [ 26.202219][ T304] ? netlink_ack+0xcd0/0xcd0 [ 26.202230][ T304] ? netlink_deliver_tap+0xc5/0x330 [ 26.202233][ T304] ? netlink_deliver_tap+0x13c/0x330 [ 26.202240][ T304] netlink_unicast+0x486/0x750 [ 26.202247][ T304] ? netlink_attachskb+0x810/0x810 [ 26.202251][ T304] ? __lock_acquire+0x518/0xc20 [ 26.202258][ T304] netlink_sendmsg+0x735/0xc60 [ 26.202265][ T304] ? netlink_unicast+0x750/0x750 [ 26.202271][ T304] ? __might_fault+0x97/0x140 [ 26.202280][ T304] ____sys_sendmsg+0x415/0x880 [ 26.202283][ T304] ? copy_msghdr_from_user+0x279/0x420 [ 26.202286][ T304] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 26.202288][ T304] ? move_addr_to_kernel+0x40/0x40 [ 26.202301][ T304] ___sys_sendmsg+0x14e/0x1d0 [ 26.202305][ T304] ? copy_msghdr_from_user+0x420/0x420 [ 26.202334][ T304] __sys_sendmsg+0x12c/0x1d0 [ 26.202338][ T304] ? __sys_sendmsg_sock+0x20/0x20 [ 26.202349][ T304] ? rcu_is_watching+0x16/0xd0 [ 26.202355][ T304] do_syscall_64+0xff/0x530 [ 26.202357][ T304] ? exc_page_fault+0xee/0x100 [ 26.202361][ T304] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.202365][ T304] RIP: 0033:0x7f310863554e [ 26.202369][ T304] 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 [ 26.202371][ T304] RSP: 002b:00007ffc7c749130 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 26.202375][ T304] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f310863554e [ 26.202377][ T304] RDX: 0000000000000000 RSI: 00007ffc7c7491e0 RDI: 0000000000000005 [ 26.202378][ T304] RBP: 00007ffc7c749140 R08: 0000000000000000 R09: 0000000000000000 [ 26.202380][ T304] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a913363 [ 26.202381][ T304] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc7c7498b0 [ 26.202394][ T304] [ 26.399425][ T307] test_team1: Mode changed to "broadcast" [ 26.428236][ T308] test_team1: Port device eth0 added [ 27.140913][ T315] eth0: entered promiscuous mode [ 29.583838][ T315] eth0: left promiscuous mode [ 29.583857][ T315] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.583859][ T315] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 315, name: tcpdump [ 29.583861][ T315] preempt_count: 1, expected: 0 [ 29.583862][ T315] RCU nest depth: 0, expected: 0 [ 29.583863][ T315] locks held by tcpdump/315: 6, last CPU#2: [ 29.583865][ T315] #0: ff1100000d0bf2f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 29.583877][ T315] #1: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 29.583883][ T315] #2: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.583888][ T315] #3: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.583891][ T315] #4: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.583894][ T315] #5: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 29.583898][ T315] irq event stamp: 50102 [ 29.583899][ T315] hardirqs last enabled at (50101): [] __down_trylock_console_sem+0x86/0xa0 [ 29.583902][ T315] hardirqs last disabled at (50102): [] console_emit_next_record+0x3f8/0x4f0 [ 29.583903][ T315] softirqs last enabled at (49950): [] packet_setsockopt+0xcdf/0x21e0 [ 29.583906][ T315] softirqs last disabled at (49948): [] release_sock+0x21/0x240 [ 29.583909][ T315] Preemption disabled at: [ 29.583910][ T315] [] vprintk_emit+0x31b/0x3e0 [ 29.583915][ T315] CPU: 2 UID: 72 PID: 315 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.583918][ T315] Tainted: [W]=WARN [ 29.583919][ T315] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.583921][ T315] Call Trace: [ 29.583923][ T315] [ 29.583924][ T315] dump_stack_lvl+0x6f/0xa0 [ 29.583929][ T315] ? vprintk_emit+0x31b/0x3e0 [ 29.583931][ T315] __might_resched.cold+0x1fe/0x2c1 [ 29.583935][ T315] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.583939][ T315] ? __kmalloc_noprof+0xdb/0x760 [ 29.583944][ T315] __kmalloc_noprof+0x443/0x760 [ 29.583947][ T315] ? alloc_buf.isra.0+0x4b/0x260 [ 29.583953][ T315] ? do_raw_spin_unlock+0x59/0x250 [ 29.583955][ T315] alloc_buf.isra.0+0x4b/0x260 [ 29.583959][ T315] put_chars+0x1e1/0x2f0 [ 29.583962][ T315] ? __send_to_port+0x420/0x420 [ 29.583966][ T315] ? validate_chain+0x38b/0xc20 [ 29.583971][ T315] hvc_console_print+0x292/0x780 [ 29.583979][ T315] ? hvc_write+0x3a0/0x3a0 [ 29.583982][ T315] ? rcu_is_watching+0x16/0xd0 [ 29.583985][ T315] ? lock_acquire+0x13c/0x160 [ 29.583989][ T315] console_emit_next_record+0x252/0x4f0 [ 29.583992][ T315] ? devkmsg_read+0x4e0/0x4e0 [ 29.583996][ T315] ? rcu_is_watching+0x16/0xd0 [ 29.583998][ T315] ? lock_acquire+0x13c/0x160 [ 29.584002][ T315] console_flush_one_record+0x46f/0x710 [ 29.584006][ T315] ? console_emit_next_record+0x4f0/0x4f0 [ 29.584007][ T315] ? __lock_acquire+0x518/0xc20 [ 29.584013][ T315] console_unlock+0xee/0x1f0 [ 29.584015][ T315] ? console_flush_one_record+0x710/0x710 [ 29.584016][ T315] ? rcu_is_watching+0x16/0xd0 [ 29.584018][ T315] ? lock_acquire+0x60/0x160 [ 29.584022][ T315] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.584024][ T315] ? vprintk_emit+0x320/0x3e0 [ 29.584027][ T315] vprintk_emit+0x37c/0x3e0 [ 29.584030][ T315] ? wake_up_klogd_work_func+0x90/0x90 [ 29.584033][ T315] ? __lock_acquire+0x518/0xc20 [ 29.584037][ T315] _printk+0xc7/0x100 [ 29.584040][ T315] ? snapshot_read.cold+0x21/0x21 [ 29.584042][ T315] ? lock_acquire.part.0+0xd4/0x280 [ 29.584046][ T315] ? rcu_is_watching+0x16/0xd0 [ 29.584048][ T315] ? netdev_name+0x43/0x60 [ 29.584051][ T315] ? __netdev_printk+0x17f/0x1d0 [ 29.584057][ T315] netdev_info+0xe2/0x116 [ 29.584059][ T315] ? netdev_notice+0x120/0x120 [ 29.584061][ T315] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 29.584063][ T315] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 29.584067][ T315] ? ww_mutex_lock+0x160/0x160 [ 29.584069][ T315] ? lock_acquire.part.0+0xd4/0x280 [ 29.584071][ T315] ? ref_tracker_alloc+0x430/0x430 [ 29.584075][ T315] ? packet_release+0x363/0xc40 [ 29.584077][ T315] ? __fput+0x363/0xac0 [ 29.584080][ T315] ? mutex_is_locked+0x1c/0x50 [ 29.584083][ T315] __dev_set_promiscuity.cold+0x7a/0x104 [ 29.584087][ T315] netif_set_promiscuity+0x4c/0xc0 [ 29.584092][ T315] dev_set_promiscuity+0xa1/0x230 [ 29.584095][ T315] packet_release+0x4cb/0xc40 [ 29.584099][ T315] ? packet_set_ring+0x1740/0x1740 [ 29.584103][ T315] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 29.584107][ T315] __sock_release+0xb8/0x280 [ 29.584111][ T315] sock_close+0x18/0x20 [ 29.584113][ T315] __fput+0x363/0xac0 [ 29.584118][ T315] fput_close_sync+0xde/0x1b0 [ 29.584120][ T315] ? alloc_file_clone+0xe0/0xe0 [ 29.584123][ T315] ? do_raw_spin_unlock+0x59/0x250 [ 29.584126][ T315] __x64_sys_close+0x8b/0xf0 [ 29.584129][ T315] do_syscall_64+0xff/0x530 [ 29.584131][ T315] ? exc_page_fault+0xee/0x100 [ 29.584134][ T315] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.584136][ T315] RIP: 0033:0x7fb56433554e [ 29.584140][ T315] 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 [ 29.584142][ T315] RSP: 002b:00007ffc056cfd90 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 29.584144][ T315] RAX: ffffffffffffffda RBX: 000055e5a9a75690 RCX: 00007fb56433554e [ 29.584145][ T315] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 29.584146][ T315] RBP: 00007ffc056cfda0 R08: 0000000000000000 R09: 0000000000000000 [ 29.584147][ T315] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 29.584148][ T315] R13: 00000000fffffffe R14: 000055e57c25d760 R15: 0000000000000001 [ 29.584154][ T315] [ 31.287401][ T329] test_team1: Port device eth0 removed [ 31.287420][ T329] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.287422][ T329] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 329, name: ip [ 31.287424][ T329] preempt_count: 1, expected: 0 [ 31.287424][ T329] RCU nest depth: 0, expected: 0 [ 31.287425][ T329] locks held by ip/329: 5, last CPU#2: [ 31.287428][ T329] #0: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 31.287439][ T329] #1: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.287445][ T329] #2: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.287448][ T329] #3: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.287451][ T329] #4: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 31.287455][ T329] irq event stamp: 23888 [ 31.287456][ T329] hardirqs last enabled at (23887): [] __down_trylock_console_sem+0x86/0xa0 [ 31.287459][ T329] hardirqs last disabled at (23888): [] console_emit_next_record+0x3f8/0x4f0 [ 31.287461][ T329] softirqs last enabled at (23874): [] fib6_run_gc+0x162/0x250 [ 31.287465][ T329] softirqs last disabled at (23868): [] fib6_run_gc+0x1ac/0x250 [ 31.287466][ T329] Preemption disabled at: [ 31.287467][ T329] [] vprintk_emit+0x31b/0x3e0 [ 31.287473][ T329] CPU: 2 UID: 0 PID: 329 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.287476][ T329] Tainted: [W]=WARN [ 31.287477][ T329] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.287478][ T329] Call Trace: [ 31.287480][ T329] [ 31.287482][ T329] dump_stack_lvl+0x6f/0xa0 [ 31.287487][ T329] ? vprintk_emit+0x31b/0x3e0 [ 31.287489][ T329] __might_resched.cold+0x1fe/0x2c1 [ 31.287493][ T329] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.287497][ T329] ? __kmalloc_noprof+0xdb/0x760 [ 31.287502][ T329] __kmalloc_noprof+0x443/0x760 [ 31.287505][ T329] ? alloc_buf.isra.0+0x4b/0x260 [ 31.287511][ T329] ? do_raw_spin_unlock+0x59/0x250 [ 31.287513][ T329] alloc_buf.isra.0+0x4b/0x260 [ 31.287516][ T329] put_chars+0x1e1/0x2f0 [ 31.287520][ T329] ? __send_to_port+0x420/0x420 [ 31.287523][ T329] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.287527][ T329] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.287530][ T329] ? validate_chain+0x38b/0xc20 [ 31.287534][ T329] hvc_console_print+0x292/0x780 [ 31.287538][ T329] ? mark_usage+0x61/0x170 [ 31.287540][ T329] ? __lock_acquire+0x518/0xc20 [ 31.287542][ T329] ? __lock_acquire+0x518/0xc20 [ 31.287546][ T329] ? hvc_write+0x3a0/0x3a0 [ 31.287548][ T329] ? console_emit_next_record+0x202/0x4f0 [ 31.287551][ T329] ? rcu_is_watching+0x16/0xd0 [ 31.287553][ T329] ? lock_acquire+0x13c/0x160 [ 31.287557][ T329] console_emit_next_record+0x252/0x4f0 [ 31.287560][ T329] ? devkmsg_read+0x4e0/0x4e0 [ 31.287564][ T329] ? rcu_is_watching+0x16/0xd0 [ 31.287566][ T329] ? lock_acquire+0x13c/0x160 [ 31.287570][ T329] console_flush_one_record+0x46f/0x710 [ 31.287573][ T329] ? console_emit_next_record+0x4f0/0x4f0 [ 31.287575][ T329] ? __lock_acquire+0x518/0xc20 [ 31.287580][ T329] console_unlock+0xee/0x1f0 [ 31.287582][ T329] ? console_flush_one_record+0x710/0x710 [ 31.287583][ T329] ? rcu_is_watching+0x16/0xd0 [ 31.287585][ T329] ? lock_acquire+0x60/0x160 [ 31.287589][ T329] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.287591][ T329] ? vprintk_emit+0x320/0x3e0 [ 31.287594][ T329] vprintk_emit+0x37c/0x3e0 [ 31.287597][ T329] ? wake_up_klogd_work_func+0x90/0x90 [ 31.287598][ T329] ? rtnl_newlink+0x9f1/0x11b0 [ 31.287600][ T329] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.287602][ T329] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.287604][ T329] ? look_up_lock_class+0x65/0x150 [ 31.287607][ T329] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.287611][ T329] _printk+0xc7/0x100 [ 31.287614][ T329] ? snapshot_read.cold+0x21/0x21 [ 31.287617][ T329] ? __lock_acquire+0x518/0xc20 [ 31.287620][ T329] ? netdev_name+0x43/0x60 [ 31.287623][ T329] ? __netdev_printk+0x17f/0x1d0 [ 31.287632][ T329] netdev_info+0xe2/0x116 [ 31.287635][ T329] ? netdev_notice+0x120/0x120 [ 31.287639][ T329] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 31.287641][ T329] ? lockdep_hardirqs_on+0x91/0x130 [ 31.287643][ T329] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 31.287645][ T329] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 31.287647][ T329] ? kvfree_call_rcu+0x23b/0x2e0 [ 31.287652][ T329] team_port_del+0x61d/0xaa0 [ 31.287658][ T329] do_set_master+0x15c/0x780 [ 31.287662][ T329] do_setlink.isra.0+0x9ec/0x2a60 [ 31.287666][ T329] ? stack_trace_save+0x93/0xc0 [ 31.287669][ T329] ? rtnl_link_get_size+0x350/0x350 [ 31.287671][ T329] ? rcu_read_lock_any_held+0x66/0x90 [ 31.287673][ T329] ? stack_depot_save_flags+0x38e/0x790 [ 31.287676][ T329] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.287678][ T329] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.287680][ T329] ? validate_chain+0x38b/0xc20 [ 31.287683][ T329] ? kasan_save_stack+0x3d/0x50 [ 31.287685][ T329] ? kasan_save_stack+0x2f/0x50 [ 31.287686][ T329] ? kasan_save_track+0x14/0x30 [ 31.287688][ T329] ? __lock_acquire+0x518/0xc20 [ 31.287690][ T329] ? netlink_seq_next+0x5e/0x60 [ 31.287693][ T329] ? ___sys_sendmsg+0xc0/0x1d0 [ 31.287698][ T329] ? lock_acquire.part.0+0xd4/0x280 [ 31.287700][ T329] ? rtnl_newlink+0x9a8/0x11b0 [ 31.287703][ T329] ? rcu_is_watching+0x16/0xd0 [ 31.287705][ T329] ? lock_acquire+0x13c/0x160 [ 31.287706][ T329] ? rcu_is_watching+0x16/0xd0 [ 31.287708][ T329] ? rcu_is_watching+0x16/0xd0 [ 31.287709][ T329] ? trace_contention_end+0xb3/0x180 [ 31.287712][ T329] ? __mutex_lock+0x1db/0x1ea0 [ 31.287713][ T329] ? __mutex_lock+0x9a3/0x1ea0 [ 31.287715][ T329] ? rtnl_newlink+0x9a8/0x11b0 [ 31.287719][ T329] ? ww_mutex_lock+0x160/0x160 [ 31.287721][ T329] ? nla_get_range_signed+0x3d0/0x3d0 [ 31.287726][ T329] ? __rtnl_newlink+0x3fa/0xa50 [ 31.287732][ T329] rtnl_newlink+0x9f1/0x11b0 [ 31.287737][ T329] ? rtnl_bridge_getlink+0x850/0x850 [ 31.287740][ T329] ? __lock_acquire+0x518/0xc20 [ 31.287744][ T329] ? lock_acquire.part.0+0xd4/0x280 [ 31.287746][ T329] ? find_held_lock+0x2b/0x80 [ 31.287748][ T329] ? rtnl_bridge_getlink+0x850/0x850 [ 31.287751][ T329] ? __lock_release.isra.0+0x69/0x1a0 [ 31.287754][ T329] ? rtnl_bridge_getlink+0x850/0x850 [ 31.287757][ T329] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 31.287760][ T329] ? rtnl_link_fill+0x900/0x900 [ 31.287762][ T329] ? __lock_acquire+0x518/0xc20 [ 31.287767][ T329] ? lock_acquire.part.0+0xd4/0x280 [ 31.287769][ T329] ? find_held_lock+0x2b/0x80 [ 31.287772][ T329] netlink_rcv_skb+0x14e/0x3a0 [ 31.287774][ T329] ? rtnl_link_fill+0x900/0x900 [ 31.287777][ T329] ? netlink_ack+0xcd0/0xcd0 [ 31.287783][ T329] ? netlink_deliver_tap+0xc5/0x330 [ 31.287785][ T329] ? netlink_deliver_tap+0x13c/0x330 [ 31.287789][ T329] netlink_unicast+0x486/0x750 [ 31.287793][ T329] ? netlink_attachskb+0x810/0x810 [ 31.287795][ T329] ? __lock_acquire+0x518/0xc20 [ 31.287799][ T329] netlink_sendmsg+0x735/0xc60 [ 31.287803][ T329] ? netlink_unicast+0x750/0x750 [ 31.287807][ T329] ? __might_fault+0x97/0x140 [ 31.287812][ T329] ____sys_sendmsg+0x415/0x880 [ 31.287814][ T329] ? copy_msghdr_from_user+0x279/0x420 [ 31.287816][ T329] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 31.287817][ T329] ? move_addr_to_kernel+0x40/0x40 [ 31.287824][ T329] ___sys_sendmsg+0x14e/0x1d0 [ 31.287826][ T329] ? copy_msghdr_from_user+0x420/0x420 [ 31.287841][ T329] __sys_sendmsg+0x12c/0x1d0 [ 31.287844][ T329] ? __sys_sendmsg_sock+0x20/0x20 [ 31.287849][ T329] ? rcu_is_watching+0x16/0xd0 [ 31.287852][ T329] do_syscall_64+0xff/0x530 [ 31.287854][ T329] ? exc_page_fault+0xee/0x100 [ 31.287857][ T329] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.287859][ T329] RIP: 0033:0x7f7709ea954e [ 31.287863][ T329] 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 [ 31.287864][ T329] RSP: 002b:00007ffc4fe9c120 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 31.287867][ T329] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f7709ea954e [ 31.287868][ T329] RDX: 0000000000000000 RSI: 00007ffc4fe9c1d0 RDI: 0000000000000005 [ 31.287869][ T329] RBP: 00007ffc4fe9c130 R08: 0000000000000000 R09: 0000000000000000 [ 31.287870][ T329] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a913368 [ 31.287871][ T329] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffc4fe9c8a0 [ 31.287877][ T329] [ 31.449674][ T332] test_team1: Mode changed to "roundrobin" [ 31.486190][ T333] test_team1: Port device eth0 added [ 32.204215][ T340] eth0: entered promiscuous mode [ 34.621807][ T340] eth0: left promiscuous mode [ 34.621826][ T340] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.621828][ T340] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 340, name: tcpdump [ 34.621830][ T340] preempt_count: 1, expected: 0 [ 34.621831][ T340] RCU nest depth: 0, expected: 0 [ 34.621832][ T340] locks held by tcpdump/340: 6, last CPU#0: [ 34.621834][ T340] #0: ff1100000b666038 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 34.621847][ T340] #1: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 34.621852][ T340] #2: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.621858][ T340] #3: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.621861][ T340] #4: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.621864][ T340] #5: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 34.621867][ T340] irq event stamp: 63774 [ 34.621868][ T340] hardirqs last enabled at (63773): [] __down_trylock_console_sem+0x86/0xa0 [ 34.621872][ T340] hardirqs last disabled at (63774): [] console_emit_next_record+0x3f8/0x4f0 [ 34.621873][ T340] softirqs last enabled at (63622): [] packet_setsockopt+0xcdf/0x21e0 [ 34.621875][ T340] softirqs last disabled at (63620): [] release_sock+0x21/0x240 [ 34.621878][ T340] Preemption disabled at: [ 34.621879][ T340] [] vprintk_emit+0x31b/0x3e0 [ 34.621885][ T340] CPU: 0 UID: 72 PID: 340 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.621888][ T340] Tainted: [W]=WARN [ 34.621889][ T340] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.621891][ T340] Call Trace: [ 34.621892][ T340] [ 34.621894][ T340] dump_stack_lvl+0x6f/0xa0 [ 34.621899][ T340] ? vprintk_emit+0x31b/0x3e0 [ 34.621901][ T340] __might_resched.cold+0x1fe/0x2c1 [ 34.621905][ T340] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.621909][ T340] ? __kmalloc_noprof+0xdb/0x760 [ 34.621914][ T340] __kmalloc_noprof+0x443/0x760 [ 34.621917][ T340] ? alloc_buf.isra.0+0x4b/0x260 [ 34.621923][ T340] ? do_raw_spin_unlock+0x59/0x250 [ 34.621925][ T340] alloc_buf.isra.0+0x4b/0x260 [ 34.621929][ T340] put_chars+0x1e1/0x2f0 [ 34.621932][ T340] ? __send_to_port+0x420/0x420 [ 34.621936][ T340] ? validate_chain+0x38b/0xc20 [ 34.621941][ T340] hvc_console_print+0x292/0x780 [ 34.621949][ T340] ? hvc_write+0x3a0/0x3a0 [ 34.621952][ T340] ? rcu_is_watching+0x16/0xd0 [ 34.621955][ T340] ? lock_acquire+0x13c/0x160 [ 34.621959][ T340] console_emit_next_record+0x252/0x4f0 [ 34.621963][ T340] ? devkmsg_read+0x4e0/0x4e0 [ 34.621967][ T340] ? rcu_is_watching+0x16/0xd0 [ 34.621969][ T340] ? lock_acquire+0x13c/0x160 [ 34.621973][ T340] console_flush_one_record+0x46f/0x710 [ 34.621977][ T340] ? console_emit_next_record+0x4f0/0x4f0 [ 34.621978][ T340] ? __lock_acquire+0x518/0xc20 [ 34.621984][ T340] console_unlock+0xee/0x1f0 [ 34.621986][ T340] ? console_flush_one_record+0x710/0x710 [ 34.621988][ T340] ? rcu_is_watching+0x16/0xd0 [ 34.621990][ T340] ? lock_acquire+0x60/0x160 [ 34.621994][ T340] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.621996][ T340] ? vprintk_emit+0x320/0x3e0 [ 34.621999][ T340] vprintk_emit+0x37c/0x3e0 [ 34.622002][ T340] ? wake_up_klogd_work_func+0x90/0x90 [ 34.622005][ T340] ? __lock_acquire+0x518/0xc20 [ 34.622009][ T340] _printk+0xc7/0x100 [ 34.622013][ T340] ? snapshot_read.cold+0x21/0x21 [ 34.622014][ T340] ? lock_acquire.part.0+0xd4/0x280 [ 34.622018][ T340] ? rcu_is_watching+0x16/0xd0 [ 34.622020][ T340] ? netdev_name+0x43/0x60 [ 34.622023][ T340] ? __netdev_printk+0x17f/0x1d0 [ 34.622027][ T340] netdev_info+0xe2/0x116 [ 34.622029][ T340] ? netdev_notice+0x120/0x120 [ 34.622030][ T340] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 34.622033][ T340] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 34.622037][ T340] ? ww_mutex_lock+0x160/0x160 [ 34.622039][ T340] ? lock_acquire.part.0+0xd4/0x280 [ 34.622041][ T340] ? ref_tracker_alloc+0x430/0x430 [ 34.622044][ T340] ? packet_release+0x363/0xc40 [ 34.622046][ T340] ? __fput+0x363/0xac0 [ 34.622050][ T340] ? mutex_is_locked+0x1c/0x50 [ 34.622056][ T340] __dev_set_promiscuity.cold+0x7a/0x104 [ 34.622060][ T340] netif_set_promiscuity+0x4c/0xc0 [ 34.622065][ T340] dev_set_promiscuity+0xa1/0x230 [ 34.622069][ T340] packet_release+0x4cb/0xc40 [ 34.622073][ T340] ? packet_set_ring+0x1740/0x1740 [ 34.622076][ T340] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 34.622081][ T340] __sock_release+0xb8/0x280 [ 34.622085][ T340] sock_close+0x18/0x20 [ 34.622087][ T340] __fput+0x363/0xac0 [ 34.622092][ T340] fput_close_sync+0xde/0x1b0 [ 34.622094][ T340] ? alloc_file_clone+0xe0/0xe0 [ 34.622096][ T340] ? do_raw_spin_unlock+0x59/0x250 [ 34.622100][ T340] __x64_sys_close+0x8b/0xf0 [ 34.622102][ T340] do_syscall_64+0xff/0x530 [ 34.622104][ T340] ? exc_page_fault+0xee/0x100 [ 34.622107][ T340] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.622110][ T340] RIP: 0033:0x7f099113754e [ 34.622113][ T340] 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 [ 34.622115][ T340] RSP: 002b:00007ffc5ace1390 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 34.622118][ T340] RAX: ffffffffffffffda RBX: 0000555f71182690 RCX: 00007f099113754e [ 34.622119][ T340] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 34.622120][ T340] RBP: 00007ffc5ace13a0 R08: 0000000000000000 R09: 0000000000000000 [ 34.622121][ T340] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 34.622121][ T340] R13: 00000000fffffffe R14: 0000555f63a38760 R15: 0000000000000001 [ 34.622128][ T340] [ 36.316828][ T354] test_team1: Port device eth0 removed [ 36.316846][ T354] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 36.316849][ T354] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 354, name: ip [ 36.316850][ T354] preempt_count: 1, expected: 0 [ 36.316851][ T354] RCU nest depth: 0, expected: 0 [ 36.316852][ T354] locks held by ip/354: 5, last CPU#2: [ 36.316854][ T354] #0: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 36.316866][ T354] #1: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 36.316872][ T354] #2: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 36.316875][ T354] #3: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 36.316878][ T354] #4: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 36.316882][ T354] irq event stamp: 20206 [ 36.316882][ T354] hardirqs last enabled at (20205): [] __down_trylock_console_sem+0x86/0xa0 [ 36.316886][ T354] hardirqs last disabled at (20206): [] console_emit_next_record+0x3f8/0x4f0 [ 36.316888][ T354] softirqs last enabled at (20192): [] fib6_run_gc+0x162/0x250 [ 36.316891][ T354] softirqs last disabled at (20186): [] fib6_run_gc+0x1ac/0x250 [ 36.316893][ T354] Preemption disabled at: [ 36.316894][ T354] [] vprintk_emit+0x31b/0x3e0 [ 36.316899][ T354] CPU: 2 UID: 0 PID: 354 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 36.316902][ T354] Tainted: [W]=WARN [ 36.316903][ T354] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 36.316905][ T354] Call Trace: [ 36.316907][ T354] [ 36.316908][ T354] dump_stack_lvl+0x6f/0xa0 [ 36.316913][ T354] ? vprintk_emit+0x31b/0x3e0 [ 36.316915][ T354] __might_resched.cold+0x1fe/0x2c1 [ 36.316920][ T354] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 36.316924][ T354] ? __kmalloc_noprof+0xdb/0x760 [ 36.316929][ T354] __kmalloc_noprof+0x443/0x760 [ 36.316932][ T354] ? alloc_buf.isra.0+0x4b/0x260 [ 36.316938][ T354] ? do_raw_spin_unlock+0x59/0x250 [ 36.316940][ T354] alloc_buf.isra.0+0x4b/0x260 [ 36.316944][ T354] put_chars+0x1e1/0x2f0 [ 36.316947][ T354] ? __send_to_port+0x420/0x420 [ 36.316951][ T354] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.316954][ T354] ? rcu_read_lock_any_held+0x3c/0x90 [ 36.316957][ T354] ? validate_chain+0x38b/0xc20 [ 36.316962][ T354] hvc_console_print+0x292/0x780 [ 36.316966][ T354] ? mark_usage+0x61/0x170 [ 36.316968][ T354] ? __lock_acquire+0x518/0xc20 [ 36.316970][ T354] ? __lock_acquire+0x518/0xc20 [ 36.316974][ T354] ? hvc_write+0x3a0/0x3a0 [ 36.316976][ T354] ? console_emit_next_record+0x202/0x4f0 [ 36.316979][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.316981][ T354] ? lock_acquire+0x13c/0x160 [ 36.316985][ T354] console_emit_next_record+0x252/0x4f0 [ 36.316988][ T354] ? devkmsg_read+0x4e0/0x4e0 [ 36.316992][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.316994][ T354] ? lock_acquire+0x13c/0x160 [ 36.316998][ T354] console_flush_one_record+0x46f/0x710 [ 36.317002][ T354] ? console_emit_next_record+0x4f0/0x4f0 [ 36.317003][ T354] ? __lock_acquire+0x518/0xc20 [ 36.317008][ T354] console_unlock+0xee/0x1f0 [ 36.317011][ T354] ? console_flush_one_record+0x710/0x710 [ 36.317012][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.317014][ T354] ? lock_acquire+0x60/0x160 [ 36.317018][ T354] ? __down_trylock_console_sem+0x5e/0xa0 [ 36.317020][ T354] ? vprintk_emit+0x320/0x3e0 [ 36.317023][ T354] vprintk_emit+0x37c/0x3e0 [ 36.317026][ T354] ? wake_up_klogd_work_func+0x90/0x90 [ 36.317027][ T354] ? rtnl_newlink+0x9f1/0x11b0 [ 36.317029][ T354] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.317031][ T354] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.317033][ T354] ? look_up_lock_class+0x65/0x150 [ 36.317036][ T354] ? rcu_read_lock_any_held+0x3c/0x90 [ 36.317040][ T354] _printk+0xc7/0x100 [ 36.317043][ T354] ? snapshot_read.cold+0x21/0x21 [ 36.317047][ T354] ? __lock_acquire+0x518/0xc20 [ 36.317049][ T354] ? netdev_name+0x43/0x60 [ 36.317055][ T354] ? __netdev_printk+0x17f/0x1d0 [ 36.317058][ T354] netdev_info+0xe2/0x116 [ 36.317061][ T354] ? netdev_notice+0x120/0x120 [ 36.317065][ T354] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 36.317067][ T354] ? lockdep_hardirqs_on+0x91/0x130 [ 36.317069][ T354] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 36.317071][ T354] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 36.317073][ T354] ? kvfree_call_rcu+0x23b/0x2e0 [ 36.317079][ T354] team_port_del+0x61d/0xaa0 [ 36.317085][ T354] do_set_master+0x15c/0x780 [ 36.317089][ T354] do_setlink.isra.0+0x9ec/0x2a60 [ 36.317092][ T354] ? stack_trace_save+0x93/0xc0 [ 36.317096][ T354] ? rtnl_link_get_size+0x350/0x350 [ 36.317098][ T354] ? rcu_read_lock_any_held+0x66/0x90 [ 36.317100][ T354] ? stack_depot_save_flags+0x38e/0x790 [ 36.317103][ T354] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.317105][ T354] ? rcu_read_lock_any_held+0x3c/0x90 [ 36.317107][ T354] ? validate_chain+0x38b/0xc20 [ 36.317110][ T354] ? kasan_save_stack+0x3d/0x50 [ 36.317112][ T354] ? kasan_save_stack+0x2f/0x50 [ 36.317113][ T354] ? kasan_save_track+0x14/0x30 [ 36.317116][ T354] ? __lock_acquire+0x518/0xc20 [ 36.317118][ T354] ? netlink_seq_next+0x5e/0x60 [ 36.317121][ T354] ? ___sys_sendmsg+0xc0/0x1d0 [ 36.317125][ T354] ? lock_acquire.part.0+0xd4/0x280 [ 36.317128][ T354] ? rtnl_newlink+0x9a8/0x11b0 [ 36.317131][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.317132][ T354] ? lock_acquire+0x13c/0x160 [ 36.317134][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.317136][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.317137][ T354] ? trace_contention_end+0xb3/0x180 [ 36.317140][ T354] ? __mutex_lock+0x1db/0x1ea0 [ 36.317141][ T354] ? __mutex_lock+0x9a3/0x1ea0 [ 36.317143][ T354] ? rtnl_newlink+0x9a8/0x11b0 [ 36.317147][ T354] ? ww_mutex_lock+0x160/0x160 [ 36.317149][ T354] ? nla_get_range_signed+0x3d0/0x3d0 [ 36.317155][ T354] ? __rtnl_newlink+0x3fa/0xa50 [ 36.317160][ T354] rtnl_newlink+0x9f1/0x11b0 [ 36.317166][ T354] ? rtnl_bridge_getlink+0x850/0x850 [ 36.317168][ T354] ? __lock_acquire+0x518/0xc20 [ 36.317173][ T354] ? lock_acquire.part.0+0xd4/0x280 [ 36.317175][ T354] ? find_held_lock+0x2b/0x80 [ 36.317177][ T354] ? rtnl_bridge_getlink+0x850/0x850 [ 36.317179][ T354] ? __lock_release.isra.0+0x69/0x1a0 [ 36.317183][ T354] ? rtnl_bridge_getlink+0x850/0x850 [ 36.317186][ T354] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 36.317189][ T354] ? rtnl_link_fill+0x900/0x900 [ 36.317191][ T354] ? __lock_acquire+0x518/0xc20 [ 36.317195][ T354] ? lock_acquire.part.0+0xd4/0x280 [ 36.317197][ T354] ? find_held_lock+0x2b/0x80 [ 36.317201][ T354] netlink_rcv_skb+0x14e/0x3a0 [ 36.317203][ T354] ? rtnl_link_fill+0x900/0x900 [ 36.317206][ T354] ? netlink_ack+0xcd0/0xcd0 [ 36.317212][ T354] ? netlink_deliver_tap+0xc5/0x330 [ 36.317214][ T354] ? netlink_deliver_tap+0x13c/0x330 [ 36.317218][ T354] netlink_unicast+0x486/0x750 [ 36.317222][ T354] ? netlink_attachskb+0x810/0x810 [ 36.317224][ T354] ? __lock_acquire+0x518/0xc20 [ 36.317228][ T354] netlink_sendmsg+0x735/0xc60 [ 36.317232][ T354] ? netlink_unicast+0x750/0x750 [ 36.317236][ T354] ? __might_fault+0x97/0x140 [ 36.317241][ T354] ____sys_sendmsg+0x415/0x880 [ 36.317243][ T354] ? copy_msghdr_from_user+0x279/0x420 [ 36.317245][ T354] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 36.317247][ T354] ? move_addr_to_kernel+0x40/0x40 [ 36.317254][ T354] ___sys_sendmsg+0x14e/0x1d0 [ 36.317256][ T354] ? copy_msghdr_from_user+0x420/0x420 [ 36.317271][ T354] __sys_sendmsg+0x12c/0x1d0 [ 36.317274][ T354] ? __sys_sendmsg_sock+0x20/0x20 [ 36.317280][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.317283][ T354] do_syscall_64+0xff/0x530 [ 36.317284][ T354] ? exc_page_fault+0xee/0x100 [ 36.317287][ T354] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 36.317290][ T354] RIP: 0033:0x7fcb36ea854e [ 36.317293][ T354] 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 [ 36.317295][ T354] RSP: 002b:00007fff39df0300 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 36.317298][ T354] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fcb36ea854e [ 36.317299][ T354] RDX: 0000000000000000 RSI: 00007fff39df03b0 RDI: 0000000000000005 [ 36.317300][ T354] RBP: 00007fff39df0310 R08: 0000000000000000 R09: 0000000000000000 [ 36.317301][ T354] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a91336d [ 36.317302][ T354] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fff39df0a80 [ 36.317308][ T354] [ 36.491260][ T358] test_team1: Mode changed to "random" [ 36.523861][ T359] test_team1: Port device eth0 added [ 37.238877][ T367] eth0: entered promiscuous mode [ 39.686633][ T367] eth0: left promiscuous mode [ 39.686659][ T367] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.686661][ T367] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 367, name: tcpdump [ 39.686663][ T367] preempt_count: 1, expected: 0 [ 39.686664][ T367] RCU nest depth: 0, expected: 0 [ 39.686665][ T367] locks held by tcpdump/367: 6, last CPU#0: [ 39.686668][ T367] #0: ff1100000d1ca1b8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 39.686681][ T367] #1: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 39.686687][ T367] #2: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.686692][ T367] #3: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.686695][ T367] #4: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.686698][ T367] #5: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 39.686702][ T367] irq event stamp: 55512 [ 39.686703][ T367] hardirqs last enabled at (55511): [] __down_trylock_console_sem+0x86/0xa0 [ 39.686706][ T367] hardirqs last disabled at (55512): [] console_emit_next_record+0x3f8/0x4f0 [ 39.686708][ T367] softirqs last enabled at (55360): [] packet_setsockopt+0xcdf/0x21e0 [ 39.686710][ T367] softirqs last disabled at (55358): [] release_sock+0x21/0x240 [ 39.686714][ T367] Preemption disabled at: [ 39.686714][ T367] [] vprintk_emit+0x31b/0x3e0 [ 39.686720][ T367] CPU: 0 UID: 72 PID: 367 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.686723][ T367] Tainted: [W]=WARN [ 39.686724][ T367] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.686726][ T367] Call Trace: [ 39.686727][ T367] [ 39.686729][ T367] dump_stack_lvl+0x6f/0xa0 [ 39.686734][ T367] ? vprintk_emit+0x31b/0x3e0 [ 39.686736][ T367] __might_resched.cold+0x1fe/0x2c1 [ 39.686741][ T367] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.686744][ T367] ? __kmalloc_noprof+0xdb/0x760 [ 39.686750][ T367] __kmalloc_noprof+0x443/0x760 [ 39.686753][ T367] ? alloc_buf.isra.0+0x4b/0x260 [ 39.686759][ T367] ? do_raw_spin_unlock+0x59/0x250 [ 39.686761][ T367] alloc_buf.isra.0+0x4b/0x260 [ 39.686765][ T367] put_chars+0x1e1/0x2f0 [ 39.686768][ T367] ? __send_to_port+0x420/0x420 [ 39.686772][ T367] ? validate_chain+0x38b/0xc20 [ 39.686777][ T367] hvc_console_print+0x292/0x780 [ 39.686785][ T367] ? hvc_write+0x3a0/0x3a0 [ 39.686788][ T367] ? rcu_is_watching+0x16/0xd0 [ 39.686791][ T367] ? lock_acquire+0x13c/0x160 [ 39.686795][ T367] console_emit_next_record+0x252/0x4f0 [ 39.686799][ T367] ? devkmsg_read+0x4e0/0x4e0 [ 39.686803][ T367] ? rcu_is_watching+0x16/0xd0 [ 39.686805][ T367] ? lock_acquire+0x13c/0x160 [ 39.686809][ T367] console_flush_one_record+0x46f/0x710 [ 39.686813][ T367] ? console_emit_next_record+0x4f0/0x4f0 [ 39.686814][ T367] ? __lock_acquire+0x518/0xc20 [ 39.686820][ T367] console_unlock+0xee/0x1f0 [ 39.686822][ T367] ? console_flush_one_record+0x710/0x710 [ 39.686824][ T367] ? rcu_is_watching+0x16/0xd0 [ 39.686826][ T367] ? lock_acquire+0x60/0x160 [ 39.686829][ T367] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.686831][ T367] ? vprintk_emit+0x320/0x3e0 [ 39.686834][ T367] vprintk_emit+0x37c/0x3e0 [ 39.686837][ T367] ? wake_up_klogd_work_func+0x90/0x90 [ 39.686841][ T367] ? __lock_acquire+0x518/0xc20 [ 39.686844][ T367] _printk+0xc7/0x100 [ 39.686848][ T367] ? snapshot_read.cold+0x21/0x21 [ 39.686850][ T367] ? lock_acquire.part.0+0xd4/0x280 [ 39.686854][ T367] ? rcu_is_watching+0x16/0xd0 [ 39.686855][ T367] ? netdev_name+0x43/0x60 [ 39.686858][ T367] ? __netdev_printk+0x17f/0x1d0 [ 39.686862][ T367] netdev_info+0xe2/0x116 [ 39.686864][ T367] ? netdev_notice+0x120/0x120 [ 39.686865][ T367] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 39.686868][ T367] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 39.686872][ T367] ? ww_mutex_lock+0x160/0x160 [ 39.686874][ T367] ? lock_acquire.part.0+0xd4/0x280 [ 39.686876][ T367] ? ref_tracker_alloc+0x430/0x430 [ 39.686880][ T367] ? packet_release+0x363/0xc40 [ 39.686882][ T367] ? __fput+0x363/0xac0 [ 39.686885][ T367] ? mutex_is_locked+0x1c/0x50 [ 39.686887][ T367] __dev_set_promiscuity.cold+0x7a/0x104 [ 39.686892][ T367] netif_set_promiscuity+0x4c/0xc0 [ 39.686897][ T367] dev_set_promiscuity+0xa1/0x230 [ 39.686900][ T367] packet_release+0x4cb/0xc40 [ 39.686905][ T367] ? packet_set_ring+0x1740/0x1740 [ 39.686908][ T367] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 39.686913][ T367] __sock_release+0xb8/0x280 [ 39.686916][ T367] sock_close+0x18/0x20 [ 39.686919][ T367] __fput+0x363/0xac0 [ 39.686924][ T367] fput_close_sync+0xde/0x1b0 [ 39.686926][ T367] ? alloc_file_clone+0xe0/0xe0 [ 39.686928][ T367] ? do_raw_spin_unlock+0x59/0x250 [ 39.686932][ T367] __x64_sys_close+0x8b/0xf0 [ 39.686934][ T367] do_syscall_64+0xff/0x530 [ 39.686936][ T367] ? irq_exit_rcu+0x1a/0x30 [ 39.686941][ T367] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 39.686943][ T367] RIP: 0033:0x7f9d460a254e [ 39.686947][ T367] 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 [ 39.686949][ T367] RSP: 002b:00007ffc12ffad60 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 39.686951][ T367] RAX: ffffffffffffffda RBX: 0000555f77b43690 RCX: 00007f9d460a254e [ 39.686952][ T367] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 39.686953][ T367] RBP: 00007ffc12ffad70 R08: 0000000000000000 R09: 0000000000000000 [ 39.686954][ T367] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 39.686955][ T367] R13: 00000000fffffffe R14: 0000555f41022760 R15: 0000000000000001 [ 39.686961][ T367] [ 41.538103][ T12] test_team1 (unregistering): Port device eth0 removed [ 41.538151][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.538153][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 41.538155][ T12] preempt_count: 1, expected: 0 [ 41.538156][ T12] RCU nest depth: 0, expected: 0 [ 41.538157][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 41.538158][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 41.538170][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 41.538173][ T12] #2: ffffffffb1f06b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 41.538178][ T12] #3: ffffffffb1f22700 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 41.538183][ T12] #4: ffffffffb1799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.538187][ T12] #5: ffffffffb1799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.538190][ T12] #6: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.538193][ T12] #7: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 41.538197][ T12] irq event stamp: 21076 [ 41.538198][ T12] hardirqs last enabled at (21075): [] __down_trylock_console_sem+0x86/0xa0 [ 41.538201][ T12] hardirqs last disabled at (21076): [] console_emit_next_record+0x3f8/0x4f0 [ 41.538203][ T12] softirqs last enabled at (21058): [] fib6_run_gc+0x162/0x250 [ 41.538206][ T12] softirqs last disabled at (21052): [] fib6_run_gc+0x1ac/0x250 [ 41.538208][ T12] Preemption disabled at: [ 41.538208][ T12] [] vprintk_emit+0x31b/0x3e0 [ 41.538214][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.538217][ T12] Tainted: [W]=WARN [ 41.538218][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.538220][ T12] Workqueue: netns cleanup_net [ 41.538223][ T12] Call Trace: [ 41.538225][ T12] [ 41.538227][ T12] dump_stack_lvl+0x6f/0xa0 [ 41.538232][ T12] ? vprintk_emit+0x31b/0x3e0 [ 41.538233][ T12] __might_resched.cold+0x1fe/0x2c1 [ 41.538238][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.538242][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 41.538247][ T12] __kmalloc_noprof+0x443/0x760 [ 41.538250][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 41.538256][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 41.538258][ T12] alloc_buf.isra.0+0x4b/0x260 [ 41.538261][ T12] put_chars+0x1e1/0x2f0 [ 41.538265][ T12] ? __send_to_port+0x420/0x420 [ 41.538267][ T12] ? check_prev_add+0xef/0xe90 [ 41.538272][ T12] ? validate_chain+0x34a/0xc20 [ 41.538276][ T12] hvc_console_print+0x292/0x780 [ 41.538279][ T12] ? mark_usage+0x61/0x170 [ 41.538281][ T12] ? __lock_acquire+0x518/0xc20 [ 41.538283][ T12] ? __lock_acquire+0x518/0xc20 [ 41.538288][ T12] ? hvc_write+0x3a0/0x3a0 [ 41.538289][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 41.538294][ T12] ? lock_acquire+0x13c/0x160 [ 41.538298][ T12] console_emit_next_record+0x252/0x4f0 [ 41.538302][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 41.538306][ T12] ? rcu_is_watching+0x16/0xd0 [ 41.538309][ T12] ? lock_acquire+0x13c/0x160 [ 41.538313][ T12] console_flush_one_record+0x46f/0x710 [ 41.538317][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 41.538319][ T12] ? __lock_acquire+0x518/0xc20 [ 41.538325][ T12] console_unlock+0xee/0x1f0 [ 41.538327][ T12] ? console_flush_one_record+0x710/0x710 [ 41.538328][ T12] ? rcu_is_watching+0x16/0xd0 [ 41.538330][ T12] ? lock_acquire+0x60/0x160 [ 41.538334][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.538336][ T12] ? vprintk_emit+0x320/0x3e0 [ 41.538339][ T12] vprintk_emit+0x37c/0x3e0 [ 41.538343][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 41.538344][ T12] ? default_device_exit_batch+0x38b/0x600 [ 41.538346][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.538348][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.538350][ T12] ? look_up_lock_class+0x65/0x150 [ 41.538353][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.538358][ T12] _printk+0xc7/0x100 [ 41.538361][ T12] ? snapshot_read.cold+0x21/0x21 [ 41.538365][ T12] ? __lock_acquire+0x518/0xc20 [ 41.538367][ T12] ? netdev_name+0x43/0x60 [ 41.538370][ T12] ? __netdev_printk+0x17f/0x1d0 [ 41.538374][ T12] netdev_info+0xe2/0x116 [ 41.538376][ T12] ? netdev_notice+0x120/0x120 [ 41.538381][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 41.538383][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 41.538384][ T12] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 41.538387][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 41.538389][ T12] ? kvfree_call_rcu+0x23b/0x2e0 [ 41.538394][ T12] team_port_del+0x61d/0xaa0 [ 41.538400][ T12] team_uninit+0xc4/0x1f0 [ 41.538403][ T12] unregister_netdevice_many_notify+0xee7/0x1b40 [ 41.538409][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 41.538417][ T12] default_device_exit_batch+0x38b/0x600 [ 41.538419][ T12] ? generic_xdp_install+0x470/0x470 [ 41.538422][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 41.538425][ T12] ? rtnl_is_locked+0x15/0x20 [ 41.538427][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 41.538433][ T12] ops_undo_list+0x2ce/0x8f0 [ 41.538436][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 41.538438][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 41.538439][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 41.538443][ T12] ? idr_destroy+0x121/0x250 [ 41.538448][ T12] cleanup_net+0x431/0x890 [ 41.538450][ T12] ? net_passive_dec+0x230/0x230 [ 41.538454][ T12] ? lock_acquire+0x13c/0x160 [ 41.538456][ T12] ? rcu_is_watching+0x16/0xd0 [ 41.538460][ T12] process_one_work+0xe3e/0x1560 [ 41.538466][ T12] ? __queue_delayed_work+0x470/0x470 [ 41.538468][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 41.538476][ T12] worker_thread+0x4f1/0xd60 [ 41.538482][ T12] ? rescuer_thread+0x1340/0x1340 [ 41.538484][ T12] kthread+0x367/0x460 [ 41.538487][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.538490][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.538493][ T12] ret_from_fork+0x474/0x6b0 [ 41.538497][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 41.538501][ T12] ? __switch_to+0x5a3/0xe00 [ 41.538504][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.538507][ T12] ret_from_fork_asm+0x11/0x20 [ 41.538516][ T12] [ 41.580902][ T12] test_team2: Port device eth0 removed