[ 10.890942][ T212] test_team2: Mode changed to "roundrobin" [ 10.891005][ T212] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.891007][ T212] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 212, name: teamnl [ 10.891009][ T212] preempt_count: 1, expected: 0 [ 10.891010][ T212] RCU nest depth: 0, expected: 0 [ 10.891011][ T212] locks held by teamnl/212: 7, last CPU#2: [ 10.891013][ T212] #0: ffffffffb1b87708 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 10.891025][ T212] #1: ffffffffb1b877c0 (genl_mutex){+.+.}-{4:4}, at: genl_rcv_msg+0x128/0x160 [ 10.891029][ T212] #2: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: team_nl_options_set_doit+0xa7/0xd00 [ 10.891034][ T212] #3: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.891040][ T212] #4: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.891043][ T212] #5: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.891046][ T212] #6: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.891049][ T212] irq event stamp: 51488 [ 10.891050][ T212] hardirqs last enabled at (51487): [] __down_trylock_console_sem+0x86/0xa0 [ 10.891054][ T212] hardirqs last disabled at (51488): [] console_emit_next_record+0x3f8/0x4f0 [ 10.891055][ T212] softirqs last enabled at (51464): [] __alloc_skb+0x4c5/0x5f0 [ 10.891058][ T212] softirqs last disabled at (51462): [] __alloc_skb+0x4c5/0x5f0 [ 10.891061][ T212] Preemption disabled at: [ 10.891061][ T212] [] vprintk_emit+0x31b/0x3e0 [ 10.891067][ T212] CPU: 2 UID: 0 PID: 212 Comm: teamnl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.891070][ T212] Tainted: [W]=WARN [ 10.891071][ T212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.891073][ T212] Call Trace: [ 10.891075][ T212] [ 10.891076][ T212] dump_stack_lvl+0x6f/0xa0 [ 10.891081][ T212] ? vprintk_emit+0x31b/0x3e0 [ 10.891083][ T212] __might_resched.cold+0x1fe/0x2c1 [ 10.891088][ T212] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.891091][ T212] ? __kmalloc_noprof+0xdb/0x760 [ 10.891097][ T212] __kmalloc_noprof+0x443/0x760 [ 10.891100][ T212] ? alloc_buf.isra.0+0x4b/0x260 [ 10.891107][ T212] ? do_raw_spin_unlock+0x59/0x250 [ 10.891109][ T212] alloc_buf.isra.0+0x4b/0x260 [ 10.891112][ T212] put_chars+0x1e1/0x2f0 [ 10.891116][ T212] ? __send_to_port+0x420/0x420 [ 10.891120][ T212] ? validate_chain+0x34a/0xc20 [ 10.891125][ T212] hvc_console_print+0x292/0x780 [ 10.891129][ T212] ? __lock_acquire+0x518/0xc20 [ 10.891135][ T212] ? hvc_write+0x3a0/0x3a0 [ 10.891138][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.891144][ T212] console_emit_next_record+0x252/0x4f0 [ 10.891147][ T212] ? devkmsg_read+0x4e0/0x4e0 [ 10.891152][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.891153][ T212] ? lock_acquire+0x13c/0x160 [ 10.891158][ T212] console_flush_one_record+0x46f/0x710 [ 10.891162][ T212] ? console_emit_next_record+0x4f0/0x4f0 [ 10.891163][ T212] ? __lock_acquire+0x518/0xc20 [ 10.891169][ T212] console_unlock+0xee/0x1f0 [ 10.891171][ T212] ? console_flush_one_record+0x710/0x710 [ 10.891173][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.891175][ T212] ? lock_acquire+0x60/0x160 [ 10.891179][ T212] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.891181][ T212] ? vprintk_emit+0x320/0x3e0 [ 10.891184][ T212] vprintk_emit+0x37c/0x3e0 [ 10.891187][ T212] ? wake_up_klogd_work_func+0x90/0x90 [ 10.891189][ T212] ? save_trace+0x68/0x280 [ 10.891192][ T212] ? add_lock_to_list+0x2c/0x1a0 [ 10.891196][ T212] _printk+0xc7/0x100 [ 10.891199][ T212] ? snapshot_read.cold+0x21/0x21 [ 10.891202][ T212] ? validate_chain+0x34a/0xc20 [ 10.891205][ T212] ? netdev_name+0x43/0x60 [ 10.891208][ T212] ? __netdev_printk+0x17f/0x1d0 [ 10.891212][ T212] netdev_info+0xe2/0x116 [ 10.891214][ T212] ? netdev_notice+0x120/0x120 [ 10.891216][ T212] ? lock_acquire.part.0+0xd4/0x280 [ 10.891220][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 10.891222][ T212] ? __rwlock_init+0x150/0x150 [ 10.891225][ T212] ? do_raw_spin_unlock+0x59/0x250 [ 10.891228][ T212] team_mode_option_set.cold+0x45/0xe3 [ 10.891233][ T212] team_nl_options_set_doit+0x59d/0xd00 [ 10.891239][ T212] ? team_nl_options_get_doit+0x3e0/0x3e0 [ 10.891241][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.891248][ T212] ? __nla_parse+0x22/0x30 [ 10.891252][ T212] ? genl_family_rcv_msg_attrs_parse.isra.0+0x189/0x330 [ 10.891257][ T212] ? genl_family_rcv_msg_doit+0x206/0x300 [ 10.891259][ T212] genl_family_rcv_msg_doit+0x206/0x300 [ 10.891262][ T212] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 10.891268][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.891270][ T212] ? cap_capable+0x1d7/0x3d0 [ 10.891273][ T212] ? write_profile+0xf0/0xf0 [ 10.891276][ T212] ? unwind_get_return_address+0x67/0xd0 [ 10.891281][ T212] genl_family_rcv_msg+0x3a4/0x640 [ 10.891285][ T212] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 10.891288][ T212] ? team_nl_options_get_doit+0x3e0/0x3e0 [ 10.891290][ T212] ? __lock_acquire+0x518/0xc20 [ 10.891296][ T212] genl_rcv_msg+0xbb/0x160 [ 10.891299][ T212] netlink_rcv_skb+0x14e/0x3a0 [ 10.891301][ T212] ? genl_family_rcv_msg+0x640/0x640 [ 10.891304][ T212] ? netlink_ack+0xcd0/0xcd0 [ 10.891312][ T212] ? netlink_deliver_tap+0xc5/0x330 [ 10.891313][ T212] ? netlink_deliver_tap+0x13c/0x330 [ 10.891317][ T212] genl_rcv+0x28/0x40 [ 10.891319][ T212] netlink_unicast+0x486/0x750 [ 10.891323][ T212] ? netlink_attachskb+0x810/0x810 [ 10.891326][ T212] ? __lock_acquire+0x518/0xc20 [ 10.891330][ T212] netlink_sendmsg+0x735/0xc60 [ 10.891334][ T212] ? netlink_unicast+0x750/0x750 [ 10.891338][ T212] ? __might_fault+0x97/0x140 [ 10.891345][ T212] ____sys_sendmsg+0x415/0x880 [ 10.891347][ T212] ? copy_msghdr_from_user+0x279/0x420 [ 10.891349][ T212] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 10.891351][ T212] ? move_addr_to_kernel+0x40/0x40 [ 10.891355][ T212] ? do_fault_around+0x300/0x5a0 [ 10.891357][ T212] ? find_held_lock+0x2b/0x80 [ 10.891361][ T212] ___sys_sendmsg+0x14e/0x1d0 [ 10.891363][ T212] ? do_pte_missing+0x86f/0xcc0 [ 10.891365][ T212] ? copy_msghdr_from_user+0x420/0x420 [ 10.891367][ T212] ? rcu_read_unlock+0x20/0x70 [ 10.891383][ T212] __sys_sendmsg+0x12c/0x1d0 [ 10.891386][ T212] ? __sys_sendmsg_sock+0x20/0x20 [ 10.891391][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.891393][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.891397][ T212] do_syscall_64+0xff/0x530 [ 10.891399][ T212] ? exc_page_fault+0xee/0x100 [ 10.891403][ T212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.891405][ T212] RIP: 0033:0x7f7e0dc3054e [ 10.891409][ T212] 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.891411][ T212] RSP: 002b:00007fffd579d990 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 10.891414][ T212] RAX: ffffffffffffffda RBX: 00005618d6e879d0 RCX: 00007f7e0dc3054e [ 10.891415][ T212] RDX: 0000000000000000 RSI: 00007fffd579da30 RDI: 0000000000000006 [ 10.891416][ T212] RBP: 00007fffd579d9a0 R08: 0000000000000000 R09: 0000000000000000 [ 10.891417][ T212] R10: 0000000000000000 R11: 0000000000000202 R12: 00005618d6e87de0 [ 10.891418][ T212] R13: 00007fffd579da30 R14: 00005618d6e878e0 R15: 0000000000000000 [ 10.891424][ T212] [ 10.936702][ T212] teamnl (212) used greatest stack depth: 23912 bytes left [ 10.972144][ T213] test_team2: Port device eth0 added [ 11.241597][ T221] test_team1: Mode changed to "broadcast" [ 11.280954][ T222] test_team1: Port device eth0 added [ 12.150263][ T229] eth0: entered promiscuous mode [ 12.150286][ T229] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.150288][ T229] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 229, name: tcpdump [ 12.150291][ T229] preempt_count: 1, expected: 0 [ 12.150292][ T229] RCU nest depth: 0, expected: 0 [ 12.150294][ T229] locks held by tcpdump/229: 5, last CPU#2: [ 12.150297][ T229] #0: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 12.150312][ T229] #1: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.150319][ T229] #2: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.150324][ T229] #3: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.150329][ T229] #4: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.150335][ T229] irq event stamp: 40176 [ 12.150337][ T229] hardirqs last enabled at (40175): [] __down_trylock_console_sem+0x86/0xa0 [ 12.150342][ T229] hardirqs last disabled at (40176): [] console_emit_next_record+0x3f8/0x4f0 [ 12.150344][ T229] softirqs last enabled at (40148): [] packet_do_bind+0x4b2/0xc80 [ 12.150347][ T229] softirqs last disabled at (40146): [] release_sock+0x21/0x240 [ 12.150353][ T229] Preemption disabled at: [ 12.150354][ T229] [] vprintk_emit+0x31b/0x3e0 [ 12.150361][ T229] CPU: 2 UID: 0 PID: 229 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.150366][ T229] Tainted: [W]=WARN [ 12.150367][ T229] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.150369][ T229] Call Trace: [ 12.150372][ T229] [ 12.150374][ T229] dump_stack_lvl+0x6f/0xa0 [ 12.150381][ T229] ? vprintk_emit+0x31b/0x3e0 [ 12.150384][ T229] __might_resched.cold+0x1fe/0x2c1 [ 12.150390][ T229] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.150396][ T229] ? __kmalloc_noprof+0xdb/0x760 [ 12.150403][ T229] __kmalloc_noprof+0x443/0x760 [ 12.150407][ T229] ? alloc_buf.isra.0+0x4b/0x260 [ 12.150416][ T229] ? do_raw_spin_unlock+0x59/0x250 [ 12.150419][ T229] alloc_buf.isra.0+0x4b/0x260 [ 12.150425][ T229] put_chars+0x1e1/0x2f0 [ 12.150429][ T229] ? __send_to_port+0x420/0x420 [ 12.150431][ T229] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.150437][ T229] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.150441][ T229] ? validate_chain+0x38b/0xc20 [ 12.150449][ T229] hvc_console_print+0x292/0x780 [ 12.150453][ T229] ? __lock_acquire+0x518/0xc20 [ 12.150461][ T229] ? hvc_write+0x3a0/0x3a0 [ 12.150465][ T229] ? rcu_is_watching+0x16/0xd0 [ 12.150472][ T229] console_emit_next_record+0x252/0x4f0 [ 12.150477][ T229] ? devkmsg_read+0x4e0/0x4e0 [ 12.150482][ T229] ? rcu_is_watching+0x16/0xd0 [ 12.150485][ T229] ? lock_acquire+0x13c/0x160 [ 12.150491][ T229] console_flush_one_record+0x46f/0x710 [ 12.150496][ T229] ? console_emit_next_record+0x4f0/0x4f0 [ 12.150498][ T229] ? __lock_acquire+0x518/0xc20 [ 12.150506][ T229] console_unlock+0xee/0x1f0 [ 12.150509][ T229] ? console_flush_one_record+0x710/0x710 [ 12.150511][ T229] ? rcu_is_watching+0x16/0xd0 [ 12.150513][ T229] ? lock_acquire+0x60/0x160 [ 12.150519][ T229] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.150521][ T229] ? vprintk_emit+0x320/0x3e0 [ 12.150525][ T229] vprintk_emit+0x37c/0x3e0 [ 12.150530][ T229] ? wake_up_klogd_work_func+0x90/0x90 [ 12.150532][ T229] ? kasan_save_stack+0x3d/0x50 [ 12.150535][ T229] ? kasan_save_track+0x14/0x30 [ 12.150537][ T229] ? __kasan_kmalloc+0x7b/0x90 [ 12.150538][ T229] ? __kmalloc_cache_noprof+0x29a/0x620 [ 12.150540][ T229] ? packet_mc_add+0x13b/0x890 [ 12.150542][ T229] ? packet_setsockopt+0x1953/0x21e0 [ 12.150545][ T229] ? do_sock_setsockopt+0x115/0x490 [ 12.150550][ T229] _printk+0xc7/0x100 [ 12.150554][ T229] ? snapshot_read.cold+0x21/0x21 [ 12.150560][ T229] ? netdev_name+0x43/0x60 [ 12.150564][ T229] ? __netdev_printk+0x17f/0x1d0 [ 12.150569][ T229] netdev_info+0xe2/0x116 [ 12.150572][ T229] ? netdev_notice+0x120/0x120 [ 12.150582][ T229] ? mutex_is_locked+0x1c/0x50 [ 12.150586][ T229] __dev_set_promiscuity.cold+0x7a/0x104 [ 12.150592][ T229] netif_set_promiscuity+0x4c/0xc0 [ 12.150597][ T229] dev_set_promiscuity+0xa1/0x230 [ 12.150600][ T229] ? __asan_memset+0x27/0x50 [ 12.150604][ T229] packet_mc_add+0x54e/0x890 [ 12.150607][ T229] ? __might_fault+0x97/0x140 [ 12.150612][ T229] ? __might_fault+0x97/0x140 [ 12.150616][ T229] ? _copy_from_user+0x42/0x90 [ 12.150621][ T229] packet_setsockopt+0x1953/0x21e0 [ 12.150626][ T229] ? packet_bind+0x170/0x170 [ 12.150631][ T229] ? do_sock_getsockopt+0x6f6/0xb20 [ 12.150638][ T229] ? sock_poll+0x6b0/0x6b0 [ 12.150643][ T229] ? rcu_is_watching+0x16/0xd0 [ 12.150646][ T229] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.150650][ T229] ? __local_bh_enable_ip+0xaa/0x150 [ 12.150656][ T229] do_sock_setsockopt+0x115/0x490 [ 12.150660][ T229] ? put_user_ifreq+0x90/0x90 [ 12.150662][ T229] ? rcu_is_watching+0x16/0xd0 [ 12.150671][ T229] __sys_setsockopt+0xe4/0x150 [ 12.150678][ T229] __x64_sys_setsockopt+0xbd/0x180 [ 12.150680][ T229] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.150683][ T229] ? lockdep_hardirqs_on+0x91/0x130 [ 12.150686][ T229] ? do_syscall_64+0xa6/0x530 [ 12.150688][ T229] do_syscall_64+0xff/0x530 [ 12.150690][ T229] ? exc_page_fault+0xee/0x100 [ 12.150693][ T229] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.150696][ T229] RIP: 0033:0x7fab0156d2de [ 12.150701][ T229] 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 [ 12.150703][ T229] RSP: 002b:00007ffc1ac237b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 12.150706][ T229] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fab0156d2de [ 12.150707][ T229] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 12.150709][ T229] RBP: 00007ffc1ac238f0 R08: 0000000000000010 R09: 00005583bb607530 [ 12.150710][ T229] R10: 00007ffc1ac23830 R11: 0000000000000246 R12: 0000000000000001 [ 12.150711][ T229] R13: 00005583bb607918 R14: 00005583bb607690 R15: 0000000000000000 [ 12.150721][ T229] [ 14.500799][ T229] eth0: left promiscuous mode [ 14.500871][ T229] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.500874][ T229] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 229, name: tcpdump [ 14.500875][ T229] preempt_count: 1, expected: 0 [ 14.500876][ T229] RCU nest depth: 0, expected: 0 [ 14.500877][ T229] locks held by tcpdump/229: 6, last CPU#1: [ 14.500880][ T229] #0: ff1100000d19c0f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 14.500892][ T229] #1: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 14.500899][ T229] #2: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.500905][ T229] #3: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.500908][ T229] #4: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.500911][ T229] #5: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.500915][ T229] irq event stamp: 61716 [ 14.500916][ T229] hardirqs last enabled at (61715): [] __down_trylock_console_sem+0x86/0xa0 [ 14.500919][ T229] hardirqs last disabled at (61716): [] console_emit_next_record+0x3f8/0x4f0 [ 14.500921][ T229] softirqs last enabled at (61556): [] packet_setsockopt+0xcdf/0x21e0 [ 14.500923][ T229] softirqs last disabled at (61554): [] release_sock+0x21/0x240 [ 14.500927][ T229] Preemption disabled at: [ 14.500927][ T229] [] vprintk_emit+0x31b/0x3e0 [ 14.500933][ T229] CPU: 1 UID: 72 PID: 229 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.500936][ T229] Tainted: [W]=WARN [ 14.500937][ T229] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.500938][ T229] Call Trace: [ 14.500940][ T229] [ 14.500942][ T229] dump_stack_lvl+0x6f/0xa0 [ 14.500947][ T229] ? vprintk_emit+0x31b/0x3e0 [ 14.500949][ T229] __might_resched.cold+0x1fe/0x2c1 [ 14.500954][ T229] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.500957][ T229] ? __kmalloc_noprof+0xdb/0x760 [ 14.500962][ T229] __kmalloc_noprof+0x443/0x760 [ 14.500965][ T229] ? alloc_buf.isra.0+0x4b/0x260 [ 14.500971][ T229] ? do_raw_spin_unlock+0x59/0x250 [ 14.500973][ T229] alloc_buf.isra.0+0x4b/0x260 [ 14.500977][ T229] put_chars+0x1e1/0x2f0 [ 14.500980][ T229] ? check_prev_add+0xef/0xe90 [ 14.500983][ T229] ? __send_to_port+0x420/0x420 [ 14.500986][ T229] ? validate_chain+0x34a/0xc20 [ 14.500991][ T229] hvc_console_print+0x292/0x780 [ 14.500999][ T229] ? hvc_write+0x3a0/0x3a0 [ 14.501002][ T229] ? rcu_is_watching+0x16/0xd0 [ 14.501006][ T229] ? lock_acquire+0x13c/0x160 [ 14.501010][ T229] console_emit_next_record+0x252/0x4f0 [ 14.501014][ T229] ? devkmsg_read+0x4e0/0x4e0 [ 14.501018][ T229] ? rcu_is_watching+0x16/0xd0 [ 14.501019][ T229] ? lock_acquire+0x13c/0x160 [ 14.501024][ T229] console_flush_one_record+0x46f/0x710 [ 14.501028][ T229] ? console_emit_next_record+0x4f0/0x4f0 [ 14.501029][ T229] ? __lock_acquire+0x518/0xc20 [ 14.501035][ T229] console_unlock+0xee/0x1f0 [ 14.501037][ T229] ? console_flush_one_record+0x710/0x710 [ 14.501039][ T229] ? rcu_is_watching+0x16/0xd0 [ 14.501041][ T229] ? lock_acquire+0x60/0x160 [ 14.501045][ T229] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.501047][ T229] ? vprintk_emit+0x320/0x3e0 [ 14.501050][ T229] vprintk_emit+0x37c/0x3e0 [ 14.501053][ T229] ? wake_up_klogd_work_func+0x90/0x90 [ 14.501057][ T229] ? __lock_acquire+0x518/0xc20 [ 14.501060][ T229] _printk+0xc7/0x100 [ 14.501064][ T229] ? snapshot_read.cold+0x21/0x21 [ 14.501066][ T229] ? lock_acquire.part.0+0xd4/0x280 [ 14.501070][ T229] ? rcu_is_watching+0x16/0xd0 [ 14.501072][ T229] ? netdev_name+0x43/0x60 [ 14.501075][ T229] ? __netdev_printk+0x17f/0x1d0 [ 14.501078][ T229] netdev_info+0xe2/0x116 [ 14.501081][ T229] ? netdev_notice+0x120/0x120 [ 14.501082][ T229] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 14.501085][ T229] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.501089][ T229] ? ww_mutex_lock+0x160/0x160 [ 14.501091][ T229] ? lock_acquire.part.0+0xd4/0x280 [ 14.501093][ T229] ? ref_tracker_alloc+0x430/0x430 [ 14.501097][ T229] ? packet_release+0x363/0xc40 [ 14.501099][ T229] ? __fput+0x363/0xac0 [ 14.501102][ T229] ? mutex_is_locked+0x1c/0x50 [ 14.501105][ T229] __dev_set_promiscuity.cold+0x7a/0x104 [ 14.501109][ T229] netif_set_promiscuity+0x4c/0xc0 [ 14.501114][ T229] dev_set_promiscuity+0xa1/0x230 [ 14.501118][ T229] packet_release+0x4cb/0xc40 [ 14.501122][ T229] ? packet_set_ring+0x1740/0x1740 [ 14.501126][ T229] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 14.501131][ T229] __sock_release+0xb8/0x280 [ 14.501135][ T229] sock_close+0x18/0x20 [ 14.501137][ T229] __fput+0x363/0xac0 [ 14.501142][ T229] fput_close_sync+0xde/0x1b0 [ 14.501144][ T229] ? alloc_file_clone+0xe0/0xe0 [ 14.501147][ T229] ? do_raw_spin_unlock+0x59/0x250 [ 14.501151][ T229] __x64_sys_close+0x8b/0xf0 [ 14.501153][ T229] do_syscall_64+0xff/0x530 [ 14.501156][ T229] ? exc_page_fault+0xee/0x100 [ 14.501159][ T229] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.501161][ T229] RIP: 0033:0x7fab014e454e [ 14.501165][ T229] 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.501167][ T229] RSP: 002b:00007ffc1ac23920 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 14.501169][ T229] RAX: ffffffffffffffda RBX: 00005583bb607690 RCX: 00007fab014e454e [ 14.501171][ T229] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 14.501172][ T229] RBP: 00007ffc1ac23930 R08: 0000000000000000 R09: 0000000000000000 [ 14.501173][ T229] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 14.501173][ T229] R13: 00000000fffffffe R14: 000055837c902760 R15: 0000000000000001 [ 14.501180][ T229] [ 16.218854][ T243] test_team1: Port device eth0 removed [ 16.218882][ T243] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.218884][ T243] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 243, name: ip [ 16.218886][ T243] preempt_count: 1, expected: 0 [ 16.218887][ T243] RCU nest depth: 0, expected: 0 [ 16.218887][ T243] locks held by ip/243: 5, last CPU#0: [ 16.218889][ T243] #0: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 16.218901][ T243] #1: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.218907][ T243] #2: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.218910][ T243] #3: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.218913][ T243] #4: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 16.218917][ T243] irq event stamp: 19214 [ 16.218918][ T243] hardirqs last enabled at (19213): [] __down_trylock_console_sem+0x86/0xa0 [ 16.218921][ T243] hardirqs last disabled at (19214): [] console_emit_next_record+0x3f8/0x4f0 [ 16.218923][ T243] softirqs last enabled at (19196): [] fib6_run_gc+0x162/0x250 [ 16.218926][ T243] softirqs last disabled at (19190): [] fib6_run_gc+0x1ac/0x250 [ 16.218928][ T243] Preemption disabled at: [ 16.218929][ T243] [] vprintk_emit+0x31b/0x3e0 [ 16.218934][ T243] CPU: 0 UID: 0 PID: 243 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.218938][ T243] Tainted: [W]=WARN [ 16.218939][ T243] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.218940][ T243] Call Trace: [ 16.218942][ T243] [ 16.218943][ T243] dump_stack_lvl+0x6f/0xa0 [ 16.218948][ T243] ? vprintk_emit+0x31b/0x3e0 [ 16.218950][ T243] __might_resched.cold+0x1fe/0x2c1 [ 16.218955][ T243] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.218959][ T243] ? __kmalloc_noprof+0xdb/0x760 [ 16.218964][ T243] __kmalloc_noprof+0x443/0x760 [ 16.218967][ T243] ? alloc_buf.isra.0+0x4b/0x260 [ 16.218973][ T243] ? do_raw_spin_unlock+0x59/0x250 [ 16.218975][ T243] alloc_buf.isra.0+0x4b/0x260 [ 16.218979][ T243] put_chars+0x1e1/0x2f0 [ 16.218982][ T243] ? __send_to_port+0x420/0x420 [ 16.218985][ T243] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.218989][ T243] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.218992][ T243] ? validate_chain+0x38b/0xc20 [ 16.218997][ T243] hvc_console_print+0x292/0x780 [ 16.219001][ T243] ? mark_usage+0x61/0x170 [ 16.219003][ T243] ? __lock_acquire+0x518/0xc20 [ 16.219005][ T243] ? __lock_acquire+0x518/0xc20 [ 16.219009][ T243] ? hvc_write+0x3a0/0x3a0 [ 16.219011][ T243] ? console_emit_next_record+0x202/0x4f0 [ 16.219014][ T243] ? rcu_is_watching+0x16/0xd0 [ 16.219016][ T243] ? lock_acquire+0x13c/0x160 [ 16.219020][ T243] console_emit_next_record+0x252/0x4f0 [ 16.219024][ T243] ? devkmsg_read+0x4e0/0x4e0 [ 16.219030][ T243] ? rcu_is_watching+0x16/0xd0 [ 16.219032][ T243] ? lock_acquire+0x13c/0x160 [ 16.219036][ T243] console_flush_one_record+0x46f/0x710 [ 16.219040][ T243] ? console_emit_next_record+0x4f0/0x4f0 [ 16.219041][ T243] ? __lock_acquire+0x518/0xc20 [ 16.219046][ T243] console_unlock+0xee/0x1f0 [ 16.219049][ T243] ? console_flush_one_record+0x710/0x710 [ 16.219050][ T243] ? rcu_is_watching+0x16/0xd0 [ 16.219052][ T243] ? lock_acquire+0x60/0x160 [ 16.219056][ T243] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.219058][ T243] ? vprintk_emit+0x320/0x3e0 [ 16.219061][ T243] vprintk_emit+0x37c/0x3e0 [ 16.219064][ T243] ? wake_up_klogd_work_func+0x90/0x90 [ 16.219066][ T243] ? rtnl_newlink+0x9f1/0x11b0 [ 16.219068][ T243] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.219069][ T243] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.219071][ T243] ? look_up_lock_class+0x65/0x150 [ 16.219074][ T243] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.219078][ T243] _printk+0xc7/0x100 [ 16.219082][ T243] ? snapshot_read.cold+0x21/0x21 [ 16.219085][ T243] ? __lock_acquire+0x518/0xc20 [ 16.219088][ T243] ? netdev_name+0x43/0x60 [ 16.219091][ T243] ? __netdev_printk+0x17f/0x1d0 [ 16.219094][ T243] netdev_info+0xe2/0x116 [ 16.219097][ T243] ? netdev_notice+0x120/0x120 [ 16.219101][ T243] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.219103][ T243] ? lockdep_hardirqs_on+0x91/0x130 [ 16.219105][ T243] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 16.219107][ T243] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 16.219109][ T243] ? kvfree_call_rcu+0x23b/0x2e0 [ 16.219114][ T243] team_port_del+0x61d/0xaa0 [ 16.219120][ T243] do_set_master+0x15c/0x780 [ 16.219124][ T243] do_setlink.isra.0+0x9ec/0x2a60 [ 16.219128][ T243] ? stack_trace_save+0x93/0xc0 [ 16.219131][ T243] ? rtnl_link_get_size+0x350/0x350 [ 16.219133][ T243] ? rcu_read_lock_any_held+0x66/0x90 [ 16.219135][ T243] ? stack_depot_save_flags+0x38e/0x790 [ 16.219138][ T243] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.219140][ T243] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.219142][ T243] ? validate_chain+0x38b/0xc20 [ 16.219145][ T243] ? kasan_save_stack+0x3d/0x50 [ 16.219148][ T243] ? kasan_save_stack+0x2f/0x50 [ 16.219149][ T243] ? kasan_save_track+0x14/0x30 [ 16.219151][ T243] ? __lock_acquire+0x518/0xc20 [ 16.219153][ T243] ? netlink_seq_next+0x5e/0x60 [ 16.219157][ T243] ? ___sys_sendmsg+0xc0/0x1d0 [ 16.219161][ T243] ? lock_acquire.part.0+0xd4/0x280 [ 16.219163][ T243] ? rtnl_newlink+0x9a8/0x11b0 [ 16.219166][ T243] ? rcu_is_watching+0x16/0xd0 [ 16.219168][ T243] ? lock_acquire+0x13c/0x160 [ 16.219170][ T243] ? rcu_is_watching+0x16/0xd0 [ 16.219171][ T243] ? rcu_is_watching+0x16/0xd0 [ 16.219173][ T243] ? trace_contention_end+0xb3/0x180 [ 16.219176][ T243] ? __mutex_lock+0x1db/0x1ea0 [ 16.219177][ T243] ? __mutex_lock+0x9a3/0x1ea0 [ 16.219179][ T243] ? rtnl_newlink+0x9a8/0x11b0 [ 16.219183][ T243] ? ww_mutex_lock+0x160/0x160 [ 16.219185][ T243] ? nla_get_range_signed+0x3d0/0x3d0 [ 16.219191][ T243] ? __rtnl_newlink+0x3fa/0xa50 [ 16.219198][ T243] rtnl_newlink+0x9f1/0x11b0 [ 16.219204][ T243] ? rtnl_bridge_getlink+0x850/0x850 [ 16.219206][ T243] ? __lock_acquire+0x518/0xc20 [ 16.219211][ T243] ? lock_acquire.part.0+0xd4/0x280 [ 16.219213][ T243] ? find_held_lock+0x2b/0x80 [ 16.219215][ T243] ? rtnl_bridge_getlink+0x850/0x850 [ 16.219218][ T243] ? __lock_release.isra.0+0x69/0x1a0 [ 16.219222][ T243] ? rtnl_bridge_getlink+0x850/0x850 [ 16.219224][ T243] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 16.219228][ T243] ? rtnl_link_fill+0x900/0x900 [ 16.219229][ T243] ? __lock_acquire+0x518/0xc20 [ 16.219234][ T243] ? lock_acquire.part.0+0xd4/0x280 [ 16.219236][ T243] ? find_held_lock+0x2b/0x80 [ 16.219240][ T243] netlink_rcv_skb+0x14e/0x3a0 [ 16.219242][ T243] ? rtnl_link_fill+0x900/0x900 [ 16.219245][ T243] ? netlink_ack+0xcd0/0xcd0 [ 16.219251][ T243] ? netlink_deliver_tap+0xc5/0x330 [ 16.219253][ T243] ? netlink_deliver_tap+0x13c/0x330 [ 16.219257][ T243] netlink_unicast+0x486/0x750 [ 16.219261][ T243] ? netlink_attachskb+0x810/0x810 [ 16.219263][ T243] ? __lock_acquire+0x518/0xc20 [ 16.219268][ T243] netlink_sendmsg+0x735/0xc60 [ 16.219272][ T243] ? netlink_unicast+0x750/0x750 [ 16.219275][ T243] ? __might_fault+0x97/0x140 [ 16.219281][ T243] ____sys_sendmsg+0x415/0x880 [ 16.219283][ T243] ? copy_msghdr_from_user+0x279/0x420 [ 16.219285][ T243] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 16.219286][ T243] ? move_addr_to_kernel+0x40/0x40 [ 16.219293][ T243] ___sys_sendmsg+0x14e/0x1d0 [ 16.219296][ T243] ? copy_msghdr_from_user+0x420/0x420 [ 16.219311][ T243] __sys_sendmsg+0x12c/0x1d0 [ 16.219314][ T243] ? __sys_sendmsg_sock+0x20/0x20 [ 16.219320][ T243] ? rcu_is_watching+0x16/0xd0 [ 16.219323][ T243] do_syscall_64+0xff/0x530 [ 16.219324][ T243] ? exc_page_fault+0xee/0x100 [ 16.219327][ T243] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.219329][ T243] RIP: 0033:0x7f0fa450c54e [ 16.219333][ T243] 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 [ 16.219335][ T243] RSP: 002b:00007ffe94da84d0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 16.219338][ T243] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f0fa450c54e [ 16.219339][ T243] RDX: 0000000000000000 RSI: 00007ffe94da8580 RDI: 0000000000000005 [ 16.219340][ T243] RBP: 00007ffe94da84e0 R08: 0000000000000000 R09: 0000000000000000 [ 16.219341][ T243] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e0fe [ 16.219341][ T243] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe94da8c50 [ 16.219348][ T243] [ 16.272925][ T243] ip (243) used greatest stack depth: 23272 bytes left [ 16.401225][ T246] test_team1: Mode changed to "roundrobin" [ 16.430841][ T247] test_team1: Port device eth0 added [ 17.134885][ T256] eth0: entered promiscuous mode [ 19.619813][ T256] eth0: left promiscuous mode [ 19.619842][ T256] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.619845][ T256] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 256, name: tcpdump [ 19.619847][ T256] preempt_count: 1, expected: 0 [ 19.619849][ T256] RCU nest depth: 0, expected: 0 [ 19.619850][ T256] locks held by tcpdump/256: 6, last CPU#0: [ 19.619853][ T256] #0: ff1100000b6e9538 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 19.619871][ T256] #1: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 19.619879][ T256] #2: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.619887][ T256] #3: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.619892][ T256] #4: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.619898][ T256] #5: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 19.619904][ T256] irq event stamp: 43304 [ 19.619905][ T256] hardirqs last enabled at (43303): [] __down_trylock_console_sem+0x86/0xa0 [ 19.619909][ T256] hardirqs last disabled at (43304): [] console_emit_next_record+0x3f8/0x4f0 [ 19.619912][ T256] softirqs last enabled at (43150): [] packet_setsockopt+0xcdf/0x21e0 [ 19.619915][ T256] softirqs last disabled at (43148): [] release_sock+0x21/0x240 [ 19.619919][ T256] Preemption disabled at: [ 19.619920][ T256] [] vprintk_emit+0x31b/0x3e0 [ 19.619927][ T256] CPU: 0 UID: 72 PID: 256 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.619932][ T256] Tainted: [W]=WARN [ 19.619933][ T256] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.619936][ T256] Call Trace: [ 19.619938][ T256] [ 19.619940][ T256] dump_stack_lvl+0x6f/0xa0 [ 19.619947][ T256] ? vprintk_emit+0x31b/0x3e0 [ 19.619950][ T256] __might_resched.cold+0x1fe/0x2c1 [ 19.619956][ T256] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.619961][ T256] ? __kmalloc_noprof+0xdb/0x760 [ 19.619969][ T256] __kmalloc_noprof+0x443/0x760 [ 19.619973][ T256] ? alloc_buf.isra.0+0x4b/0x260 [ 19.619982][ T256] ? do_raw_spin_unlock+0x59/0x250 [ 19.619985][ T256] alloc_buf.isra.0+0x4b/0x260 [ 19.619991][ T256] put_chars+0x1e1/0x2f0 [ 19.619996][ T256] ? __send_to_port+0x420/0x420 [ 19.620001][ T256] ? validate_chain+0x38b/0xc20 [ 19.620010][ T256] hvc_console_print+0x292/0x780 [ 19.620021][ T256] ? hvc_write+0x3a0/0x3a0 [ 19.620026][ T256] ? rcu_is_watching+0x16/0xd0 [ 19.620031][ T256] ? lock_acquire+0x13c/0x160 [ 19.620038][ T256] console_emit_next_record+0x252/0x4f0 [ 19.620044][ T256] ? devkmsg_read+0x4e0/0x4e0 [ 19.620051][ T256] ? rcu_is_watching+0x16/0xd0 [ 19.620054][ T256] ? lock_acquire+0x13c/0x160 [ 19.620061][ T256] console_flush_one_record+0x46f/0x710 [ 19.620067][ T256] ? console_emit_next_record+0x4f0/0x4f0 [ 19.620069][ T256] ? __lock_acquire+0x518/0xc20 [ 19.620079][ T256] console_unlock+0xee/0x1f0 [ 19.620083][ T256] ? console_flush_one_record+0x710/0x710 [ 19.620085][ T256] ? rcu_is_watching+0x16/0xd0 [ 19.620088][ T256] ? lock_acquire+0x60/0x160 [ 19.620095][ T256] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.620098][ T256] ? vprintk_emit+0x320/0x3e0 [ 19.620103][ T256] vprintk_emit+0x37c/0x3e0 [ 19.620108][ T256] ? wake_up_klogd_work_func+0x90/0x90 [ 19.620114][ T256] ? __lock_acquire+0x518/0xc20 [ 19.620120][ T256] _printk+0xc7/0x100 [ 19.620125][ T256] ? snapshot_read.cold+0x21/0x21 [ 19.620127][ T256] ? lock_acquire.part.0+0xd4/0x280 [ 19.620134][ T256] ? rcu_is_watching+0x16/0xd0 [ 19.620136][ T256] ? netdev_name+0x43/0x60 [ 19.620141][ T256] ? __netdev_printk+0x17f/0x1d0 [ 19.620147][ T256] netdev_info+0xe2/0x116 [ 19.620151][ T256] ? netdev_notice+0x120/0x120 [ 19.620153][ T256] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 19.620156][ T256] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 19.620162][ T256] ? ww_mutex_lock+0x160/0x160 [ 19.620165][ T256] ? lock_acquire.part.0+0xd4/0x280 [ 19.620169][ T256] ? ref_tracker_alloc+0x430/0x430 [ 19.620173][ T256] ? packet_release+0x363/0xc40 [ 19.620177][ T256] ? __fput+0x363/0xac0 [ 19.620182][ T256] ? mutex_is_locked+0x1c/0x50 [ 19.620186][ T256] __dev_set_promiscuity.cold+0x7a/0x104 [ 19.620192][ T256] netif_set_promiscuity+0x4c/0xc0 [ 19.620199][ T256] dev_set_promiscuity+0xa1/0x230 [ 19.620204][ T256] packet_release+0x4cb/0xc40 [ 19.620212][ T256] ? packet_set_ring+0x1740/0x1740 [ 19.620218][ T256] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 19.620226][ T256] __sock_release+0xb8/0x280 [ 19.620233][ T256] sock_close+0x18/0x20 [ 19.620236][ T256] __fput+0x363/0xac0 [ 19.620245][ T256] fput_close_sync+0xde/0x1b0 [ 19.620249][ T256] ? alloc_file_clone+0xe0/0xe0 [ 19.620253][ T256] ? do_raw_spin_unlock+0x59/0x250 [ 19.620259][ T256] __x64_sys_close+0x8b/0xf0 [ 19.620263][ T256] do_syscall_64+0xff/0x530 [ 19.620266][ T256] ? exc_page_fault+0xee/0x100 [ 19.620271][ T256] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.620275][ T256] RIP: 0033:0x7ff747c5454e [ 19.620280][ T256] 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.620283][ T256] RSP: 002b:00007ffc32ee58d0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 19.620286][ T256] RAX: ffffffffffffffda RBX: 000056489adde690 RCX: 00007ff747c5454e [ 19.620289][ T256] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 19.620290][ T256] RBP: 00007ffc32ee58e0 R08: 0000000000000000 R09: 0000000000000000 [ 19.620292][ T256] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 19.620293][ T256] R13: 00000000fffffffe R14: 000056488eb8f760 R15: 0000000000000001 [ 19.620305][ T256] [ 21.402949][ T270] test_team1: Port device eth0 removed [ 21.402970][ T270] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.402972][ T270] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 270, name: ip [ 21.402974][ T270] preempt_count: 1, expected: 0 [ 21.402975][ T270] RCU nest depth: 0, expected: 0 [ 21.402976][ T270] locks held by ip/270: 5, last CPU#2: [ 21.402978][ T270] #0: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 21.402990][ T270] #1: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.402996][ T270] #2: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.402999][ T270] #3: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.403002][ T270] #4: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.403006][ T270] irq event stamp: 21104 [ 21.403007][ T270] hardirqs last enabled at (21103): [] __down_trylock_console_sem+0x86/0xa0 [ 21.403010][ T270] hardirqs last disabled at (21104): [] console_emit_next_record+0x3f8/0x4f0 [ 21.403012][ T270] softirqs last enabled at (21090): [] fib6_run_gc+0x162/0x250 [ 21.403015][ T270] softirqs last disabled at (21084): [] fib6_run_gc+0x1ac/0x250 [ 21.403017][ T270] Preemption disabled at: [ 21.403017][ T270] [] vprintk_emit+0x31b/0x3e0 [ 21.403023][ T270] CPU: 2 UID: 0 PID: 270 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.403026][ T270] Tainted: [W]=WARN [ 21.403027][ T270] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.403029][ T270] Call Trace: [ 21.403031][ T270] [ 21.403032][ T270] dump_stack_lvl+0x6f/0xa0 [ 21.403037][ T270] ? vprintk_emit+0x31b/0x3e0 [ 21.403039][ T270] __might_resched.cold+0x1fe/0x2c1 [ 21.403044][ T270] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.403047][ T270] ? __kmalloc_noprof+0xdb/0x760 [ 21.403053][ T270] __kmalloc_noprof+0x443/0x760 [ 21.403056][ T270] ? alloc_buf.isra.0+0x4b/0x260 [ 21.403062][ T270] ? do_raw_spin_unlock+0x59/0x250 [ 21.403064][ T270] alloc_buf.isra.0+0x4b/0x260 [ 21.403068][ T270] put_chars+0x1e1/0x2f0 [ 21.403071][ T270] ? __send_to_port+0x420/0x420 [ 21.403075][ T270] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.403079][ T270] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.403082][ T270] ? validate_chain+0x38b/0xc20 [ 21.403086][ T270] hvc_console_print+0x292/0x780 [ 21.403090][ T270] ? mark_usage+0x61/0x170 [ 21.403092][ T270] ? __lock_acquire+0x518/0xc20 [ 21.403094][ T270] ? __lock_acquire+0x518/0xc20 [ 21.403099][ T270] ? hvc_write+0x3a0/0x3a0 [ 21.403101][ T270] ? console_emit_next_record+0x202/0x4f0 [ 21.403104][ T270] ? rcu_is_watching+0x16/0xd0 [ 21.403106][ T270] ? lock_acquire+0x13c/0x160 [ 21.403110][ T270] console_emit_next_record+0x252/0x4f0 [ 21.403114][ T270] ? devkmsg_read+0x4e0/0x4e0 [ 21.403118][ T270] ? rcu_is_watching+0x16/0xd0 [ 21.403120][ T270] ? lock_acquire+0x13c/0x160 [ 21.403124][ T270] console_flush_one_record+0x46f/0x710 [ 21.403128][ T270] ? console_emit_next_record+0x4f0/0x4f0 [ 21.403129][ T270] ? __lock_acquire+0x518/0xc20 [ 21.403134][ T270] console_unlock+0xee/0x1f0 [ 21.403137][ T270] ? console_flush_one_record+0x710/0x710 [ 21.403138][ T270] ? rcu_is_watching+0x16/0xd0 [ 21.403140][ T270] ? lock_acquire+0x60/0x160 [ 21.403144][ T270] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.403146][ T270] ? vprintk_emit+0x320/0x3e0 [ 21.403149][ T270] vprintk_emit+0x37c/0x3e0 [ 21.403152][ T270] ? wake_up_klogd_work_func+0x90/0x90 [ 21.403154][ T270] ? rtnl_newlink+0x9f1/0x11b0 [ 21.403156][ T270] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.403157][ T270] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.403159][ T270] ? look_up_lock_class+0x65/0x150 [ 21.403162][ T270] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.403166][ T270] _printk+0xc7/0x100 [ 21.403170][ T270] ? snapshot_read.cold+0x21/0x21 [ 21.403173][ T270] ? __lock_acquire+0x518/0xc20 [ 21.403176][ T270] ? netdev_name+0x43/0x60 [ 21.403179][ T270] ? __netdev_printk+0x17f/0x1d0 [ 21.403183][ T270] netdev_info+0xe2/0x116 [ 21.403185][ T270] ? netdev_notice+0x120/0x120 [ 21.403190][ T270] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 21.403192][ T270] ? lockdep_hardirqs_on+0x91/0x130 [ 21.403193][ T270] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 21.403196][ T270] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 21.403199][ T270] ? kvfree_call_rcu+0x23b/0x2e0 [ 21.403204][ T270] team_port_del+0x61d/0xaa0 [ 21.403210][ T270] do_set_master+0x15c/0x780 [ 21.403214][ T270] do_setlink.isra.0+0x9ec/0x2a60 [ 21.403217][ T270] ? stack_trace_save+0x93/0xc0 [ 21.403221][ T270] ? rtnl_link_get_size+0x350/0x350 [ 21.403222][ T270] ? rcu_read_lock_any_held+0x66/0x90 [ 21.403225][ T270] ? stack_depot_save_flags+0x38e/0x790 [ 21.403228][ T270] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.403230][ T270] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.403232][ T270] ? validate_chain+0x38b/0xc20 [ 21.403235][ T270] ? kasan_save_stack+0x3d/0x50 [ 21.403237][ T270] ? kasan_save_stack+0x2f/0x50 [ 21.403238][ T270] ? kasan_save_track+0x14/0x30 [ 21.403240][ T270] ? __lock_acquire+0x518/0xc20 [ 21.403243][ T270] ? netlink_seq_next+0x5e/0x60 [ 21.403246][ T270] ? ___sys_sendmsg+0xc0/0x1d0 [ 21.403250][ T270] ? lock_acquire.part.0+0xd4/0x280 [ 21.403252][ T270] ? rtnl_newlink+0x9a8/0x11b0 [ 21.403255][ T270] ? rcu_is_watching+0x16/0xd0 [ 21.403257][ T270] ? lock_acquire+0x13c/0x160 [ 21.403259][ T270] ? rcu_is_watching+0x16/0xd0 [ 21.403261][ T270] ? rcu_is_watching+0x16/0xd0 [ 21.403263][ T270] ? trace_contention_end+0xb3/0x180 [ 21.403265][ T270] ? __mutex_lock+0x1db/0x1ea0 [ 21.403267][ T270] ? __mutex_lock+0x9a3/0x1ea0 [ 21.403269][ T270] ? rtnl_newlink+0x9a8/0x11b0 [ 21.403273][ T270] ? ww_mutex_lock+0x160/0x160 [ 21.403274][ T270] ? nla_get_range_signed+0x3d0/0x3d0 [ 21.403280][ T270] ? __rtnl_newlink+0x3fa/0xa50 [ 21.403286][ T270] rtnl_newlink+0x9f1/0x11b0 [ 21.403292][ T270] ? rtnl_bridge_getlink+0x850/0x850 [ 21.403294][ T270] ? __lock_acquire+0x518/0xc20 [ 21.403299][ T270] ? lock_acquire.part.0+0xd4/0x280 [ 21.403301][ T270] ? find_held_lock+0x2b/0x80 [ 21.403303][ T270] ? rtnl_bridge_getlink+0x850/0x850 [ 21.403306][ T270] ? __lock_release.isra.0+0x69/0x1a0 [ 21.403310][ T270] ? rtnl_bridge_getlink+0x850/0x850 [ 21.403312][ T270] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 21.403316][ T270] ? rtnl_link_fill+0x900/0x900 [ 21.403318][ T270] ? __lock_acquire+0x518/0xc20 [ 21.403322][ T270] ? lock_acquire.part.0+0xd4/0x280 [ 21.403324][ T270] ? find_held_lock+0x2b/0x80 [ 21.403328][ T270] netlink_rcv_skb+0x14e/0x3a0 [ 21.403330][ T270] ? rtnl_link_fill+0x900/0x900 [ 21.403333][ T270] ? netlink_ack+0xcd0/0xcd0 [ 21.403339][ T270] ? netlink_deliver_tap+0xc5/0x330 [ 21.403341][ T270] ? netlink_deliver_tap+0x13c/0x330 [ 21.403345][ T270] netlink_unicast+0x486/0x750 [ 21.403349][ T270] ? netlink_attachskb+0x810/0x810 [ 21.403352][ T270] ? __lock_acquire+0x518/0xc20 [ 21.403356][ T270] netlink_sendmsg+0x735/0xc60 [ 21.403360][ T270] ? netlink_unicast+0x750/0x750 [ 21.403364][ T270] ? __might_fault+0x97/0x140 [ 21.403369][ T270] ____sys_sendmsg+0x415/0x880 [ 21.403371][ T270] ? copy_msghdr_from_user+0x279/0x420 [ 21.403373][ T270] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 21.403375][ T270] ? move_addr_to_kernel+0x40/0x40 [ 21.403382][ T270] ___sys_sendmsg+0x14e/0x1d0 [ 21.403384][ T270] ? copy_msghdr_from_user+0x420/0x420 [ 21.403400][ T270] __sys_sendmsg+0x12c/0x1d0 [ 21.403402][ T270] ? __sys_sendmsg_sock+0x20/0x20 [ 21.403408][ T270] ? rcu_is_watching+0x16/0xd0 [ 21.403411][ T270] do_syscall_64+0xff/0x530 [ 21.403413][ T270] ? exc_page_fault+0xee/0x100 [ 21.403416][ T270] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.403418][ T270] RIP: 0033:0x7f870f42b54e [ 21.403422][ T270] 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.403424][ T270] RSP: 002b:00007ffe53bde630 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 21.403427][ T270] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f870f42b54e [ 21.403428][ T270] RDX: 0000000000000000 RSI: 00007ffe53bde6e0 RDI: 0000000000000005 [ 21.403429][ T270] RBP: 00007ffe53bde640 R08: 0000000000000000 R09: 0000000000000000 [ 21.403430][ T270] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e103 [ 21.403430][ T270] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe53bdedb0 [ 21.403437][ T270] [ 21.613693][ T273] test_team1: Mode changed to "random" [ 21.649036][ T274] test_team1: Port device eth0 added [ 22.448135][ T281] eth0: entered promiscuous mode [ 22.448158][ T281] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.448161][ T281] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 281, name: tcpdump [ 22.448163][ T281] preempt_count: 1, expected: 0 [ 22.448165][ T281] RCU nest depth: 0, expected: 0 [ 22.448166][ T281] locks held by tcpdump/281: 5, last CPU#0: [ 22.448169][ T281] #0: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 22.448183][ T281] #1: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.448192][ T281] #2: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.448198][ T281] #3: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.448204][ T281] #4: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 22.448210][ T281] irq event stamp: 37486 [ 22.448211][ T281] hardirqs last enabled at (37485): [] __down_trylock_console_sem+0x86/0xa0 [ 22.448216][ T281] hardirqs last disabled at (37486): [] console_emit_next_record+0x3f8/0x4f0 [ 22.448219][ T281] softirqs last enabled at (37466): [] packet_do_bind+0x4b2/0xc80 [ 22.448222][ T281] softirqs last disabled at (37464): [] release_sock+0x21/0x240 [ 22.448227][ T281] Preemption disabled at: [ 22.448228][ T281] [] vprintk_emit+0x31b/0x3e0 [ 22.448235][ T281] CPU: 0 UID: 0 PID: 281 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.448240][ T281] Tainted: [W]=WARN [ 22.448242][ T281] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.448244][ T281] Call Trace: [ 22.448246][ T281] [ 22.448249][ T281] dump_stack_lvl+0x6f/0xa0 [ 22.448256][ T281] ? vprintk_emit+0x31b/0x3e0 [ 22.448259][ T281] __might_resched.cold+0x1fe/0x2c1 [ 22.448265][ T281] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.448270][ T281] ? __kmalloc_noprof+0xdb/0x760 [ 22.448278][ T281] __kmalloc_noprof+0x443/0x760 [ 22.448282][ T281] ? alloc_buf.isra.0+0x4b/0x260 [ 22.448292][ T281] ? do_raw_spin_unlock+0x59/0x250 [ 22.448295][ T281] alloc_buf.isra.0+0x4b/0x260 [ 22.448301][ T281] put_chars+0x1e1/0x2f0 [ 22.448306][ T281] ? __send_to_port+0x420/0x420 [ 22.448309][ T281] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.448315][ T281] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.448320][ T281] ? validate_chain+0x38b/0xc20 [ 22.448329][ T281] hvc_console_print+0x292/0x780 [ 22.448333][ T281] ? __lock_acquire+0x518/0xc20 [ 22.448343][ T281] ? hvc_write+0x3a0/0x3a0 [ 22.448348][ T281] ? rcu_is_watching+0x16/0xd0 [ 22.448357][ T281] console_emit_next_record+0x252/0x4f0 [ 22.448363][ T281] ? devkmsg_read+0x4e0/0x4e0 [ 22.448370][ T281] ? rcu_is_watching+0x16/0xd0 [ 22.448374][ T281] ? lock_acquire+0x13c/0x160 [ 22.448381][ T281] console_flush_one_record+0x46f/0x710 [ 22.448387][ T281] ? console_emit_next_record+0x4f0/0x4f0 [ 22.448390][ T281] ? __lock_acquire+0x518/0xc20 [ 22.448400][ T281] console_unlock+0xee/0x1f0 [ 22.448404][ T281] ? console_flush_one_record+0x710/0x710 [ 22.448406][ T281] ? rcu_is_watching+0x16/0xd0 [ 22.448410][ T281] ? lock_acquire+0x60/0x160 [ 22.448416][ T281] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.448419][ T281] ? vprintk_emit+0x320/0x3e0 [ 22.448425][ T281] vprintk_emit+0x37c/0x3e0 [ 22.448431][ T281] ? wake_up_klogd_work_func+0x90/0x90 [ 22.448433][ T281] ? kasan_save_stack+0x3d/0x50 [ 22.448437][ T281] ? kasan_save_track+0x14/0x30 [ 22.448439][ T281] ? __kasan_kmalloc+0x7b/0x90 [ 22.448441][ T281] ? __kmalloc_cache_noprof+0x29a/0x620 [ 22.448444][ T281] ? packet_mc_add+0x13b/0x890 [ 22.448446][ T281] ? packet_setsockopt+0x1953/0x21e0 [ 22.448449][ T281] ? do_sock_setsockopt+0x115/0x490 [ 22.448456][ T281] _printk+0xc7/0x100 [ 22.448460][ T281] ? snapshot_read.cold+0x21/0x21 [ 22.448468][ T281] ? netdev_name+0x43/0x60 [ 22.448472][ T281] ? __netdev_printk+0x17f/0x1d0 [ 22.448479][ T281] netdev_info+0xe2/0x116 [ 22.448483][ T281] ? netdev_notice+0x120/0x120 [ 22.448495][ T281] ? mutex_is_locked+0x1c/0x50 [ 22.448500][ T281] __dev_set_promiscuity.cold+0x7a/0x104 [ 22.448506][ T281] netif_set_promiscuity+0x4c/0xc0 [ 22.448513][ T281] dev_set_promiscuity+0xa1/0x230 [ 22.448516][ T281] ? __asan_memset+0x27/0x50 [ 22.448521][ T281] packet_mc_add+0x54e/0x890 [ 22.448525][ T281] ? __might_fault+0x97/0x140 [ 22.448530][ T281] ? __might_fault+0x97/0x140 [ 22.448535][ T281] ? _copy_from_user+0x42/0x90 [ 22.448542][ T281] packet_setsockopt+0x1953/0x21e0 [ 22.448548][ T281] ? packet_bind+0x170/0x170 [ 22.448554][ T281] ? do_sock_getsockopt+0x6f6/0xb20 [ 22.448563][ T281] ? sock_poll+0x6b0/0x6b0 [ 22.448569][ T281] ? rcu_is_watching+0x16/0xd0 [ 22.448573][ T281] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.448578][ T281] ? __local_bh_enable_ip+0xaa/0x150 [ 22.448585][ T281] do_sock_setsockopt+0x115/0x490 [ 22.448591][ T281] ? put_user_ifreq+0x90/0x90 [ 22.448603][ T281] __sys_setsockopt+0xe4/0x150 [ 22.448611][ T281] __x64_sys_setsockopt+0xbd/0x180 [ 22.448614][ T281] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.448618][ T281] ? lockdep_hardirqs_on+0x91/0x130 [ 22.448622][ T281] ? do_syscall_64+0xa6/0x530 [ 22.448624][ T281] do_syscall_64+0xff/0x530 [ 22.448626][ T281] ? exc_page_fault+0xee/0x100 [ 22.448631][ T281] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.448634][ T281] RIP: 0033:0x7f231c84d2de [ 22.448639][ T281] 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 [ 22.448642][ T281] RSP: 002b:00007ffcce035818 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 22.448645][ T281] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f231c84d2de [ 22.448647][ T281] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 22.448649][ T281] RBP: 00007ffcce035950 R08: 0000000000000010 R09: 000055dafdefa530 [ 22.448651][ T281] R10: 00007ffcce035890 R11: 0000000000000246 R12: 0000000000000001 [ 22.448652][ T281] R13: 000055dafdefa918 R14: 000055dafdefa690 R15: 0000000000000000 [ 22.448665][ T281] [ 24.875807][ T281] eth0: left promiscuous mode [ 24.875827][ T281] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.875829][ T281] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 281, name: tcpdump [ 24.875831][ T281] preempt_count: 1, expected: 0 [ 24.875832][ T281] RCU nest depth: 0, expected: 0 [ 24.875833][ T281] locks held by tcpdump/281: 6, last CPU#0: [ 24.875835][ T281] #0: ff1100000a5df2f8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 24.875855][ T281] #1: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 24.875865][ T281] #2: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.875871][ T281] #3: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.875874][ T281] #4: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.875877][ T281] #5: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.875881][ T281] irq event stamp: 50484 [ 24.875881][ T281] hardirqs last enabled at (50483): [] __down_trylock_console_sem+0x86/0xa0 [ 24.875885][ T281] hardirqs last disabled at (50484): [] console_emit_next_record+0x3f8/0x4f0 [ 24.875886][ T281] softirqs last enabled at (50334): [] packet_setsockopt+0xcdf/0x21e0 [ 24.875889][ T281] softirqs last disabled at (50332): [] release_sock+0x21/0x240 [ 24.875892][ T281] Preemption disabled at: [ 24.875893][ T281] [] vprintk_emit+0x31b/0x3e0 [ 24.875898][ T281] CPU: 0 UID: 72 PID: 281 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.875902][ T281] Tainted: [W]=WARN [ 24.875903][ T281] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.875904][ T281] Call Trace: [ 24.875906][ T281] [ 24.875907][ T281] dump_stack_lvl+0x6f/0xa0 [ 24.875913][ T281] ? vprintk_emit+0x31b/0x3e0 [ 24.875914][ T281] __might_resched.cold+0x1fe/0x2c1 [ 24.875919][ T281] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.875922][ T281] ? __kmalloc_noprof+0xdb/0x760 [ 24.875928][ T281] __kmalloc_noprof+0x443/0x760 [ 24.875930][ T281] ? alloc_buf.isra.0+0x4b/0x260 [ 24.875936][ T281] ? do_raw_spin_unlock+0x59/0x250 [ 24.875938][ T281] alloc_buf.isra.0+0x4b/0x260 [ 24.875942][ T281] put_chars+0x1e1/0x2f0 [ 24.875946][ T281] ? __send_to_port+0x420/0x420 [ 24.875949][ T281] ? validate_chain+0x38b/0xc20 [ 24.875954][ T281] hvc_console_print+0x292/0x780 [ 24.875962][ T281] ? hvc_write+0x3a0/0x3a0 [ 24.875964][ T281] ? rcu_is_watching+0x16/0xd0 [ 24.875968][ T281] ? lock_acquire+0x13c/0x160 [ 24.875972][ T281] console_emit_next_record+0x252/0x4f0 [ 24.875976][ T281] ? devkmsg_read+0x4e0/0x4e0 [ 24.875980][ T281] ? rcu_is_watching+0x16/0xd0 [ 24.875982][ T281] ? lock_acquire+0x13c/0x160 [ 24.875986][ T281] console_flush_one_record+0x46f/0x710 [ 24.875989][ T281] ? console_emit_next_record+0x4f0/0x4f0 [ 24.875991][ T281] ? __lock_acquire+0x518/0xc20 [ 24.875996][ T281] console_unlock+0xee/0x1f0 [ 24.875999][ T281] ? console_flush_one_record+0x710/0x710 [ 24.876000][ T281] ? rcu_is_watching+0x16/0xd0 [ 24.876002][ T281] ? lock_acquire+0x60/0x160 [ 24.876006][ T281] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.876008][ T281] ? vprintk_emit+0x320/0x3e0 [ 24.876011][ T281] vprintk_emit+0x37c/0x3e0 [ 24.876014][ T281] ? wake_up_klogd_work_func+0x90/0x90 [ 24.876017][ T281] ? __lock_acquire+0x518/0xc20 [ 24.876021][ T281] _printk+0xc7/0x100 [ 24.876025][ T281] ? snapshot_read.cold+0x21/0x21 [ 24.876026][ T281] ? lock_acquire.part.0+0xd4/0x280 [ 24.876030][ T281] ? rcu_is_watching+0x16/0xd0 [ 24.876032][ T281] ? netdev_name+0x43/0x60 [ 24.876035][ T281] ? __netdev_printk+0x17f/0x1d0 [ 24.876039][ T281] netdev_info+0xe2/0x116 [ 24.876041][ T281] ? netdev_notice+0x120/0x120 [ 24.876043][ T281] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 24.876045][ T281] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 24.876050][ T281] ? ww_mutex_lock+0x160/0x160 [ 24.876052][ T281] ? lock_acquire.part.0+0xd4/0x280 [ 24.876054][ T281] ? ref_tracker_alloc+0x430/0x430 [ 24.876057][ T281] ? packet_release+0x363/0xc40 [ 24.876059][ T281] ? __fput+0x363/0xac0 [ 24.876062][ T281] ? mutex_is_locked+0x1c/0x50 [ 24.876065][ T281] __dev_set_promiscuity.cold+0x7a/0x104 [ 24.876069][ T281] netif_set_promiscuity+0x4c/0xc0 [ 24.876074][ T281] dev_set_promiscuity+0xa1/0x230 [ 24.876078][ T281] packet_release+0x4cb/0xc40 [ 24.876082][ T281] ? packet_set_ring+0x1740/0x1740 [ 24.876085][ T281] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 24.876090][ T281] __sock_release+0xb8/0x280 [ 24.876094][ T281] sock_close+0x18/0x20 [ 24.876096][ T281] __fput+0x363/0xac0 [ 24.876101][ T281] fput_close_sync+0xde/0x1b0 [ 24.876103][ T281] ? alloc_file_clone+0xe0/0xe0 [ 24.876106][ T281] ? do_raw_spin_unlock+0x59/0x250 [ 24.876109][ T281] __x64_sys_close+0x8b/0xf0 [ 24.876112][ T281] do_syscall_64+0xff/0x530 [ 24.876114][ T281] ? irq_exit_rcu+0x1a/0x30 [ 24.876118][ T281] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.876120][ T281] RIP: 0033:0x7f231c7c454e [ 24.876124][ T281] 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.876126][ T281] RSP: 002b:00007ffcce035980 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 24.876129][ T281] RAX: ffffffffffffffda RBX: 000055dafdefa690 RCX: 00007f231c7c454e [ 24.876130][ T281] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 24.876131][ T281] RBP: 00007ffcce035990 R08: 0000000000000000 R09: 0000000000000000 [ 24.876132][ T281] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 24.876133][ T281] R13: 00000000fffffffe R14: 000055dad7c02760 R15: 0000000000000001 [ 24.876139][ T281] [ 26.609028][ T303] test_team1: Port device eth0 removed [ 26.609047][ T303] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.609050][ T303] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 303, name: ip [ 26.609052][ T303] preempt_count: 1, expected: 0 [ 26.609052][ T303] RCU nest depth: 0, expected: 0 [ 26.609053][ T303] locks held by ip/303: 5, last CPU#2: [ 26.609055][ T303] #0: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 26.609067][ T303] #1: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.609073][ T303] #2: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.609076][ T303] #3: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.609079][ T303] #4: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.609083][ T303] irq event stamp: 21958 [ 26.609084][ T303] hardirqs last enabled at (21957): [] __down_trylock_console_sem+0x86/0xa0 [ 26.609087][ T303] hardirqs last disabled at (21958): [] console_emit_next_record+0x3f8/0x4f0 [ 26.609089][ T303] softirqs last enabled at (21944): [] fib6_run_gc+0x162/0x250 [ 26.609092][ T303] softirqs last disabled at (21938): [] fib6_run_gc+0x1ac/0x250 [ 26.609094][ T303] Preemption disabled at: [ 26.609095][ T303] [] vprintk_emit+0x31b/0x3e0 [ 26.609100][ T303] CPU: 2 UID: 0 PID: 303 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.609103][ T303] Tainted: [W]=WARN [ 26.609105][ T303] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.609106][ T303] Call Trace: [ 26.609107][ T303] [ 26.609109][ T303] dump_stack_lvl+0x6f/0xa0 [ 26.609114][ T303] ? vprintk_emit+0x31b/0x3e0 [ 26.609116][ T303] __might_resched.cold+0x1fe/0x2c1 [ 26.609120][ T303] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.609124][ T303] ? __kmalloc_noprof+0xdb/0x760 [ 26.609129][ T303] __kmalloc_noprof+0x443/0x760 [ 26.609132][ T303] ? alloc_buf.isra.0+0x4b/0x260 [ 26.609138][ T303] ? do_raw_spin_unlock+0x59/0x250 [ 26.609140][ T303] alloc_buf.isra.0+0x4b/0x260 [ 26.609144][ T303] put_chars+0x1e1/0x2f0 [ 26.609148][ T303] ? __send_to_port+0x420/0x420 [ 26.609151][ T303] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.609155][ T303] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.609158][ T303] ? validate_chain+0x38b/0xc20 [ 26.609162][ T303] hvc_console_print+0x292/0x780 [ 26.609166][ T303] ? mark_usage+0x61/0x170 [ 26.609169][ T303] ? __lock_acquire+0x518/0xc20 [ 26.609170][ T303] ? __lock_acquire+0x518/0xc20 [ 26.609175][ T303] ? hvc_write+0x3a0/0x3a0 [ 26.609177][ T303] ? console_emit_next_record+0x202/0x4f0 [ 26.609180][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.609182][ T303] ? lock_acquire+0x13c/0x160 [ 26.609186][ T303] console_emit_next_record+0x252/0x4f0 [ 26.609190][ T303] ? devkmsg_read+0x4e0/0x4e0 [ 26.609194][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.609196][ T303] ? lock_acquire+0x13c/0x160 [ 26.609200][ T303] console_flush_one_record+0x46f/0x710 [ 26.609204][ T303] ? console_emit_next_record+0x4f0/0x4f0 [ 26.609206][ T303] ? __lock_acquire+0x518/0xc20 [ 26.609211][ T303] console_unlock+0xee/0x1f0 [ 26.609213][ T303] ? console_flush_one_record+0x710/0x710 [ 26.609215][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.609217][ T303] ? lock_acquire+0x60/0x160 [ 26.609221][ T303] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.609223][ T303] ? vprintk_emit+0x320/0x3e0 [ 26.609226][ T303] vprintk_emit+0x37c/0x3e0 [ 26.609229][ T303] ? wake_up_klogd_work_func+0x90/0x90 [ 26.609230][ T303] ? rtnl_newlink+0x9f1/0x11b0 [ 26.609233][ T303] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.609234][ T303] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.609236][ T303] ? look_up_lock_class+0x65/0x150 [ 26.609239][ T303] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.609243][ T303] _printk+0xc7/0x100 [ 26.609247][ T303] ? snapshot_read.cold+0x21/0x21 [ 26.609250][ T303] ? __lock_acquire+0x518/0xc20 [ 26.609253][ T303] ? netdev_name+0x43/0x60 [ 26.609256][ T303] ? __netdev_printk+0x17f/0x1d0 [ 26.609259][ T303] netdev_info+0xe2/0x116 [ 26.609262][ T303] ? netdev_notice+0x120/0x120 [ 26.609266][ T303] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 26.609268][ T303] ? lockdep_hardirqs_on+0x91/0x130 [ 26.609270][ T303] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 26.609273][ T303] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 26.609275][ T303] ? kvfree_call_rcu+0x23b/0x2e0 [ 26.609280][ T303] team_port_del+0x61d/0xaa0 [ 26.609286][ T303] do_set_master+0x15c/0x780 [ 26.609290][ T303] do_setlink.isra.0+0x9ec/0x2a60 [ 26.609294][ T303] ? stack_trace_save+0x93/0xc0 [ 26.609297][ T303] ? rtnl_link_get_size+0x350/0x350 [ 26.609299][ T303] ? rcu_read_lock_any_held+0x66/0x90 [ 26.609301][ T303] ? stack_depot_save_flags+0x38e/0x790 [ 26.609304][ T303] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.609306][ T303] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.609309][ T303] ? validate_chain+0x38b/0xc20 [ 26.609311][ T303] ? kasan_save_stack+0x3d/0x50 [ 26.609314][ T303] ? kasan_save_stack+0x2f/0x50 [ 26.609315][ T303] ? kasan_save_track+0x14/0x30 [ 26.609317][ T303] ? __lock_acquire+0x518/0xc20 [ 26.609319][ T303] ? netlink_seq_next+0x5e/0x60 [ 26.609322][ T303] ? ___sys_sendmsg+0xc0/0x1d0 [ 26.609327][ T303] ? lock_acquire.part.0+0xd4/0x280 [ 26.609329][ T303] ? rtnl_newlink+0x9a8/0x11b0 [ 26.609332][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.609334][ T303] ? lock_acquire+0x13c/0x160 [ 26.609336][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.609337][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.609339][ T303] ? trace_contention_end+0xb3/0x180 [ 26.609342][ T303] ? __mutex_lock+0x1db/0x1ea0 [ 26.609343][ T303] ? __mutex_lock+0x9a3/0x1ea0 [ 26.609345][ T303] ? rtnl_newlink+0x9a8/0x11b0 [ 26.609349][ T303] ? ww_mutex_lock+0x160/0x160 [ 26.609351][ T303] ? nla_get_range_signed+0x3d0/0x3d0 [ 26.609357][ T303] ? __rtnl_newlink+0x3fa/0xa50 [ 26.609362][ T303] rtnl_newlink+0x9f1/0x11b0 [ 26.609368][ T303] ? rtnl_bridge_getlink+0x850/0x850 [ 26.609370][ T303] ? __lock_acquire+0x518/0xc20 [ 26.609375][ T303] ? lock_acquire.part.0+0xd4/0x280 [ 26.609377][ T303] ? find_held_lock+0x2b/0x80 [ 26.609380][ T303] ? rtnl_bridge_getlink+0x850/0x850 [ 26.609382][ T303] ? __lock_release.isra.0+0x69/0x1a0 [ 26.609386][ T303] ? rtnl_bridge_getlink+0x850/0x850 [ 26.609389][ T303] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 26.609392][ T303] ? rtnl_link_fill+0x900/0x900 [ 26.609394][ T303] ? __lock_acquire+0x518/0xc20 [ 26.609399][ T303] ? lock_acquire.part.0+0xd4/0x280 [ 26.609401][ T303] ? find_held_lock+0x2b/0x80 [ 26.609405][ T303] netlink_rcv_skb+0x14e/0x3a0 [ 26.609407][ T303] ? rtnl_link_fill+0x900/0x900 [ 26.609410][ T303] ? netlink_ack+0xcd0/0xcd0 [ 26.609416][ T303] ? netlink_deliver_tap+0xc5/0x330 [ 26.609418][ T303] ? netlink_deliver_tap+0x13c/0x330 [ 26.609422][ T303] netlink_unicast+0x486/0x750 [ 26.609426][ T303] ? netlink_attachskb+0x810/0x810 [ 26.609428][ T303] ? __lock_acquire+0x518/0xc20 [ 26.609433][ T303] netlink_sendmsg+0x735/0xc60 [ 26.609437][ T303] ? netlink_unicast+0x750/0x750 [ 26.609441][ T303] ? __might_fault+0x97/0x140 [ 26.609446][ T303] ____sys_sendmsg+0x415/0x880 [ 26.609448][ T303] ? copy_msghdr_from_user+0x279/0x420 [ 26.609450][ T303] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 26.609451][ T303] ? move_addr_to_kernel+0x40/0x40 [ 26.609459][ T303] ___sys_sendmsg+0x14e/0x1d0 [ 26.609461][ T303] ? copy_msghdr_from_user+0x420/0x420 [ 26.609477][ T303] __sys_sendmsg+0x12c/0x1d0 [ 26.609479][ T303] ? __sys_sendmsg_sock+0x20/0x20 [ 26.609485][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.609488][ T303] do_syscall_64+0xff/0x530 [ 26.609490][ T303] ? exc_page_fault+0xee/0x100 [ 26.609493][ T303] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.609495][ T303] RIP: 0033:0x7f191de9454e [ 26.609499][ T303] 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.609501][ T303] RSP: 002b:00007ffd68b30c80 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 26.609504][ T303] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f191de9454e [ 26.609505][ T303] RDX: 0000000000000000 RSI: 00007ffd68b30d30 RDI: 0000000000000005 [ 26.609506][ T303] RBP: 00007ffd68b30c90 R08: 0000000000000000 R09: 0000000000000000 [ 26.609507][ T303] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e108 [ 26.609508][ T303] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd68b31400 [ 26.609515][ T303] [ 26.785271][ T306] test_team1: Mode changed to "broadcast" [ 26.824770][ T307] test_team1: Port device eth0 added [ 27.535099][ T314] eth0: entered promiscuous mode [ 29.975912][ T314] eth0: left promiscuous mode [ 29.975931][ T314] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.975934][ T314] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 314, name: tcpdump [ 29.975936][ T314] preempt_count: 1, expected: 0 [ 29.975937][ T314] RCU nest depth: 0, expected: 0 [ 29.975938][ T314] locks held by tcpdump/314: 6, last CPU#2: [ 29.975941][ T314] #0: ff1100000d19f938 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 29.975954][ T314] #1: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 29.975960][ T314] #2: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.975965][ T314] #3: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.975968][ T314] #4: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.975972][ T314] #5: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 29.975976][ T314] irq event stamp: 54272 [ 29.975977][ T314] hardirqs last enabled at (54271): [] __down_trylock_console_sem+0x86/0xa0 [ 29.975980][ T314] hardirqs last disabled at (54272): [] console_emit_next_record+0x3f8/0x4f0 [ 29.975982][ T314] softirqs last enabled at (54234): [] handle_softirqs+0x67c/0x900 [ 29.975985][ T314] softirqs last disabled at (54227): [] __irq_exit_rcu+0x145/0x1c0 [ 29.975988][ T314] Preemption disabled at: [ 29.975988][ T314] [] vprintk_emit+0x31b/0x3e0 [ 29.975994][ T314] CPU: 2 UID: 72 PID: 314 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.975997][ T314] Tainted: [W]=WARN [ 29.975998][ T314] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.976000][ T314] Call Trace: [ 29.976002][ T314] [ 29.976003][ T314] dump_stack_lvl+0x6f/0xa0 [ 29.976009][ T314] ? vprintk_emit+0x31b/0x3e0 [ 29.976011][ T314] __might_resched.cold+0x1fe/0x2c1 [ 29.976015][ T314] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.976019][ T314] ? __kmalloc_noprof+0xdb/0x760 [ 29.976024][ T314] __kmalloc_noprof+0x443/0x760 [ 29.976027][ T314] ? alloc_buf.isra.0+0x4b/0x260 [ 29.976034][ T314] ? do_raw_spin_unlock+0x59/0x250 [ 29.976036][ T314] alloc_buf.isra.0+0x4b/0x260 [ 29.976040][ T314] put_chars+0x1e1/0x2f0 [ 29.976043][ T314] ? __send_to_port+0x420/0x420 [ 29.976046][ T314] ? validate_chain+0x38b/0xc20 [ 29.976052][ T314] hvc_console_print+0x292/0x780 [ 29.976060][ T314] ? hvc_write+0x3a0/0x3a0 [ 29.976062][ T314] ? rcu_is_watching+0x16/0xd0 [ 29.976066][ T314] ? lock_acquire+0x13c/0x160 [ 29.976071][ T314] console_emit_next_record+0x252/0x4f0 [ 29.976074][ T314] ? devkmsg_read+0x4e0/0x4e0 [ 29.976078][ T314] ? rcu_is_watching+0x16/0xd0 [ 29.976080][ T314] ? lock_acquire+0x13c/0x160 [ 29.976085][ T314] console_flush_one_record+0x46f/0x710 [ 29.976088][ T314] ? console_emit_next_record+0x4f0/0x4f0 [ 29.976090][ T314] ? __lock_acquire+0x518/0xc20 [ 29.976096][ T314] console_unlock+0xee/0x1f0 [ 29.976098][ T314] ? console_flush_one_record+0x710/0x710 [ 29.976100][ T314] ? rcu_is_watching+0x16/0xd0 [ 29.976102][ T314] ? lock_acquire+0x60/0x160 [ 29.976106][ T314] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.976108][ T314] ? vprintk_emit+0x320/0x3e0 [ 29.976111][ T314] vprintk_emit+0x37c/0x3e0 [ 29.976114][ T314] ? wake_up_klogd_work_func+0x90/0x90 [ 29.976118][ T314] ? __lock_acquire+0x518/0xc20 [ 29.976122][ T314] _printk+0xc7/0x100 [ 29.976125][ T314] ? snapshot_read.cold+0x21/0x21 [ 29.976127][ T314] ? lock_acquire.part.0+0xd4/0x280 [ 29.976131][ T314] ? rcu_is_watching+0x16/0xd0 [ 29.976133][ T314] ? netdev_name+0x43/0x60 [ 29.976136][ T314] ? __netdev_printk+0x17f/0x1d0 [ 29.976140][ T314] netdev_info+0xe2/0x116 [ 29.976143][ T314] ? netdev_notice+0x120/0x120 [ 29.976144][ T314] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 29.976147][ T314] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 29.976151][ T314] ? ww_mutex_lock+0x160/0x160 [ 29.976153][ T314] ? lock_acquire.part.0+0xd4/0x280 [ 29.976156][ T314] ? ref_tracker_alloc+0x430/0x430 [ 29.976159][ T314] ? packet_release+0x363/0xc40 [ 29.976161][ T314] ? __fput+0x363/0xac0 [ 29.976164][ T314] ? mutex_is_locked+0x1c/0x50 [ 29.976167][ T314] __dev_set_promiscuity.cold+0x7a/0x104 [ 29.976171][ T314] netif_set_promiscuity+0x4c/0xc0 [ 29.976177][ T314] dev_set_promiscuity+0xa1/0x230 [ 29.976181][ T314] packet_release+0x4cb/0xc40 [ 29.976185][ T314] ? packet_set_ring+0x1740/0x1740 [ 29.976189][ T314] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 29.976194][ T314] __sock_release+0xb8/0x280 [ 29.976199][ T314] sock_close+0x18/0x20 [ 29.976201][ T314] __fput+0x363/0xac0 [ 29.976207][ T314] fput_close_sync+0xde/0x1b0 [ 29.976209][ T314] ? alloc_file_clone+0xe0/0xe0 [ 29.976212][ T314] ? do_raw_spin_unlock+0x59/0x250 [ 29.976216][ T314] __x64_sys_close+0x8b/0xf0 [ 29.976218][ T314] do_syscall_64+0xff/0x530 [ 29.976220][ T314] ? exc_page_fault+0xee/0x100 [ 29.976223][ T314] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.976226][ T314] RIP: 0033:0x7f640378354e [ 29.976230][ T314] 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.976232][ T314] RSP: 002b:00007fffb5dfdab0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 29.976234][ T314] RAX: ffffffffffffffda RBX: 000055eeaacc7690 RCX: 00007f640378354e [ 29.976236][ T314] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 29.976237][ T314] RBP: 00007fffb5dfdac0 R08: 0000000000000000 R09: 0000000000000000 [ 29.976237][ T314] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 29.976238][ T314] R13: 00000000fffffffe R14: 000055ee92180760 R15: 0000000000000001 [ 29.976245][ T314] [ 31.681652][ T328] test_team1: Port device eth0 removed [ 31.681672][ T328] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.681675][ T328] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 328, name: ip [ 31.681676][ T328] preempt_count: 1, expected: 0 [ 31.681677][ T328] RCU nest depth: 0, expected: 0 [ 31.681678][ T328] locks held by ip/328: 5, last CPU#2: [ 31.681680][ T328] #0: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 31.681693][ T328] #1: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.681699][ T328] #2: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.681702][ T328] #3: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.681706][ T328] #4: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 31.681709][ T328] irq event stamp: 19514 [ 31.681710][ T328] hardirqs last enabled at (19513): [] __down_trylock_console_sem+0x86/0xa0 [ 31.681714][ T328] hardirqs last disabled at (19514): [] console_emit_next_record+0x3f8/0x4f0 [ 31.681715][ T328] softirqs last enabled at (19500): [] fib6_run_gc+0x162/0x250 [ 31.681718][ T328] softirqs last disabled at (19494): [] fib6_run_gc+0x1ac/0x250 [ 31.681720][ T328] Preemption disabled at: [ 31.681721][ T328] [] vprintk_emit+0x31b/0x3e0 [ 31.681727][ T328] CPU: 2 UID: 0 PID: 328 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.681730][ T328] Tainted: [W]=WARN [ 31.681731][ T328] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.681733][ T328] Call Trace: [ 31.681734][ T328] [ 31.681736][ T328] dump_stack_lvl+0x6f/0xa0 [ 31.681741][ T328] ? vprintk_emit+0x31b/0x3e0 [ 31.681743][ T328] __might_resched.cold+0x1fe/0x2c1 [ 31.681748][ T328] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.681751][ T328] ? __kmalloc_noprof+0xdb/0x760 [ 31.681757][ T328] __kmalloc_noprof+0x443/0x760 [ 31.681760][ T328] ? alloc_buf.isra.0+0x4b/0x260 [ 31.681766][ T328] ? do_raw_spin_unlock+0x59/0x250 [ 31.681768][ T328] alloc_buf.isra.0+0x4b/0x260 [ 31.681771][ T328] put_chars+0x1e1/0x2f0 [ 31.681775][ T328] ? __send_to_port+0x420/0x420 [ 31.681778][ T328] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.681782][ T328] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.681786][ T328] ? validate_chain+0x38b/0xc20 [ 31.681790][ T328] hvc_console_print+0x292/0x780 [ 31.681794][ T328] ? mark_usage+0x61/0x170 [ 31.681796][ T328] ? __lock_acquire+0x518/0xc20 [ 31.681798][ T328] ? __lock_acquire+0x518/0xc20 [ 31.681802][ T328] ? hvc_write+0x3a0/0x3a0 [ 31.681805][ T328] ? console_emit_next_record+0x202/0x4f0 [ 31.681808][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.681810][ T328] ? lock_acquire+0x13c/0x160 [ 31.681814][ T328] console_emit_next_record+0x252/0x4f0 [ 31.681818][ T328] ? devkmsg_read+0x4e0/0x4e0 [ 31.681822][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.681824][ T328] ? lock_acquire+0x13c/0x160 [ 31.681828][ T328] console_flush_one_record+0x46f/0x710 [ 31.681831][ T328] ? console_emit_next_record+0x4f0/0x4f0 [ 31.681833][ T328] ? __lock_acquire+0x518/0xc20 [ 31.681843][ T328] console_unlock+0xee/0x1f0 [ 31.681845][ T328] ? console_flush_one_record+0x710/0x710 [ 31.681847][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.681849][ T328] ? lock_acquire+0x60/0x160 [ 31.681853][ T328] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.681855][ T328] ? vprintk_emit+0x320/0x3e0 [ 31.681858][ T328] vprintk_emit+0x37c/0x3e0 [ 31.681861][ T328] ? wake_up_klogd_work_func+0x90/0x90 [ 31.681865][ T328] ? rtnl_newlink+0x9f1/0x11b0 [ 31.681868][ T328] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.681869][ T328] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.681871][ T328] ? look_up_lock_class+0x65/0x150 [ 31.681874][ T328] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.681878][ T328] _printk+0xc7/0x100 [ 31.681882][ T328] ? snapshot_read.cold+0x21/0x21 [ 31.681885][ T328] ? __lock_acquire+0x518/0xc20 [ 31.681888][ T328] ? netdev_name+0x43/0x60 [ 31.681891][ T328] ? __netdev_printk+0x17f/0x1d0 [ 31.681895][ T328] netdev_info+0xe2/0x116 [ 31.681897][ T328] ? netdev_notice+0x120/0x120 [ 31.681902][ T328] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 31.681904][ T328] ? lockdep_hardirqs_on+0x91/0x130 [ 31.681905][ T328] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 31.681908][ T328] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 31.681910][ T328] ? kvfree_call_rcu+0x23b/0x2e0 [ 31.681915][ T328] team_port_del+0x61d/0xaa0 [ 31.681921][ T328] do_set_master+0x15c/0x780 [ 31.681925][ T328] do_setlink.isra.0+0x9ec/0x2a60 [ 31.681929][ T328] ? stack_trace_save+0x93/0xc0 [ 31.681932][ T328] ? rtnl_link_get_size+0x350/0x350 [ 31.681934][ T328] ? rcu_read_lock_any_held+0x66/0x90 [ 31.681936][ T328] ? stack_depot_save_flags+0x38e/0x790 [ 31.681939][ T328] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.681942][ T328] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.681944][ T328] ? validate_chain+0x38b/0xc20 [ 31.681947][ T328] ? kasan_save_stack+0x3d/0x50 [ 31.681949][ T328] ? kasan_save_stack+0x2f/0x50 [ 31.681950][ T328] ? kasan_save_track+0x14/0x30 [ 31.681952][ T328] ? __lock_acquire+0x518/0xc20 [ 31.681955][ T328] ? netlink_seq_next+0x5e/0x60 [ 31.681958][ T328] ? ___sys_sendmsg+0xc0/0x1d0 [ 31.681962][ T328] ? lock_acquire.part.0+0xd4/0x280 [ 31.681965][ T328] ? rtnl_newlink+0x9a8/0x11b0 [ 31.681968][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.681970][ T328] ? lock_acquire+0x13c/0x160 [ 31.681971][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.681973][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.681975][ T328] ? trace_contention_end+0xb3/0x180 [ 31.681977][ T328] ? __mutex_lock+0x1db/0x1ea0 [ 31.681979][ T328] ? __mutex_lock+0x9a3/0x1ea0 [ 31.681981][ T328] ? rtnl_newlink+0x9a8/0x11b0 [ 31.681985][ T328] ? ww_mutex_lock+0x160/0x160 [ 31.681986][ T328] ? nla_get_range_signed+0x3d0/0x3d0 [ 31.681993][ T328] ? __rtnl_newlink+0x3fa/0xa50 [ 31.681998][ T328] rtnl_newlink+0x9f1/0x11b0 [ 31.682004][ T328] ? rtnl_bridge_getlink+0x850/0x850 [ 31.682006][ T328] ? __lock_acquire+0x518/0xc20 [ 31.682011][ T328] ? lock_acquire.part.0+0xd4/0x280 [ 31.682013][ T328] ? find_held_lock+0x2b/0x80 [ 31.682016][ T328] ? rtnl_bridge_getlink+0x850/0x850 [ 31.682018][ T328] ? __lock_release.isra.0+0x69/0x1a0 [ 31.682022][ T328] ? rtnl_bridge_getlink+0x850/0x850 [ 31.682025][ T328] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 31.682029][ T328] ? rtnl_link_fill+0x900/0x900 [ 31.682030][ T328] ? __lock_acquire+0x518/0xc20 [ 31.682035][ T328] ? lock_acquire.part.0+0xd4/0x280 [ 31.682037][ T328] ? find_held_lock+0x2b/0x80 [ 31.682041][ T328] netlink_rcv_skb+0x14e/0x3a0 [ 31.682043][ T328] ? rtnl_link_fill+0x900/0x900 [ 31.682046][ T328] ? netlink_ack+0xcd0/0xcd0 [ 31.682052][ T328] ? netlink_deliver_tap+0xc5/0x330 [ 31.682054][ T328] ? netlink_deliver_tap+0x13c/0x330 [ 31.682058][ T328] netlink_unicast+0x486/0x750 [ 31.682062][ T328] ? netlink_attachskb+0x810/0x810 [ 31.682065][ T328] ? __lock_acquire+0x518/0xc20 [ 31.682069][ T328] netlink_sendmsg+0x735/0xc60 [ 31.682073][ T328] ? netlink_unicast+0x750/0x750 [ 31.682077][ T328] ? __might_fault+0x97/0x140 [ 31.682082][ T328] ____sys_sendmsg+0x415/0x880 [ 31.682084][ T328] ? copy_msghdr_from_user+0x279/0x420 [ 31.682086][ T328] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 31.682088][ T328] ? move_addr_to_kernel+0x40/0x40 [ 31.682095][ T328] ___sys_sendmsg+0x14e/0x1d0 [ 31.682097][ T328] ? copy_msghdr_from_user+0x420/0x420 [ 31.682112][ T328] __sys_sendmsg+0x12c/0x1d0 [ 31.682115][ T328] ? __sys_sendmsg_sock+0x20/0x20 [ 31.682121][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.682124][ T328] do_syscall_64+0xff/0x530 [ 31.682126][ T328] ? exc_page_fault+0xee/0x100 [ 31.682129][ T328] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.682131][ T328] RIP: 0033:0x7fd1c5ea354e [ 31.682135][ T328] 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.682137][ T328] RSP: 002b:00007ffed37a28e0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 31.682139][ T328] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fd1c5ea354e [ 31.682141][ T328] RDX: 0000000000000000 RSI: 00007ffed37a2990 RDI: 0000000000000005 [ 31.682142][ T328] RBP: 00007ffed37a28f0 R08: 0000000000000000 R09: 0000000000000000 [ 31.682143][ T328] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e10e [ 31.682143][ T328] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffed37a3060 [ 31.682150][ T328] [ 31.864995][ T331] test_team1: Mode changed to "roundrobin" [ 31.893940][ T332] test_team1: Port device eth0 added [ 32.620515][ T339] eth0: entered promiscuous mode [ 35.057152][ T339] eth0: left promiscuous mode [ 35.057170][ T339] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.057173][ T339] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 339, name: tcpdump [ 35.057174][ T339] preempt_count: 1, expected: 0 [ 35.057175][ T339] RCU nest depth: 0, expected: 0 [ 35.057176][ T339] locks held by tcpdump/339: 6, last CPU#0: [ 35.057179][ T339] #0: ff1100000d0ce038 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 35.057191][ T339] #1: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 35.057198][ T339] #2: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.057204][ T339] #3: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.057207][ T339] #4: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.057210][ T339] #5: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 35.057214][ T339] irq event stamp: 52826 [ 35.057215][ T339] hardirqs last enabled at (52825): [] __down_trylock_console_sem+0x86/0xa0 [ 35.057219][ T339] hardirqs last disabled at (52826): [] console_emit_next_record+0x3f8/0x4f0 [ 35.057220][ T339] softirqs last enabled at (52674): [] packet_setsockopt+0xcdf/0x21e0 [ 35.057222][ T339] softirqs last disabled at (52672): [] release_sock+0x21/0x240 [ 35.057226][ T339] Preemption disabled at: [ 35.057226][ T339] [] vprintk_emit+0x31b/0x3e0 [ 35.057232][ T339] CPU: 0 UID: 72 PID: 339 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.057235][ T339] Tainted: [W]=WARN [ 35.057236][ T339] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.057238][ T339] Call Trace: [ 35.057239][ T339] [ 35.057241][ T339] dump_stack_lvl+0x6f/0xa0 [ 35.057246][ T339] ? vprintk_emit+0x31b/0x3e0 [ 35.057248][ T339] __might_resched.cold+0x1fe/0x2c1 [ 35.057252][ T339] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.057256][ T339] ? __kmalloc_noprof+0xdb/0x760 [ 35.057261][ T339] __kmalloc_noprof+0x443/0x760 [ 35.057264][ T339] ? alloc_buf.isra.0+0x4b/0x260 [ 35.057270][ T339] ? do_raw_spin_unlock+0x59/0x250 [ 35.057272][ T339] alloc_buf.isra.0+0x4b/0x260 [ 35.057276][ T339] put_chars+0x1e1/0x2f0 [ 35.057280][ T339] ? __send_to_port+0x420/0x420 [ 35.057283][ T339] ? validate_chain+0x38b/0xc20 [ 35.057289][ T339] hvc_console_print+0x292/0x780 [ 35.057297][ T339] ? hvc_write+0x3a0/0x3a0 [ 35.057300][ T339] ? rcu_is_watching+0x16/0xd0 [ 35.057303][ T339] ? lock_acquire+0x13c/0x160 [ 35.057307][ T339] console_emit_next_record+0x252/0x4f0 [ 35.057311][ T339] ? devkmsg_read+0x4e0/0x4e0 [ 35.057315][ T339] ? rcu_is_watching+0x16/0xd0 [ 35.057317][ T339] ? lock_acquire+0x13c/0x160 [ 35.057322][ T339] console_flush_one_record+0x46f/0x710 [ 35.057325][ T339] ? console_emit_next_record+0x4f0/0x4f0 [ 35.057327][ T339] ? __lock_acquire+0x518/0xc20 [ 35.057333][ T339] console_unlock+0xee/0x1f0 [ 35.057335][ T339] ? console_flush_one_record+0x710/0x710 [ 35.057337][ T339] ? rcu_is_watching+0x16/0xd0 [ 35.057339][ T339] ? lock_acquire+0x60/0x160 [ 35.057343][ T339] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.057345][ T339] ? vprintk_emit+0x320/0x3e0 [ 35.057348][ T339] vprintk_emit+0x37c/0x3e0 [ 35.057351][ T339] ? wake_up_klogd_work_func+0x90/0x90 [ 35.057355][ T339] ? __lock_acquire+0x518/0xc20 [ 35.057359][ T339] _printk+0xc7/0x100 [ 35.057362][ T339] ? snapshot_read.cold+0x21/0x21 [ 35.057364][ T339] ? lock_acquire.part.0+0xd4/0x280 [ 35.057368][ T339] ? rcu_is_watching+0x16/0xd0 [ 35.057370][ T339] ? netdev_name+0x43/0x60 [ 35.057373][ T339] ? __netdev_printk+0x17f/0x1d0 [ 35.057376][ T339] netdev_info+0xe2/0x116 [ 35.057379][ T339] ? netdev_notice+0x120/0x120 [ 35.057380][ T339] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 35.057383][ T339] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 35.057387][ T339] ? ww_mutex_lock+0x160/0x160 [ 35.057389][ T339] ? lock_acquire.part.0+0xd4/0x280 [ 35.057391][ T339] ? ref_tracker_alloc+0x430/0x430 [ 35.057395][ T339] ? packet_release+0x363/0xc40 [ 35.057397][ T339] ? __fput+0x363/0xac0 [ 35.057400][ T339] ? mutex_is_locked+0x1c/0x50 [ 35.057403][ T339] __dev_set_promiscuity.cold+0x7a/0x104 [ 35.057408][ T339] netif_set_promiscuity+0x4c/0xc0 [ 35.057413][ T339] dev_set_promiscuity+0xa1/0x230 [ 35.057416][ T339] packet_release+0x4cb/0xc40 [ 35.057421][ T339] ? packet_set_ring+0x1740/0x1740 [ 35.057425][ T339] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 35.057430][ T339] __sock_release+0xb8/0x280 [ 35.057433][ T339] sock_close+0x18/0x20 [ 35.057436][ T339] __fput+0x363/0xac0 [ 35.057441][ T339] fput_close_sync+0xde/0x1b0 [ 35.057443][ T339] ? alloc_file_clone+0xe0/0xe0 [ 35.057446][ T339] ? do_raw_spin_unlock+0x59/0x250 [ 35.057450][ T339] __x64_sys_close+0x8b/0xf0 [ 35.057452][ T339] do_syscall_64+0xff/0x530 [ 35.057454][ T339] ? exc_page_fault+0xee/0x100 [ 35.057458][ T339] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.057460][ T339] RIP: 0033:0x7f83d8b5b54e [ 35.057464][ T339] 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 [ 35.057466][ T339] RSP: 002b:00007ffd5748ce80 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 35.057468][ T339] RAX: ffffffffffffffda RBX: 0000555f3f62a690 RCX: 00007f83d8b5b54e [ 35.057470][ T339] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 35.057471][ T339] RBP: 00007ffd5748ce90 R08: 0000000000000000 R09: 0000000000000000 [ 35.057471][ T339] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 35.057472][ T339] R13: 00000000fffffffe R14: 0000555f37881760 R15: 0000000000000001 [ 35.057479][ T339] [ 36.758651][ T353] test_team1: Port device eth0 removed [ 36.758671][ T353] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 36.758673][ T353] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 353, name: ip [ 36.758675][ T353] preempt_count: 1, expected: 0 [ 36.758676][ T353] RCU nest depth: 0, expected: 0 [ 36.758677][ T353] locks held by ip/353: 5, last CPU#3: [ 36.758679][ T353] #0: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 36.758692][ T353] #1: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 36.758698][ T353] #2: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 36.758702][ T353] #3: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 36.758705][ T353] #4: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 36.758708][ T353] irq event stamp: 20554 [ 36.758709][ T353] hardirqs last enabled at (20553): [] __down_trylock_console_sem+0x86/0xa0 [ 36.758713][ T353] hardirqs last disabled at (20554): [] console_emit_next_record+0x3f8/0x4f0 [ 36.758714][ T353] softirqs last enabled at (20540): [] fib6_run_gc+0x162/0x250 [ 36.758718][ T353] softirqs last disabled at (20534): [] fib6_run_gc+0x1ac/0x250 [ 36.758720][ T353] Preemption disabled at: [ 36.758721][ T353] [] vprintk_emit+0x31b/0x3e0 [ 36.758726][ T353] CPU: 3 UID: 0 PID: 353 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 36.758730][ T353] Tainted: [W]=WARN [ 36.758731][ T353] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 36.758732][ T353] Call Trace: [ 36.758734][ T353] [ 36.758736][ T353] dump_stack_lvl+0x6f/0xa0 [ 36.758741][ T353] ? vprintk_emit+0x31b/0x3e0 [ 36.758743][ T353] __might_resched.cold+0x1fe/0x2c1 [ 36.758747][ T353] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 36.758751][ T353] ? __kmalloc_noprof+0xdb/0x760 [ 36.758756][ T353] __kmalloc_noprof+0x443/0x760 [ 36.758759][ T353] ? alloc_buf.isra.0+0x4b/0x260 [ 36.758765][ T353] ? do_raw_spin_unlock+0x59/0x250 [ 36.758767][ T353] alloc_buf.isra.0+0x4b/0x260 [ 36.758771][ T353] put_chars+0x1e1/0x2f0 [ 36.758775][ T353] ? __send_to_port+0x420/0x420 [ 36.758778][ T353] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.758782][ T353] ? rcu_read_lock_any_held+0x3c/0x90 [ 36.758785][ T353] ? validate_chain+0x38b/0xc20 [ 36.758790][ T353] hvc_console_print+0x292/0x780 [ 36.758794][ T353] ? mark_usage+0x61/0x170 [ 36.758796][ T353] ? __lock_acquire+0x518/0xc20 [ 36.758798][ T353] ? __lock_acquire+0x518/0xc20 [ 36.758802][ T353] ? hvc_write+0x3a0/0x3a0 [ 36.758805][ T353] ? console_emit_next_record+0x202/0x4f0 [ 36.758808][ T353] ? rcu_is_watching+0x16/0xd0 [ 36.758810][ T353] ? lock_acquire+0x13c/0x160 [ 36.758815][ T353] console_emit_next_record+0x252/0x4f0 [ 36.758818][ T353] ? devkmsg_read+0x4e0/0x4e0 [ 36.758822][ T353] ? rcu_is_watching+0x16/0xd0 [ 36.758824][ T353] ? lock_acquire+0x13c/0x160 [ 36.758828][ T353] console_flush_one_record+0x46f/0x710 [ 36.758832][ T353] ? console_emit_next_record+0x4f0/0x4f0 [ 36.758834][ T353] ? __lock_acquire+0x518/0xc20 [ 36.758845][ T353] console_unlock+0xee/0x1f0 [ 36.758847][ T353] ? console_flush_one_record+0x710/0x710 [ 36.758849][ T353] ? rcu_is_watching+0x16/0xd0 [ 36.758851][ T353] ? lock_acquire+0x60/0x160 [ 36.758855][ T353] ? __down_trylock_console_sem+0x5e/0xa0 [ 36.758857][ T353] ? vprintk_emit+0x320/0x3e0 [ 36.758860][ T353] vprintk_emit+0x37c/0x3e0 [ 36.758865][ T353] ? wake_up_klogd_work_func+0x90/0x90 [ 36.758867][ T353] ? rtnl_newlink+0x9f1/0x11b0 [ 36.758869][ T353] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.758871][ T353] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.758873][ T353] ? look_up_lock_class+0x65/0x150 [ 36.758876][ T353] ? rcu_read_lock_any_held+0x3c/0x90 [ 36.758880][ T353] _printk+0xc7/0x100 [ 36.758884][ T353] ? snapshot_read.cold+0x21/0x21 [ 36.758887][ T353] ? __lock_acquire+0x518/0xc20 [ 36.758890][ T353] ? netdev_name+0x43/0x60 [ 36.758893][ T353] ? __netdev_printk+0x17f/0x1d0 [ 36.758897][ T353] netdev_info+0xe2/0x116 [ 36.758899][ T353] ? netdev_notice+0x120/0x120 [ 36.758904][ T353] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 36.758906][ T353] ? lockdep_hardirqs_on+0x91/0x130 [ 36.758908][ T353] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 36.758910][ T353] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 36.758912][ T353] ? kvfree_call_rcu+0x23b/0x2e0 [ 36.758918][ T353] team_port_del+0x61d/0xaa0 [ 36.758924][ T353] do_set_master+0x15c/0x780 [ 36.758928][ T353] do_setlink.isra.0+0x9ec/0x2a60 [ 36.758932][ T353] ? stack_trace_save+0x93/0xc0 [ 36.758935][ T353] ? rtnl_link_get_size+0x350/0x350 [ 36.758937][ T353] ? rcu_read_lock_any_held+0x66/0x90 [ 36.758940][ T353] ? stack_depot_save_flags+0x38e/0x790 [ 36.758943][ T353] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.758945][ T353] ? rcu_read_lock_any_held+0x3c/0x90 [ 36.758947][ T353] ? validate_chain+0x38b/0xc20 [ 36.758950][ T353] ? kasan_save_stack+0x3d/0x50 [ 36.758952][ T353] ? kasan_save_stack+0x2f/0x50 [ 36.758954][ T353] ? kasan_save_track+0x14/0x30 [ 36.758956][ T353] ? __lock_acquire+0x518/0xc20 [ 36.758958][ T353] ? netlink_seq_next+0x5e/0x60 [ 36.758961][ T353] ? ___sys_sendmsg+0xc0/0x1d0 [ 36.758966][ T353] ? lock_acquire.part.0+0xd4/0x280 [ 36.758968][ T353] ? rtnl_newlink+0x9a8/0x11b0 [ 36.758971][ T353] ? rcu_is_watching+0x16/0xd0 [ 36.758973][ T353] ? lock_acquire+0x13c/0x160 [ 36.758975][ T353] ? rcu_is_watching+0x16/0xd0 [ 36.758976][ T353] ? rcu_is_watching+0x16/0xd0 [ 36.758978][ T353] ? trace_contention_end+0xb3/0x180 [ 36.758981][ T353] ? __mutex_lock+0x1db/0x1ea0 [ 36.758982][ T353] ? __mutex_lock+0x9a3/0x1ea0 [ 36.758984][ T353] ? rtnl_newlink+0x9a8/0x11b0 [ 36.758988][ T353] ? ww_mutex_lock+0x160/0x160 [ 36.758990][ T353] ? nla_get_range_signed+0x3d0/0x3d0 [ 36.758997][ T353] ? __rtnl_newlink+0x3fa/0xa50 [ 36.759006][ T353] rtnl_newlink+0x9f1/0x11b0 [ 36.759014][ T353] ? rtnl_bridge_getlink+0x850/0x850 [ 36.759017][ T353] ? __lock_acquire+0x518/0xc20 [ 36.759022][ T353] ? lock_acquire.part.0+0xd4/0x280 [ 36.759024][ T353] ? find_held_lock+0x2b/0x80 [ 36.759026][ T353] ? rtnl_bridge_getlink+0x850/0x850 [ 36.759029][ T353] ? __lock_release.isra.0+0x69/0x1a0 [ 36.759033][ T353] ? rtnl_bridge_getlink+0x850/0x850 [ 36.759036][ T353] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 36.759039][ T353] ? rtnl_link_fill+0x900/0x900 [ 36.759041][ T353] ? __lock_acquire+0x518/0xc20 [ 36.759046][ T353] ? lock_acquire.part.0+0xd4/0x280 [ 36.759048][ T353] ? find_held_lock+0x2b/0x80 [ 36.759052][ T353] netlink_rcv_skb+0x14e/0x3a0 [ 36.759054][ T353] ? rtnl_link_fill+0x900/0x900 [ 36.759057][ T353] ? netlink_ack+0xcd0/0xcd0 [ 36.759064][ T353] ? netlink_deliver_tap+0xc5/0x330 [ 36.759065][ T353] ? netlink_deliver_tap+0x13c/0x330 [ 36.759070][ T353] netlink_unicast+0x486/0x750 [ 36.759073][ T353] ? netlink_attachskb+0x810/0x810 [ 36.759076][ T353] ? __lock_acquire+0x518/0xc20 [ 36.759081][ T353] netlink_sendmsg+0x735/0xc60 [ 36.759085][ T353] ? netlink_unicast+0x750/0x750 [ 36.759089][ T353] ? __might_fault+0x97/0x140 [ 36.759094][ T353] ____sys_sendmsg+0x415/0x880 [ 36.759096][ T353] ? copy_msghdr_from_user+0x279/0x420 [ 36.759098][ T353] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 36.759100][ T353] ? move_addr_to_kernel+0x40/0x40 [ 36.759107][ T353] ___sys_sendmsg+0x14e/0x1d0 [ 36.759110][ T353] ? copy_msghdr_from_user+0x420/0x420 [ 36.759125][ T353] __sys_sendmsg+0x12c/0x1d0 [ 36.759128][ T353] ? __sys_sendmsg_sock+0x20/0x20 [ 36.759134][ T353] ? rcu_is_watching+0x16/0xd0 [ 36.759137][ T353] do_syscall_64+0xff/0x530 [ 36.759139][ T353] ? exc_page_fault+0xee/0x100 [ 36.759142][ T353] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 36.759144][ T353] RIP: 0033:0x7fd9a086454e [ 36.759148][ T353] 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.759150][ T353] RSP: 002b:00007ffd89efd1f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 36.759153][ T353] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fd9a086454e [ 36.759154][ T353] RDX: 0000000000000000 RSI: 00007ffd89efd2a0 RDI: 0000000000000005 [ 36.759155][ T353] RBP: 00007ffd89efd200 R08: 0000000000000000 R09: 0000000000000000 [ 36.759156][ T353] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a90e113 [ 36.759157][ T353] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd89efd970 [ 36.759164][ T353] [ 36.940161][ T356] test_team1: Mode changed to "random" [ 36.973047][ T357] test_team1: Port device eth0 added [ 37.683956][ T364] eth0: entered promiscuous mode [ 40.134572][ T364] eth0: left promiscuous mode [ 40.134590][ T364] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 40.134592][ T364] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 364, name: tcpdump [ 40.134594][ T364] preempt_count: 1, expected: 0 [ 40.134595][ T364] RCU nest depth: 0, expected: 0 [ 40.134596][ T364] locks held by tcpdump/364: 6, last CPU#2: [ 40.134598][ T364] #0: ff1100000a5dbab8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 40.134611][ T364] #1: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 40.134618][ T364] #2: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 40.134624][ T364] #3: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 40.134627][ T364] #4: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 40.134630][ T364] #5: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 40.134634][ T364] irq event stamp: 53736 [ 40.134635][ T364] hardirqs last enabled at (53735): [] __down_trylock_console_sem+0x86/0xa0 [ 40.134638][ T364] hardirqs last disabled at (53736): [] console_emit_next_record+0x3f8/0x4f0 [ 40.134640][ T364] softirqs last enabled at (53584): [] packet_setsockopt+0xcdf/0x21e0 [ 40.134642][ T364] softirqs last disabled at (53582): [] release_sock+0x21/0x240 [ 40.134645][ T364] Preemption disabled at: [ 40.134646][ T364] [] vprintk_emit+0x31b/0x3e0 [ 40.134651][ T364] CPU: 2 UID: 72 PID: 364 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 40.134655][ T364] Tainted: [W]=WARN [ 40.134656][ T364] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 40.134657][ T364] Call Trace: [ 40.134659][ T364] [ 40.134660][ T364] dump_stack_lvl+0x6f/0xa0 [ 40.134665][ T364] ? vprintk_emit+0x31b/0x3e0 [ 40.134667][ T364] __might_resched.cold+0x1fe/0x2c1 [ 40.134672][ T364] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 40.134675][ T364] ? __kmalloc_noprof+0xdb/0x760 [ 40.134681][ T364] __kmalloc_noprof+0x443/0x760 [ 40.134683][ T364] ? alloc_buf.isra.0+0x4b/0x260 [ 40.134690][ T364] ? do_raw_spin_unlock+0x59/0x250 [ 40.134692][ T364] alloc_buf.isra.0+0x4b/0x260 [ 40.134696][ T364] put_chars+0x1e1/0x2f0 [ 40.134699][ T364] ? __send_to_port+0x420/0x420 [ 40.134703][ T364] ? validate_chain+0x38b/0xc20 [ 40.134709][ T364] hvc_console_print+0x292/0x780 [ 40.134716][ T364] ? hvc_write+0x3a0/0x3a0 [ 40.134719][ T364] ? rcu_is_watching+0x16/0xd0 [ 40.134723][ T364] ? lock_acquire+0x13c/0x160 [ 40.134727][ T364] console_emit_next_record+0x252/0x4f0 [ 40.134731][ T364] ? devkmsg_read+0x4e0/0x4e0 [ 40.134735][ T364] ? rcu_is_watching+0x16/0xd0 [ 40.134737][ T364] ? lock_acquire+0x13c/0x160 [ 40.134741][ T364] console_flush_one_record+0x46f/0x710 [ 40.134745][ T364] ? console_emit_next_record+0x4f0/0x4f0 [ 40.134746][ T364] ? __lock_acquire+0x518/0xc20 [ 40.134752][ T364] console_unlock+0xee/0x1f0 [ 40.134754][ T364] ? console_flush_one_record+0x710/0x710 [ 40.134755][ T364] ? rcu_is_watching+0x16/0xd0 [ 40.134757][ T364] ? lock_acquire+0x60/0x160 [ 40.134761][ T364] ? __down_trylock_console_sem+0x5e/0xa0 [ 40.134763][ T364] ? vprintk_emit+0x320/0x3e0 [ 40.134766][ T364] vprintk_emit+0x37c/0x3e0 [ 40.134770][ T364] ? wake_up_klogd_work_func+0x90/0x90 [ 40.134773][ T364] ? __lock_acquire+0x518/0xc20 [ 40.134777][ T364] _printk+0xc7/0x100 [ 40.134780][ T364] ? snapshot_read.cold+0x21/0x21 [ 40.134782][ T364] ? lock_acquire.part.0+0xd4/0x280 [ 40.134786][ T364] ? rcu_is_watching+0x16/0xd0 [ 40.134787][ T364] ? netdev_name+0x43/0x60 [ 40.134791][ T364] ? __netdev_printk+0x17f/0x1d0 [ 40.134794][ T364] netdev_info+0xe2/0x116 [ 40.134796][ T364] ? netdev_notice+0x120/0x120 [ 40.134798][ T364] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 40.134800][ T364] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 40.134804][ T364] ? ww_mutex_lock+0x160/0x160 [ 40.134806][ T364] ? lock_acquire.part.0+0xd4/0x280 [ 40.134809][ T364] ? ref_tracker_alloc+0x430/0x430 [ 40.134812][ T364] ? packet_release+0x363/0xc40 [ 40.134814][ T364] ? __fput+0x363/0xac0 [ 40.134817][ T364] ? mutex_is_locked+0x1c/0x50 [ 40.134820][ T364] __dev_set_promiscuity.cold+0x7a/0x104 [ 40.134824][ T364] netif_set_promiscuity+0x4c/0xc0 [ 40.134829][ T364] dev_set_promiscuity+0xa1/0x230 [ 40.134832][ T364] packet_release+0x4cb/0xc40 [ 40.134843][ T364] ? packet_set_ring+0x1740/0x1740 [ 40.134847][ T364] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 40.134852][ T364] __sock_release+0xb8/0x280 [ 40.134855][ T364] sock_close+0x18/0x20 [ 40.134857][ T364] __fput+0x363/0xac0 [ 40.134865][ T364] fput_close_sync+0xde/0x1b0 [ 40.134868][ T364] ? alloc_file_clone+0xe0/0xe0 [ 40.134870][ T364] ? do_raw_spin_unlock+0x59/0x250 [ 40.134874][ T364] __x64_sys_close+0x8b/0xf0 [ 40.134877][ T364] do_syscall_64+0xff/0x530 [ 40.134879][ T364] ? exc_page_fault+0xee/0x100 [ 40.134882][ T364] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 40.134884][ T364] RIP: 0033:0x7f7af905f54e [ 40.134888][ T364] 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 [ 40.134890][ T364] RSP: 002b:00007ffef3677fc0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 40.134893][ T364] RAX: ffffffffffffffda RBX: 000055ed2858a690 RCX: 00007f7af905f54e [ 40.134894][ T364] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 40.134895][ T364] RBP: 00007ffef3677fd0 R08: 0000000000000000 R09: 0000000000000000 [ 40.134896][ T364] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 40.134896][ T364] R13: 00000000fffffffe R14: 000055ecfee45760 R15: 0000000000000001 [ 40.134903][ T364] [ 41.951674][ T70] test_team1 (unregistering): Port device eth0 removed [ 41.951727][ T70] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.951730][ T70] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 70, name: kworker/u16:1 [ 41.951732][ T70] preempt_count: 1, expected: 0 [ 41.951733][ T70] RCU nest depth: 0, expected: 0 [ 41.951734][ T70] locks held by kworker/u16:1/70: 8, last CPU#0: [ 41.951735][ T70] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 41.951747][ T70] #1: ffa00000004b7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 41.951751][ T70] #2: ffffffffb1b06b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 41.951756][ T70] #3: ffffffffb1b22700 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 41.951760][ T70] #4: ffffffffb1399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.951765][ T70] #5: ffffffffb1399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.951768][ T70] #6: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.951771][ T70] #7: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 41.951774][ T70] irq event stamp: 31368 [ 41.951775][ T70] hardirqs last enabled at (31367): [] __down_trylock_console_sem+0x86/0xa0 [ 41.951778][ T70] hardirqs last disabled at (31368): [] console_emit_next_record+0x3f8/0x4f0 [ 41.951780][ T70] softirqs last enabled at (31352): [] fib6_run_gc+0x162/0x250 [ 41.951783][ T70] softirqs last disabled at (31346): [] fib6_run_gc+0x1ac/0x250 [ 41.951785][ T70] Preemption disabled at: [ 41.951786][ T70] [] vprintk_emit+0x31b/0x3e0 [ 41.951791][ T70] CPU: 0 UID: 0 PID: 70 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.951795][ T70] Tainted: [W]=WARN [ 41.951797][ T70] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.951799][ T70] Workqueue: netns cleanup_net [ 41.951803][ T70] Call Trace: [ 41.951805][ T70] [ 41.951808][ T70] dump_stack_lvl+0x6f/0xa0 [ 41.951814][ T70] ? vprintk_emit+0x31b/0x3e0 [ 41.951816][ T70] __might_resched.cold+0x1fe/0x2c1 [ 41.951821][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.951824][ T70] ? __kmalloc_noprof+0xdb/0x760 [ 41.951830][ T70] __kmalloc_noprof+0x443/0x760 [ 41.951832][ T70] ? alloc_buf.isra.0+0x4b/0x260 [ 41.951846][ T70] ? do_raw_spin_unlock+0x59/0x250 [ 41.951848][ T70] alloc_buf.isra.0+0x4b/0x260 [ 41.951852][ T70] put_chars+0x1e1/0x2f0 [ 41.951856][ T70] ? __send_to_port+0x420/0x420 [ 41.951858][ T70] ? check_prev_add+0xef/0xe90 [ 41.951865][ T70] ? validate_chain+0x34a/0xc20 [ 41.951869][ T70] hvc_console_print+0x292/0x780 [ 41.951873][ T70] ? mark_usage+0x61/0x170 [ 41.951875][ T70] ? __lock_acquire+0x518/0xc20 [ 41.951877][ T70] ? __lock_acquire+0x518/0xc20 [ 41.951882][ T70] ? hvc_write+0x3a0/0x3a0 [ 41.951883][ T70] ? lock_acquire.part.0+0xd4/0x280 [ 41.951888][ T70] ? lock_acquire+0x13c/0x160 [ 41.951893][ T70] console_emit_next_record+0x252/0x4f0 [ 41.951896][ T70] ? devkmsg_read+0x4e0/0x4e0 [ 41.951901][ T70] ? rcu_is_watching+0x16/0xd0 [ 41.951904][ T70] ? lock_acquire+0x13c/0x160 [ 41.951909][ T70] console_flush_one_record+0x46f/0x710 [ 41.951913][ T70] ? console_emit_next_record+0x4f0/0x4f0 [ 41.951914][ T70] ? __lock_acquire+0x518/0xc20 [ 41.951920][ T70] console_unlock+0xee/0x1f0 [ 41.951923][ T70] ? console_flush_one_record+0x710/0x710 [ 41.951924][ T70] ? rcu_is_watching+0x16/0xd0 [ 41.951926][ T70] ? lock_acquire+0x60/0x160 [ 41.951930][ T70] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.951932][ T70] ? vprintk_emit+0x320/0x3e0 [ 41.951935][ T70] vprintk_emit+0x37c/0x3e0 [ 41.951939][ T70] ? wake_up_klogd_work_func+0x90/0x90 [ 41.951940][ T70] ? default_device_exit_batch+0x38b/0x600 [ 41.951942][ T70] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.951944][ T70] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.951946][ T70] ? look_up_lock_class+0x65/0x150 [ 41.951949][ T70] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.951954][ T70] _printk+0xc7/0x100 [ 41.951958][ T70] ? snapshot_read.cold+0x21/0x21 [ 41.951962][ T70] ? __lock_acquire+0x518/0xc20 [ 41.951964][ T70] ? netdev_name+0x43/0x60 [ 41.951968][ T70] ? __netdev_printk+0x17f/0x1d0 [ 41.951971][ T70] netdev_info+0xe2/0x116 [ 41.951974][ T70] ? netdev_notice+0x120/0x120 [ 41.951978][ T70] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 41.951980][ T70] ? lockdep_hardirqs_on+0x91/0x130 [ 41.951982][ T70] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 41.951985][ T70] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 41.951987][ T70] ? kvfree_call_rcu+0x23b/0x2e0 [ 41.951992][ T70] team_port_del+0x61d/0xaa0 [ 41.951998][ T70] team_uninit+0xc4/0x1f0 [ 41.952002][ T70] unregister_netdevice_many_notify+0xee7/0x1b40 [ 41.952007][ T70] ? unregister_netdevice_queued+0x80/0x80 [ 41.952015][ T70] default_device_exit_batch+0x38b/0x600 [ 41.952018][ T70] ? generic_xdp_install+0x470/0x470 [ 41.952021][ T70] ? unregister_netdevice_queue+0x470/0x470 [ 41.952024][ T70] ? rtnl_is_locked+0x15/0x20 [ 41.952026][ T70] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 41.952032][ T70] ops_undo_list+0x2ce/0x8f0 [ 41.952036][ T70] ? lockdep_hardirqs_on+0x91/0x130 [ 41.952038][ T70] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 41.952039][ T70] ? __lock_release.isra.0+0x69/0x1a0 [ 41.952043][ T70] ? idr_destroy+0x121/0x250 [ 41.952048][ T70] cleanup_net+0x431/0x890 [ 41.952051][ T70] ? net_passive_dec+0x230/0x230 [ 41.952054][ T70] ? lock_acquire+0x13c/0x160 [ 41.952056][ T70] ? rcu_is_watching+0x16/0xd0 [ 41.952060][ T70] process_one_work+0xe3e/0x1560 [ 41.952067][ T70] ? __queue_delayed_work+0x470/0x470 [ 41.952069][ T70] ? lock_acquire.part.0+0xd4/0x280 [ 41.952077][ T70] worker_thread+0x4f1/0xd60 [ 41.952081][ T70] ? rescuer_thread+0x1340/0x1340 [ 41.952083][ T70] ? __kthread_parkme+0xbd/0x210 [ 41.952086][ T70] ? rescuer_thread+0x1340/0x1340 [ 41.952089][ T70] ? rescuer_thread+0x1340/0x1340 [ 41.952090][ T70] kthread+0x367/0x460 [ 41.952093][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.952096][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.952099][ T70] ret_from_fork+0x474/0x6b0 [ 41.952104][ T70] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 41.952108][ T70] ? __switch_to+0x5a3/0xe00 [ 41.952111][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.952114][ T70] ret_from_fork_asm+0x11/0x20 [ 41.952123][ T70] [ 41.984840][ T70] test_team2: Port device eth0 removed