[ 10.185475][ T202] ip (202) used greatest stack depth: 24160 bytes left [ 10.185494][ T202] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.185497][ T202] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 202, name: ip [ 10.185499][ T202] preempt_count: 2, expected: 0 [ 10.185500][ T202] RCU nest depth: 0, expected: 0 [ 10.185501][ T202] locks held by ip/202: 5, last CPU#0: [ 10.185503][ T202] #0: ffffffff952027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.185515][ T202] #1: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.185521][ T202] #2: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.185524][ T202] #3: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.185528][ T202] #4: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.185532][ T202] irq event stamp: 27200 [ 10.185533][ T202] hardirqs last enabled at (27199): [] __down_trylock_console_sem+0x86/0xa0 [ 10.185536][ T202] hardirqs last disabled at (27200): [] console_emit_next_record+0x3f8/0x4f0 [ 10.185538][ T202] softirqs last enabled at (25644): [] netlink_release+0x17b/0xcf0 [ 10.185542][ T202] softirqs last disabled at (25642): [] netlink_release+0xd2/0xcf0 [ 10.185545][ T202] Preemption disabled at: [ 10.185545][ T202] [<0000000000000000>] 0x0 [ 10.185553][ T202] CPU: 0 UID: 0 PID: 202 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.185556][ T202] Tainted: [W]=WARN [ 10.185557][ T202] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.185559][ T202] Call Trace: [ 10.185561][ T202] [ 10.185562][ T202] dump_stack_lvl+0x6f/0xa0 [ 10.185568][ T202] __might_resched.cold+0x1fe/0x2c1 [ 10.185573][ T202] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.185577][ T202] ? __kmalloc_noprof+0xdb/0x760 [ 10.185583][ T202] __kmalloc_noprof+0x443/0x760 [ 10.185585][ T202] ? alloc_buf.isra.0+0x4b/0x260 [ 10.185592][ T202] ? do_raw_spin_unlock+0x59/0x250 [ 10.185594][ T202] alloc_buf.isra.0+0x4b/0x260 [ 10.185598][ T202] put_chars+0x1e1/0x2f0 [ 10.185601][ T202] ? __send_to_port+0x420/0x420 [ 10.185603][ T202] ? printk_get_next_message+0x2fe/0x7d0 [ 10.185606][ T202] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.185610][ T202] ? validate_chain+0x38b/0xc20 [ 10.185615][ T202] hvc_console_print+0x292/0x780 [ 10.185619][ T202] ? __lock_acquire+0x518/0xc20 [ 10.185621][ T202] ? __lock_acquire+0x518/0xc20 [ 10.185626][ T202] ? hvc_write+0x3a0/0x3a0 [ 10.185629][ T202] ? rcu_is_watching+0x16/0xd0 [ 10.185632][ T202] ? lock_acquire+0x13c/0x160 [ 10.185636][ T202] console_emit_next_record+0x252/0x4f0 [ 10.185640][ T202] ? devkmsg_read+0x4e0/0x4e0 [ 10.185644][ T202] ? rcu_is_watching+0x16/0xd0 [ 10.185646][ T202] ? lock_acquire+0x13c/0x160 [ 10.185650][ T202] console_flush_one_record+0x46f/0x710 [ 10.185654][ T202] ? console_emit_next_record+0x4f0/0x4f0 [ 10.185655][ T202] ? __lock_acquire+0x518/0xc20 [ 10.185660][ T202] console_unlock+0xee/0x1f0 [ 10.185663][ T202] ? console_flush_one_record+0x710/0x710 [ 10.185664][ T202] ? rcu_is_watching+0x16/0xd0 [ 10.185666][ T202] ? lock_acquire+0x60/0x160 [ 10.185670][ T202] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.185672][ T202] ? vprintk_emit+0x320/0x3e0 [ 10.185675][ T202] vprintk_emit+0x37c/0x3e0 [ 10.185678][ T202] ? wake_up_klogd_work_func+0x90/0x90 [ 10.185681][ T202] ? __lock_acquire+0x518/0xc20 [ 10.185685][ T202] _printk+0xc7/0x100 [ 10.185689][ T202] ? snapshot_read.cold+0x21/0x21 [ 10.185692][ T202] ? do_raw_spin_lock+0x131/0x280 [ 10.185694][ T202] ? __rwlock_init+0x150/0x150 [ 10.185697][ T202] ? do_raw_spin_lock+0x131/0x280 [ 10.185700][ T202] do_exit.cold+0x82/0x9c [ 10.185704][ T202] ? exit_notify+0x890/0x890 [ 10.185705][ T202] ? __lock_release.isra.0+0x69/0x1a0 [ 10.185708][ T202] ? rcu_is_watching+0x16/0xd0 [ 10.185712][ T202] do_group_exit+0xb8/0x370 [ 10.185715][ T202] __x64_sys_exit_group+0x3c/0x50 [ 10.185717][ T202] x64_sys_call+0x1567/0x1570 [ 10.185720][ T202] do_syscall_64+0xff/0x530 [ 10.185723][ T202] ? exc_page_fault+0xee/0x100 [ 10.185726][ T202] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.185728][ T202] RIP: 0033:0x7f0ce46701b8 [ 10.185731][ T202] Code: Unable to access opcode bytes at 0x7f0ce467018e. [ 10.185732][ T202] RSP: 002b:00007ffcac0ebc58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.185734][ T202] RAX: ffffffffffffffda RBX: 00007f0ce47a0f88 RCX: 00007f0ce46701b8 [ 10.185736][ T202] RDX: 00007f0ce43bafc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.185737][ T202] RBP: 00007ffcac0ebcb0 R08: 0000000000000000 R09: 0000000000000050 [ 10.185737][ T202] R10: 00007ffcac0eba70 R11: 0000000000000246 R12: 0000000000000001 [ 10.185738][ T202] R13: 0000000000000000 R14: 00007f0ce479f680 R15: 00007f0ce47a0fa0 [ 10.185745][ T202] [ 10.606146][ T211] test_team2: Mode changed to "roundrobin" [ 10.644844][ T212] test_team2: Port device eth0 added [ 10.883474][ T221] test_team1: Mode changed to "broadcast" [ 10.921201][ T222] test_team1: Port device eth0 added [ 11.706884][ T230] eth0: entered promiscuous mode [ 11.706904][ T230] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.706906][ T230] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 230, name: tcpdump [ 11.706907][ T230] preempt_count: 1, expected: 0 [ 11.706908][ T230] RCU nest depth: 0, expected: 0 [ 11.706909][ T230] locks held by tcpdump/230: 5, last CPU#0: [ 11.706912][ T230] #0: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 11.706923][ T230] #1: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.706929][ T230] #2: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.706933][ T230] #3: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.706936][ T230] #4: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 11.706939][ T230] irq event stamp: 46994 [ 11.706940][ T230] hardirqs last enabled at (46993): [] __down_trylock_console_sem+0x86/0xa0 [ 11.706943][ T230] hardirqs last disabled at (46994): [] console_emit_next_record+0x3f8/0x4f0 [ 11.706945][ T230] softirqs last enabled at (46964): [] packet_do_bind+0x4b2/0xc80 [ 11.706947][ T230] softirqs last disabled at (46962): [] release_sock+0x21/0x240 [ 11.706951][ T230] Preemption disabled at: [ 11.706952][ T230] [] vprintk_emit+0x31b/0x3e0 [ 11.706957][ T230] CPU: 0 UID: 0 PID: 230 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.706961][ T230] Tainted: [W]=WARN [ 11.706962][ T230] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.706964][ T230] Call Trace: [ 11.706965][ T230] [ 11.706967][ T230] dump_stack_lvl+0x6f/0xa0 [ 11.706972][ T230] ? vprintk_emit+0x31b/0x3e0 [ 11.706974][ T230] __might_resched.cold+0x1fe/0x2c1 [ 11.706978][ T230] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.706982][ T230] ? __kmalloc_noprof+0xdb/0x760 [ 11.706987][ T230] __kmalloc_noprof+0x443/0x760 [ 11.706990][ T230] ? alloc_buf.isra.0+0x4b/0x260 [ 11.706996][ T230] ? do_raw_spin_unlock+0x59/0x250 [ 11.706999][ T230] alloc_buf.isra.0+0x4b/0x260 [ 11.707003][ T230] put_chars+0x1e1/0x2f0 [ 11.707006][ T230] ? __send_to_port+0x420/0x420 [ 11.707008][ T230] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.707012][ T230] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.707015][ T230] ? validate_chain+0x38b/0xc20 [ 11.707020][ T230] hvc_console_print+0x292/0x780 [ 11.707024][ T230] ? __lock_acquire+0x518/0xc20 [ 11.707029][ T230] ? hvc_write+0x3a0/0x3a0 [ 11.707032][ T230] ? rcu_is_watching+0x16/0xd0 [ 11.707037][ T230] console_emit_next_record+0x252/0x4f0 [ 11.707041][ T230] ? devkmsg_read+0x4e0/0x4e0 [ 11.707045][ T230] ? rcu_is_watching+0x16/0xd0 [ 11.707047][ T230] ? lock_acquire+0x13c/0x160 [ 11.707051][ T230] console_flush_one_record+0x46f/0x710 [ 11.707054][ T230] ? console_emit_next_record+0x4f0/0x4f0 [ 11.707056][ T230] ? __lock_acquire+0x518/0xc20 [ 11.707061][ T230] console_unlock+0xee/0x1f0 [ 11.707064][ T230] ? console_flush_one_record+0x710/0x710 [ 11.707065][ T230] ? rcu_is_watching+0x16/0xd0 [ 11.707067][ T230] ? lock_acquire+0x60/0x160 [ 11.707071][ T230] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.707073][ T230] ? vprintk_emit+0x320/0x3e0 [ 11.707076][ T230] vprintk_emit+0x37c/0x3e0 [ 11.707079][ T230] ? wake_up_klogd_work_func+0x90/0x90 [ 11.707081][ T230] ? kasan_save_stack+0x3d/0x50 [ 11.707083][ T230] ? kasan_save_track+0x14/0x30 [ 11.707084][ T230] ? __kasan_kmalloc+0x7b/0x90 [ 11.707085][ T230] ? __kmalloc_cache_noprof+0x29a/0x620 [ 11.707087][ T230] ? packet_mc_add+0x13b/0x890 [ 11.707089][ T230] ? packet_setsockopt+0x1953/0x21e0 [ 11.707091][ T230] ? do_sock_setsockopt+0x115/0x490 [ 11.707095][ T230] _printk+0xc7/0x100 [ 11.707099][ T230] ? snapshot_read.cold+0x21/0x21 [ 11.707103][ T230] ? netdev_name+0x43/0x60 [ 11.707106][ T230] ? __netdev_printk+0x17f/0x1d0 [ 11.707110][ T230] netdev_info+0xe2/0x116 [ 11.707112][ T230] ? netdev_notice+0x120/0x120 [ 11.707122][ T230] ? mutex_is_locked+0x1c/0x50 [ 11.707125][ T230] __dev_set_promiscuity.cold+0x7a/0x104 [ 11.707129][ T230] netif_set_promiscuity+0x4c/0xc0 [ 11.707133][ T230] dev_set_promiscuity+0xa1/0x230 [ 11.707136][ T230] ? __asan_memset+0x27/0x50 [ 11.707139][ T230] packet_mc_add+0x54e/0x890 [ 11.707141][ T230] ? __might_fault+0x97/0x140 [ 11.707145][ T230] ? __might_fault+0x97/0x140 [ 11.707148][ T230] ? _copy_from_user+0x42/0x90 [ 11.707152][ T230] packet_setsockopt+0x1953/0x21e0 [ 11.707156][ T230] ? packet_bind+0x170/0x170 [ 11.707160][ T230] ? do_sock_getsockopt+0x6f6/0xb20 [ 11.707164][ T230] ? sock_poll+0x6b0/0x6b0 [ 11.707168][ T230] ? rcu_is_watching+0x16/0xd0 [ 11.707170][ T230] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.707174][ T230] ? __local_bh_enable_ip+0xaa/0x150 [ 11.707178][ T230] do_sock_setsockopt+0x115/0x490 [ 11.707181][ T230] ? put_user_ifreq+0x90/0x90 [ 11.707182][ T230] ? rcu_is_watching+0x16/0xd0 [ 11.707189][ T230] __sys_setsockopt+0xe4/0x150 [ 11.707193][ T230] __x64_sys_setsockopt+0xbd/0x180 [ 11.707195][ T230] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.707197][ T230] ? lockdep_hardirqs_on+0x91/0x130 [ 11.707200][ T230] ? do_syscall_64+0xa6/0x530 [ 11.707201][ T230] do_syscall_64+0xff/0x530 [ 11.707203][ T230] ? exc_page_fault+0xee/0x100 [ 11.707205][ T230] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.707208][ T230] RIP: 0033:0x7f0b86fb62de [ 11.707212][ T230] Code: 55 48 63 c9 48 63 ff 45 89 c9 48 89 e5 48 83 ec 08 6a 2c e8 94 72 f7 ff c9 c3 66 90 f3 0f 1e fa 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 0a c3 66 0f 1f 84 00 00 00 00 00 48 8b 15 e1 [ 11.707214][ T230] RSP: 002b:00007ffe3704d968 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 11.707216][ T230] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f0b86fb62de [ 11.707217][ T230] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 11.707218][ T230] RBP: 00007ffe3704daa0 R08: 0000000000000010 R09: 0000555bc9b2f530 [ 11.707219][ T230] R10: 00007ffe3704d9e0 R11: 0000000000000246 R12: 0000000000000001 [ 11.707220][ T230] R13: 0000555bc9b2f918 R14: 0000555bc9b2f690 R15: 0000000000000000 [ 11.707226][ T230] [ 14.107180][ T230] eth0: left promiscuous mode [ 14.107317][ T230] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.107320][ T230] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 230, name: tcpdump [ 14.107322][ T230] preempt_count: 1, expected: 0 [ 14.107324][ T230] RCU nest depth: 0, expected: 0 [ 14.107325][ T230] locks held by tcpdump/230: 6, last CPU#1: [ 14.107328][ T230] #0: ff1100000bb21b78 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 14.107344][ T230] #1: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 14.107356][ T230] #2: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.107364][ T230] #3: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.107369][ T230] #4: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.107375][ T230] #5: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.107381][ T230] irq event stamp: 63842 [ 14.107382][ T230] hardirqs last enabled at (63841): [] __down_trylock_console_sem+0x86/0xa0 [ 14.107386][ T230] hardirqs last disabled at (63842): [] console_emit_next_record+0x3f8/0x4f0 [ 14.107389][ T230] softirqs last enabled at (63682): [] packet_setsockopt+0xcdf/0x21e0 [ 14.107392][ T230] softirqs last disabled at (63680): [] release_sock+0x21/0x240 [ 14.107396][ T230] Preemption disabled at: [ 14.107397][ T230] [] vprintk_emit+0x31b/0x3e0 [ 14.107404][ T230] CPU: 1 UID: 72 PID: 230 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.107409][ T230] Tainted: [W]=WARN [ 14.107410][ T230] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.107412][ T230] Call Trace: [ 14.107414][ T230] [ 14.107416][ T230] dump_stack_lvl+0x6f/0xa0 [ 14.107423][ T230] ? vprintk_emit+0x31b/0x3e0 [ 14.107426][ T230] __might_resched.cold+0x1fe/0x2c1 [ 14.107432][ T230] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.107437][ T230] ? __kmalloc_noprof+0xdb/0x760 [ 14.107445][ T230] __kmalloc_noprof+0x443/0x760 [ 14.107449][ T230] ? alloc_buf.isra.0+0x4b/0x260 [ 14.107458][ T230] ? do_raw_spin_unlock+0x59/0x250 [ 14.107461][ T230] alloc_buf.isra.0+0x4b/0x260 [ 14.107467][ T230] put_chars+0x1e1/0x2f0 [ 14.107470][ T230] ? check_prev_add+0xef/0xe90 [ 14.107475][ T230] ? __send_to_port+0x420/0x420 [ 14.107481][ T230] ? validate_chain+0x34a/0xc20 [ 14.107489][ T230] hvc_console_print+0x292/0x780 [ 14.107501][ T230] ? hvc_write+0x3a0/0x3a0 [ 14.107506][ T230] ? rcu_is_watching+0x16/0xd0 [ 14.107510][ T230] ? lock_acquire+0x13c/0x160 [ 14.107517][ T230] console_emit_next_record+0x252/0x4f0 [ 14.107523][ T230] ? devkmsg_read+0x4e0/0x4e0 [ 14.107531][ T230] ? rcu_is_watching+0x16/0xd0 [ 14.107534][ T230] ? lock_acquire+0x13c/0x160 [ 14.107541][ T230] console_flush_one_record+0x46f/0x710 [ 14.107548][ T230] ? console_emit_next_record+0x4f0/0x4f0 [ 14.107550][ T230] ? __lock_acquire+0x518/0xc20 [ 14.107560][ T230] console_unlock+0xee/0x1f0 [ 14.107564][ T230] ? console_flush_one_record+0x710/0x710 [ 14.107566][ T230] ? rcu_is_watching+0x16/0xd0 [ 14.107570][ T230] ? lock_acquire+0x60/0x160 [ 14.107577][ T230] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.107579][ T230] ? vprintk_emit+0x320/0x3e0 [ 14.107584][ T230] vprintk_emit+0x37c/0x3e0 [ 14.107590][ T230] ? wake_up_klogd_work_func+0x90/0x90 [ 14.107596][ T230] ? __lock_acquire+0x518/0xc20 [ 14.107602][ T230] _printk+0xc7/0x100 [ 14.107607][ T230] ? snapshot_read.cold+0x21/0x21 [ 14.107610][ T230] ? lock_acquire.part.0+0xd4/0x280 [ 14.107616][ T230] ? rcu_is_watching+0x16/0xd0 [ 14.107619][ T230] ? netdev_name+0x43/0x60 [ 14.107623][ T230] ? __netdev_printk+0x17f/0x1d0 [ 14.107629][ T230] netdev_info+0xe2/0x116 [ 14.107633][ T230] ? netdev_notice+0x120/0x120 [ 14.107635][ T230] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 14.107639][ T230] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.107645][ T230] ? ww_mutex_lock+0x160/0x160 [ 14.107648][ T230] ? lock_acquire.part.0+0xd4/0x280 [ 14.107652][ T230] ? ref_tracker_alloc+0x430/0x430 [ 14.107656][ T230] ? packet_release+0x363/0xc40 [ 14.107660][ T230] ? __fput+0x363/0xac0 [ 14.107664][ T230] ? mutex_is_locked+0x1c/0x50 [ 14.107669][ T230] __dev_set_promiscuity.cold+0x7a/0x104 [ 14.107676][ T230] netif_set_promiscuity+0x4c/0xc0 [ 14.107682][ T230] dev_set_promiscuity+0xa1/0x230 [ 14.107688][ T230] packet_release+0x4cb/0xc40 [ 14.107695][ T230] ? packet_set_ring+0x1740/0x1740 [ 14.107701][ T230] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 14.107709][ T230] __sock_release+0xb8/0x280 [ 14.107716][ T230] sock_close+0x18/0x20 [ 14.107719][ T230] __fput+0x363/0xac0 [ 14.107727][ T230] fput_close_sync+0xde/0x1b0 [ 14.107731][ T230] ? alloc_file_clone+0xe0/0xe0 [ 14.107735][ T230] ? do_raw_spin_unlock+0x59/0x250 [ 14.107742][ T230] __x64_sys_close+0x8b/0xf0 [ 14.107746][ T230] do_syscall_64+0xff/0x530 [ 14.107748][ T230] ? exc_page_fault+0xee/0x100 [ 14.107753][ T230] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.107757][ T230] RIP: 0033:0x7f0b86f2d54e [ 14.107762][ T230] 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.107764][ T230] RSP: 002b:00007ffe3704dad0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 14.107768][ T230] RAX: ffffffffffffffda RBX: 0000555bc9b2f690 RCX: 00007f0b86f2d54e [ 14.107770][ T230] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 14.107772][ T230] RBP: 00007ffe3704dae0 R08: 0000000000000000 R09: 0000000000000000 [ 14.107773][ T230] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 14.107774][ T230] R13: 00000000fffffffe R14: 0000555bbe735760 R15: 0000000000000001 [ 14.107787][ T230] [ 15.834364][ T245] test_team1: Port device eth0 removed [ 15.834383][ T245] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.834386][ T245] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 245, name: ip [ 15.834387][ T245] preempt_count: 1, expected: 0 [ 15.834388][ T245] RCU nest depth: 0, expected: 0 [ 15.834389][ T245] locks held by ip/245: 5, last CPU#0: [ 15.834391][ T245] #0: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 15.834403][ T245] #1: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.834409][ T245] #2: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.834412][ T245] #3: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.834415][ T245] #4: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 15.834418][ T245] irq event stamp: 21066 [ 15.834419][ T245] hardirqs last enabled at (21065): [] __down_trylock_console_sem+0x86/0xa0 [ 15.834422][ T245] hardirqs last disabled at (21066): [] console_emit_next_record+0x3f8/0x4f0 [ 15.834424][ T245] softirqs last enabled at (21050): [] fib6_run_gc+0x162/0x250 [ 15.834427][ T245] softirqs last disabled at (21044): [] fib6_run_gc+0x1ac/0x250 [ 15.834429][ T245] Preemption disabled at: [ 15.834429][ T245] [] vprintk_emit+0x31b/0x3e0 [ 15.834435][ T245] CPU: 0 UID: 0 PID: 245 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.834438][ T245] Tainted: [W]=WARN [ 15.834439][ T245] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.834441][ T245] Call Trace: [ 15.834443][ T245] [ 15.834444][ T245] dump_stack_lvl+0x6f/0xa0 [ 15.834449][ T245] ? vprintk_emit+0x31b/0x3e0 [ 15.834451][ T245] __might_resched.cold+0x1fe/0x2c1 [ 15.834455][ T245] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.834459][ T245] ? __kmalloc_noprof+0xdb/0x760 [ 15.834465][ T245] __kmalloc_noprof+0x443/0x760 [ 15.834467][ T245] ? alloc_buf.isra.0+0x4b/0x260 [ 15.834474][ T245] ? do_raw_spin_unlock+0x59/0x250 [ 15.834476][ T245] alloc_buf.isra.0+0x4b/0x260 [ 15.834480][ T245] put_chars+0x1e1/0x2f0 [ 15.834483][ T245] ? __send_to_port+0x420/0x420 [ 15.834487][ T245] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.834490][ T245] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.834494][ T245] ? validate_chain+0x38b/0xc20 [ 15.834498][ T245] hvc_console_print+0x292/0x780 [ 15.834502][ T245] ? mark_usage+0x61/0x170 [ 15.834504][ T245] ? __lock_acquire+0x518/0xc20 [ 15.834506][ T245] ? __lock_acquire+0x518/0xc20 [ 15.834510][ T245] ? hvc_write+0x3a0/0x3a0 [ 15.834513][ T245] ? console_emit_next_record+0x202/0x4f0 [ 15.834516][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.834518][ T245] ? lock_acquire+0x13c/0x160 [ 15.834522][ T245] console_emit_next_record+0x252/0x4f0 [ 15.834526][ T245] ? devkmsg_read+0x4e0/0x4e0 [ 15.834530][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.834532][ T245] ? lock_acquire+0x13c/0x160 [ 15.834536][ T245] console_flush_one_record+0x46f/0x710 [ 15.834540][ T245] ? console_emit_next_record+0x4f0/0x4f0 [ 15.834541][ T245] ? __lock_acquire+0x518/0xc20 [ 15.834547][ T245] console_unlock+0xee/0x1f0 [ 15.834549][ T245] ? console_flush_one_record+0x710/0x710 [ 15.834550][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.834552][ T245] ? lock_acquire+0x60/0x160 [ 15.834556][ T245] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.834558][ T245] ? vprintk_emit+0x320/0x3e0 [ 15.834561][ T245] vprintk_emit+0x37c/0x3e0 [ 15.834565][ T245] ? wake_up_klogd_work_func+0x90/0x90 [ 15.834566][ T245] ? rtnl_newlink+0x9f1/0x11b0 [ 15.834569][ T245] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.834570][ T245] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.834572][ T245] ? look_up_lock_class+0x65/0x150 [ 15.834575][ T245] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.834579][ T245] _printk+0xc7/0x100 [ 15.834583][ T245] ? snapshot_read.cold+0x21/0x21 [ 15.834587][ T245] ? __lock_acquire+0x518/0xc20 [ 15.834589][ T245] ? netdev_name+0x43/0x60 [ 15.834592][ T245] ? __netdev_printk+0x17f/0x1d0 [ 15.834596][ T245] netdev_info+0xe2/0x116 [ 15.834598][ T245] ? netdev_notice+0x120/0x120 [ 15.834603][ T245] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 15.834605][ T245] ? lockdep_hardirqs_on+0x91/0x130 [ 15.834607][ T245] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 15.834609][ T245] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 15.834611][ T245] ? kvfree_call_rcu+0x23b/0x2e0 [ 15.834617][ T245] team_port_del+0x61d/0xaa0 [ 15.834623][ T245] do_set_master+0x15c/0x780 [ 15.834627][ T245] do_setlink.isra.0+0x9ec/0x2a60 [ 15.834631][ T245] ? stack_trace_save+0x93/0xc0 [ 15.834635][ T245] ? rtnl_link_get_size+0x350/0x350 [ 15.834637][ T245] ? rcu_read_lock_any_held+0x66/0x90 [ 15.834639][ T245] ? stack_depot_save_flags+0x38e/0x790 [ 15.834642][ T245] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.834644][ T245] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.834646][ T245] ? validate_chain+0x38b/0xc20 [ 15.834649][ T245] ? kasan_save_stack+0x3d/0x50 [ 15.834651][ T245] ? kasan_save_stack+0x2f/0x50 [ 15.834652][ T245] ? kasan_save_track+0x14/0x30 [ 15.834655][ T245] ? __lock_acquire+0x518/0xc20 [ 15.834657][ T245] ? netlink_seq_next+0x5e/0x60 [ 15.834660][ T245] ? ___sys_sendmsg+0xc0/0x1d0 [ 15.834665][ T245] ? lock_acquire.part.0+0xd4/0x280 [ 15.834667][ T245] ? rtnl_newlink+0x9a8/0x11b0 [ 15.834670][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.834672][ T245] ? lock_acquire+0x13c/0x160 [ 15.834674][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.834675][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.834677][ T245] ? trace_contention_end+0xb3/0x180 [ 15.834679][ T245] ? __mutex_lock+0x1db/0x1ea0 [ 15.834681][ T245] ? __mutex_lock+0x9a3/0x1ea0 [ 15.834683][ T245] ? rtnl_newlink+0x9a8/0x11b0 [ 15.834687][ T245] ? ww_mutex_lock+0x160/0x160 [ 15.834689][ T245] ? nla_get_range_signed+0x3d0/0x3d0 [ 15.834695][ T245] ? __rtnl_newlink+0x3fa/0xa50 [ 15.834701][ T245] rtnl_newlink+0x9f1/0x11b0 [ 15.834707][ T245] ? rtnl_bridge_getlink+0x850/0x850 [ 15.834709][ T245] ? __lock_acquire+0x518/0xc20 [ 15.834714][ T245] ? lock_acquire.part.0+0xd4/0x280 [ 15.834716][ T245] ? find_held_lock+0x2b/0x80 [ 15.834718][ T245] ? rtnl_bridge_getlink+0x850/0x850 [ 15.834721][ T245] ? __lock_release.isra.0+0x69/0x1a0 [ 15.834725][ T245] ? rtnl_bridge_getlink+0x850/0x850 [ 15.834727][ T245] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 15.834731][ T245] ? rtnl_link_fill+0x900/0x900 [ 15.834733][ T245] ? __lock_acquire+0x518/0xc20 [ 15.834738][ T245] ? lock_acquire.part.0+0xd4/0x280 [ 15.834740][ T245] ? find_held_lock+0x2b/0x80 [ 15.834744][ T245] netlink_rcv_skb+0x14e/0x3a0 [ 15.834746][ T245] ? rtnl_link_fill+0x900/0x900 [ 15.834749][ T245] ? netlink_ack+0xcd0/0xcd0 [ 15.834756][ T245] ? netlink_deliver_tap+0xc5/0x330 [ 15.834757][ T245] ? netlink_deliver_tap+0x13c/0x330 [ 15.834761][ T245] netlink_unicast+0x486/0x750 [ 15.834765][ T245] ? netlink_attachskb+0x810/0x810 [ 15.834768][ T245] ? __lock_acquire+0x518/0xc20 [ 15.834772][ T245] netlink_sendmsg+0x735/0xc60 [ 15.834776][ T245] ? netlink_unicast+0x750/0x750 [ 15.834780][ T245] ? __might_fault+0x97/0x140 [ 15.834786][ T245] ____sys_sendmsg+0x415/0x880 [ 15.834788][ T245] ? copy_msghdr_from_user+0x279/0x420 [ 15.834790][ T245] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 15.834792][ T245] ? move_addr_to_kernel+0x40/0x40 [ 15.834799][ T245] ___sys_sendmsg+0x14e/0x1d0 [ 15.834802][ T245] ? copy_msghdr_from_user+0x420/0x420 [ 15.834817][ T245] __sys_sendmsg+0x12c/0x1d0 [ 15.834820][ T245] ? __sys_sendmsg_sock+0x20/0x20 [ 15.834826][ T245] ? rcu_is_watching+0x16/0xd0 [ 15.834830][ T245] do_syscall_64+0xff/0x530 [ 15.834831][ T245] ? exc_page_fault+0xee/0x100 [ 15.834834][ T245] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.834836][ T245] RIP: 0033:0x7f1310a6154e [ 15.834840][ T245] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 15.834842][ T245] RSP: 002b:00007ffe00f7aba0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 15.834845][ T245] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f1310a6154e [ 15.834846][ T245] RDX: 0000000000000000 RSI: 00007ffe00f7ac50 RDI: 0000000000000005 [ 15.834847][ T245] RBP: 00007ffe00f7abb0 R08: 0000000000000000 R09: 0000000000000000 [ 15.834848][ T245] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a915d73 [ 15.834848][ T245] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffe00f7b320 [ 15.834855][ T245] [ 15.889681][ T245] ip (245) used greatest stack depth: 23272 bytes left [ 16.013549][ T248] test_team1: Mode changed to "roundrobin" [ 16.064307][ T249] test_team1: Port device eth0 added [ 16.772800][ T256] eth0: entered promiscuous mode [ 19.216113][ T256] eth0: left promiscuous mode [ 19.216131][ T256] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.216134][ T256] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 256, name: tcpdump [ 19.216136][ T256] preempt_count: 1, expected: 0 [ 19.216137][ T256] RCU nest depth: 0, expected: 0 [ 19.216138][ T256] locks held by tcpdump/256: 6, last CPU#2: [ 19.216140][ T256] #0: ff1100000a0af938 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 19.216153][ T256] #1: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 19.216159][ T256] #2: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.216165][ T256] #3: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.216168][ T256] #4: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.216171][ T256] #5: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 19.216175][ T256] irq event stamp: 67612 [ 19.216176][ T256] hardirqs last enabled at (67611): [] __down_trylock_console_sem+0x86/0xa0 [ 19.216179][ T256] hardirqs last disabled at (67612): [] console_emit_next_record+0x3f8/0x4f0 [ 19.216181][ T256] softirqs last enabled at (67462): [] packet_setsockopt+0xcdf/0x21e0 [ 19.216184][ T256] softirqs last disabled at (67460): [] release_sock+0x21/0x240 [ 19.216187][ T256] Preemption disabled at: [ 19.216187][ T256] [] vprintk_emit+0x31b/0x3e0 [ 19.216193][ T256] CPU: 2 UID: 72 PID: 256 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.216196][ T256] Tainted: [W]=WARN [ 19.216197][ T256] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.216198][ T256] Call Trace: [ 19.216200][ T256] [ 19.216202][ T256] dump_stack_lvl+0x6f/0xa0 [ 19.216207][ T256] ? vprintk_emit+0x31b/0x3e0 [ 19.216209][ T256] __might_resched.cold+0x1fe/0x2c1 [ 19.216214][ T256] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.216217][ T256] ? __kmalloc_noprof+0xdb/0x760 [ 19.216223][ T256] __kmalloc_noprof+0x443/0x760 [ 19.216226][ T256] ? alloc_buf.isra.0+0x4b/0x260 [ 19.216232][ T256] ? do_raw_spin_unlock+0x59/0x250 [ 19.216234][ T256] alloc_buf.isra.0+0x4b/0x260 [ 19.216238][ T256] put_chars+0x1e1/0x2f0 [ 19.216241][ T256] ? __send_to_port+0x420/0x420 [ 19.216245][ T256] ? validate_chain+0x38b/0xc20 [ 19.216251][ T256] hvc_console_print+0x292/0x780 [ 19.216259][ T256] ? hvc_write+0x3a0/0x3a0 [ 19.216261][ T256] ? rcu_is_watching+0x16/0xd0 [ 19.216265][ T256] ? lock_acquire+0x13c/0x160 [ 19.216269][ T256] console_emit_next_record+0x252/0x4f0 [ 19.216273][ T256] ? devkmsg_read+0x4e0/0x4e0 [ 19.216277][ T256] ? rcu_is_watching+0x16/0xd0 [ 19.216279][ T256] ? lock_acquire+0x13c/0x160 [ 19.216283][ T256] console_flush_one_record+0x46f/0x710 [ 19.216290][ T256] ? console_emit_next_record+0x4f0/0x4f0 [ 19.216291][ T256] ? __lock_acquire+0x518/0xc20 [ 19.216297][ T256] console_unlock+0xee/0x1f0 [ 19.216300][ T256] ? console_flush_one_record+0x710/0x710 [ 19.216301][ T256] ? rcu_is_watching+0x16/0xd0 [ 19.216303][ T256] ? lock_acquire+0x60/0x160 [ 19.216307][ T256] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.216310][ T256] ? vprintk_emit+0x320/0x3e0 [ 19.216313][ T256] vprintk_emit+0x37c/0x3e0 [ 19.216316][ T256] ? wake_up_klogd_work_func+0x90/0x90 [ 19.216320][ T256] ? __lock_acquire+0x518/0xc20 [ 19.216323][ T256] _printk+0xc7/0x100 [ 19.216327][ T256] ? snapshot_read.cold+0x21/0x21 [ 19.216329][ T256] ? lock_acquire.part.0+0xd4/0x280 [ 19.216332][ T256] ? rcu_is_watching+0x16/0xd0 [ 19.216334][ T256] ? netdev_name+0x43/0x60 [ 19.216337][ T256] ? __netdev_printk+0x17f/0x1d0 [ 19.216341][ T256] netdev_info+0xe2/0x116 [ 19.216344][ T256] ? netdev_notice+0x120/0x120 [ 19.216345][ T256] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 19.216348][ T256] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 19.216352][ T256] ? ww_mutex_lock+0x160/0x160 [ 19.216354][ T256] ? lock_acquire.part.0+0xd4/0x280 [ 19.216356][ T256] ? ref_tracker_alloc+0x430/0x430 [ 19.216360][ T256] ? packet_release+0x363/0xc40 [ 19.216362][ T256] ? __fput+0x363/0xac0 [ 19.216365][ T256] ? mutex_is_locked+0x1c/0x50 [ 19.216374][ T256] __dev_set_promiscuity.cold+0x7a/0x104 [ 19.216378][ T256] netif_set_promiscuity+0x4c/0xc0 [ 19.216383][ T256] dev_set_promiscuity+0xa1/0x230 [ 19.216386][ T256] packet_release+0x4cb/0xc40 [ 19.216391][ T256] ? packet_set_ring+0x1740/0x1740 [ 19.216394][ T256] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 19.216399][ T256] __sock_release+0xb8/0x280 [ 19.216403][ T256] sock_close+0x18/0x20 [ 19.216405][ T256] __fput+0x363/0xac0 [ 19.216410][ T256] fput_close_sync+0xde/0x1b0 [ 19.216413][ T256] ? alloc_file_clone+0xe0/0xe0 [ 19.216416][ T256] ? do_raw_spin_unlock+0x59/0x250 [ 19.216419][ T256] __x64_sys_close+0x8b/0xf0 [ 19.216422][ T256] do_syscall_64+0xff/0x530 [ 19.216424][ T256] ? exc_page_fault+0xee/0x100 [ 19.216427][ T256] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.216429][ T256] RIP: 0033:0x7f7c64fbf54e [ 19.216434][ 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.216436][ T256] RSP: 002b:00007ffc99b30350 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 19.216438][ T256] RAX: ffffffffffffffda RBX: 000055e383d13690 RCX: 00007f7c64fbf54e [ 19.216440][ T256] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 19.216440][ T256] RBP: 00007ffc99b30360 R08: 0000000000000000 R09: 0000000000000000 [ 19.216441][ T256] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 19.216442][ T256] R13: 00000000fffffffe R14: 000055e37c9b2760 R15: 0000000000000001 [ 19.216449][ T256] [ 20.915395][ T270] test_team1: Port device eth0 removed [ 20.915415][ T270] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.915418][ T270] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 270, name: ip [ 20.915419][ T270] preempt_count: 1, expected: 0 [ 20.915420][ T270] RCU nest depth: 0, expected: 0 [ 20.915421][ T270] locks held by ip/270: 5, last CPU#2: [ 20.915424][ T270] #0: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 20.915436][ T270] #1: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.915441][ T270] #2: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.915445][ T270] #3: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.915448][ T270] #4: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 20.915451][ T270] irq event stamp: 28186 [ 20.915452][ T270] hardirqs last enabled at (28185): [] __down_trylock_console_sem+0x86/0xa0 [ 20.915456][ T270] hardirqs last disabled at (28186): [] console_emit_next_record+0x3f8/0x4f0 [ 20.915457][ T270] softirqs last enabled at (28172): [] fib6_run_gc+0x162/0x250 [ 20.915460][ T270] softirqs last disabled at (28166): [] fib6_run_gc+0x1ac/0x250 [ 20.915462][ T270] Preemption disabled at: [ 20.915463][ T270] [] vprintk_emit+0x31b/0x3e0 [ 20.915468][ T270] CPU: 2 UID: 0 PID: 270 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.915471][ T270] Tainted: [W]=WARN [ 20.915472][ T270] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.915474][ T270] Call Trace: [ 20.915476][ T270] [ 20.915477][ T270] dump_stack_lvl+0x6f/0xa0 [ 20.915483][ T270] ? vprintk_emit+0x31b/0x3e0 [ 20.915484][ T270] __might_resched.cold+0x1fe/0x2c1 [ 20.915489][ T270] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.915493][ T270] ? __kmalloc_noprof+0xdb/0x760 [ 20.915498][ T270] __kmalloc_noprof+0x443/0x760 [ 20.915501][ T270] ? alloc_buf.isra.0+0x4b/0x260 [ 20.915508][ T270] ? do_raw_spin_unlock+0x59/0x250 [ 20.915510][ T270] alloc_buf.isra.0+0x4b/0x260 [ 20.915514][ T270] put_chars+0x1e1/0x2f0 [ 20.915517][ T270] ? __send_to_port+0x420/0x420 [ 20.915521][ T270] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.915524][ T270] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.915528][ T270] ? validate_chain+0x38b/0xc20 [ 20.915532][ T270] hvc_console_print+0x292/0x780 [ 20.915537][ T270] ? mark_usage+0x61/0x170 [ 20.915539][ T270] ? __lock_acquire+0x518/0xc20 [ 20.915541][ T270] ? __lock_acquire+0x518/0xc20 [ 20.915545][ T270] ? hvc_write+0x3a0/0x3a0 [ 20.915547][ T270] ? console_emit_next_record+0x202/0x4f0 [ 20.915550][ T270] ? rcu_is_watching+0x16/0xd0 [ 20.915552][ T270] ? lock_acquire+0x13c/0x160 [ 20.915556][ T270] console_emit_next_record+0x252/0x4f0 [ 20.915560][ T270] ? devkmsg_read+0x4e0/0x4e0 [ 20.915564][ T270] ? rcu_is_watching+0x16/0xd0 [ 20.915566][ T270] ? lock_acquire+0x13c/0x160 [ 20.915570][ T270] console_flush_one_record+0x46f/0x710 [ 20.915574][ T270] ? console_emit_next_record+0x4f0/0x4f0 [ 20.915575][ T270] ? __lock_acquire+0x518/0xc20 [ 20.915580][ T270] console_unlock+0xee/0x1f0 [ 20.915583][ T270] ? console_flush_one_record+0x710/0x710 [ 20.915584][ T270] ? rcu_is_watching+0x16/0xd0 [ 20.915586][ T270] ? lock_acquire+0x60/0x160 [ 20.915590][ T270] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.915592][ T270] ? vprintk_emit+0x320/0x3e0 [ 20.915595][ T270] vprintk_emit+0x37c/0x3e0 [ 20.915598][ T270] ? wake_up_klogd_work_func+0x90/0x90 [ 20.915600][ T270] ? rtnl_newlink+0x9f1/0x11b0 [ 20.915602][ T270] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.915603][ T270] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.915605][ T270] ? look_up_lock_class+0x65/0x150 [ 20.915608][ T270] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.915612][ T270] _printk+0xc7/0x100 [ 20.915616][ T270] ? snapshot_read.cold+0x21/0x21 [ 20.915619][ T270] ? __lock_acquire+0x518/0xc20 [ 20.915622][ T270] ? netdev_name+0x43/0x60 [ 20.915625][ T270] ? __netdev_printk+0x17f/0x1d0 [ 20.915629][ T270] netdev_info+0xe2/0x116 [ 20.915631][ T270] ? netdev_notice+0x120/0x120 [ 20.915636][ T270] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 20.915638][ T270] ? lockdep_hardirqs_on+0x91/0x130 [ 20.915639][ T270] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 20.915642][ T270] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 20.915644][ T270] ? kvfree_call_rcu+0x23b/0x2e0 [ 20.915649][ T270] team_port_del+0x61d/0xaa0 [ 20.915656][ T270] do_set_master+0x15c/0x780 [ 20.915660][ T270] do_setlink.isra.0+0x9ec/0x2a60 [ 20.915663][ T270] ? stack_trace_save+0x93/0xc0 [ 20.915667][ T270] ? rtnl_link_get_size+0x350/0x350 [ 20.915669][ T270] ? rcu_read_lock_any_held+0x66/0x90 [ 20.915671][ T270] ? stack_depot_save_flags+0x38e/0x790 [ 20.915674][ T270] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.915676][ T270] ? rcu_read_lock_any_held+0x3c/0x90 [ 20.915678][ T270] ? validate_chain+0x38b/0xc20 [ 20.915681][ T270] ? kasan_save_stack+0x3d/0x50 [ 20.915683][ T270] ? kasan_save_stack+0x2f/0x50 [ 20.915684][ T270] ? kasan_save_track+0x14/0x30 [ 20.915686][ T270] ? __lock_acquire+0x518/0xc20 [ 20.915688][ T270] ? netlink_seq_next+0x5e/0x60 [ 20.915691][ T270] ? ___sys_sendmsg+0xc0/0x1d0 [ 20.915696][ T270] ? lock_acquire.part.0+0xd4/0x280 [ 20.915698][ T270] ? rtnl_newlink+0x9a8/0x11b0 [ 20.915701][ T270] ? rcu_is_watching+0x16/0xd0 [ 20.915703][ T270] ? lock_acquire+0x13c/0x160 [ 20.915705][ T270] ? rcu_is_watching+0x16/0xd0 [ 20.915706][ T270] ? rcu_is_watching+0x16/0xd0 [ 20.915708][ T270] ? trace_contention_end+0xb3/0x180 [ 20.915710][ T270] ? __mutex_lock+0x1db/0x1ea0 [ 20.915712][ T270] ? __mutex_lock+0x9a3/0x1ea0 [ 20.915714][ T270] ? rtnl_newlink+0x9a8/0x11b0 [ 20.915718][ T270] ? ww_mutex_lock+0x160/0x160 [ 20.915719][ T270] ? nla_get_range_signed+0x3d0/0x3d0 [ 20.915725][ T270] ? __rtnl_newlink+0x3fa/0xa50 [ 20.915731][ T270] rtnl_newlink+0x9f1/0x11b0 [ 20.915737][ T270] ? rtnl_bridge_getlink+0x850/0x850 [ 20.915739][ T270] ? __lock_acquire+0x518/0xc20 [ 20.915744][ T270] ? lock_acquire.part.0+0xd4/0x280 [ 20.915746][ T270] ? find_held_lock+0x2b/0x80 [ 20.915748][ T270] ? rtnl_bridge_getlink+0x850/0x850 [ 20.915751][ T270] ? __lock_release.isra.0+0x69/0x1a0 [ 20.915754][ T270] ? rtnl_bridge_getlink+0x850/0x850 [ 20.915757][ T270] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 20.915760][ T270] ? rtnl_link_fill+0x900/0x900 [ 20.915762][ T270] ? __lock_acquire+0x518/0xc20 [ 20.915767][ T270] ? lock_acquire.part.0+0xd4/0x280 [ 20.915769][ T270] ? find_held_lock+0x2b/0x80 [ 20.915773][ T270] netlink_rcv_skb+0x14e/0x3a0 [ 20.915775][ T270] ? rtnl_link_fill+0x900/0x900 [ 20.915778][ T270] ? netlink_ack+0xcd0/0xcd0 [ 20.915784][ T270] ? netlink_deliver_tap+0xc5/0x330 [ 20.915785][ T270] ? netlink_deliver_tap+0x13c/0x330 [ 20.915790][ T270] netlink_unicast+0x486/0x750 [ 20.915793][ T270] ? netlink_attachskb+0x810/0x810 [ 20.915796][ T270] ? __lock_acquire+0x518/0xc20 [ 20.915800][ T270] netlink_sendmsg+0x735/0xc60 [ 20.915804][ T270] ? netlink_unicast+0x750/0x750 [ 20.915808][ T270] ? __might_fault+0x97/0x140 [ 20.915814][ T270] ____sys_sendmsg+0x415/0x880 [ 20.915816][ T270] ? copy_msghdr_from_user+0x279/0x420 [ 20.915818][ T270] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 20.915819][ T270] ? move_addr_to_kernel+0x40/0x40 [ 20.915826][ T270] ___sys_sendmsg+0x14e/0x1d0 [ 20.915828][ T270] ? copy_msghdr_from_user+0x420/0x420 [ 20.915843][ T270] __sys_sendmsg+0x12c/0x1d0 [ 20.915846][ T270] ? __sys_sendmsg_sock+0x20/0x20 [ 20.915852][ T270] ? rcu_is_watching+0x16/0xd0 [ 20.915855][ T270] do_syscall_64+0xff/0x530 [ 20.915856][ T270] ? exc_page_fault+0xee/0x100 [ 20.915859][ T270] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.915862][ T270] RIP: 0033:0x7f1bc842054e [ 20.915865][ 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 [ 20.915867][ T270] RSP: 002b:00007ffedef56730 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 20.915870][ T270] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f1bc842054e [ 20.915871][ T270] RDX: 0000000000000000 RSI: 00007ffedef567e0 RDI: 0000000000000005 [ 20.915872][ T270] RBP: 00007ffedef56740 R08: 0000000000000000 R09: 0000000000000000 [ 20.915873][ T270] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a915d78 [ 20.915874][ T270] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffedef56eb0 [ 20.915880][ T270] [ 21.131917][ T273] test_team1: Mode changed to "random" [ 21.162444][ T274] test_team1: Port device eth0 added [ 21.976094][ T281] eth0: entered promiscuous mode [ 21.976117][ T281] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.976120][ T281] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 281, name: tcpdump [ 21.976122][ T281] preempt_count: 1, expected: 0 [ 21.976123][ T281] RCU nest depth: 0, expected: 0 [ 21.976125][ T281] locks held by tcpdump/281: 5, last CPU#0: [ 21.976128][ T281] #0: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 21.976143][ T281] #1: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.976151][ T281] #2: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.976156][ T281] #3: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.976161][ T281] #4: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.976167][ T281] irq event stamp: 53958 [ 21.976169][ T281] hardirqs last enabled at (53957): [] __down_trylock_console_sem+0x86/0xa0 [ 21.976173][ T281] hardirqs last disabled at (53958): [] console_emit_next_record+0x3f8/0x4f0 [ 21.976176][ T281] softirqs last enabled at (53938): [] packet_do_bind+0x4b2/0xc80 [ 21.976179][ T281] softirqs last disabled at (53936): [] release_sock+0x21/0x240 [ 21.976184][ T281] Preemption disabled at: [ 21.976185][ T281] [] vprintk_emit+0x31b/0x3e0 [ 21.976192][ T281] CPU: 0 UID: 0 PID: 281 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.976197][ T281] Tainted: [W]=WARN [ 21.976198][ T281] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.976200][ T281] Call Trace: [ 21.976203][ T281] [ 21.976205][ T281] dump_stack_lvl+0x6f/0xa0 [ 21.976212][ T281] ? vprintk_emit+0x31b/0x3e0 [ 21.976215][ T281] __might_resched.cold+0x1fe/0x2c1 [ 21.976222][ T281] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.976227][ T281] ? __kmalloc_noprof+0xdb/0x760 [ 21.976235][ T281] __kmalloc_noprof+0x443/0x760 [ 21.976238][ T281] ? alloc_buf.isra.0+0x4b/0x260 [ 21.976248][ T281] ? do_raw_spin_unlock+0x59/0x250 [ 21.976251][ T281] alloc_buf.isra.0+0x4b/0x260 [ 21.976257][ T281] put_chars+0x1e1/0x2f0 [ 21.976261][ T281] ? __send_to_port+0x420/0x420 [ 21.976264][ T281] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.976270][ T281] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.976275][ T281] ? validate_chain+0x38b/0xc20 [ 21.976288][ T281] hvc_console_print+0x292/0x780 [ 21.976293][ T281] ? __lock_acquire+0x518/0xc20 [ 21.976302][ T281] ? hvc_write+0x3a0/0x3a0 [ 21.976307][ T281] ? rcu_is_watching+0x16/0xd0 [ 21.976315][ T281] console_emit_next_record+0x252/0x4f0 [ 21.976321][ T281] ? devkmsg_read+0x4e0/0x4e0 [ 21.976328][ T281] ? rcu_is_watching+0x16/0xd0 [ 21.976332][ T281] ? lock_acquire+0x13c/0x160 [ 21.976339][ T281] console_flush_one_record+0x46f/0x710 [ 21.976346][ T281] ? console_emit_next_record+0x4f0/0x4f0 [ 21.976348][ T281] ? __lock_acquire+0x518/0xc20 [ 21.976357][ T281] console_unlock+0xee/0x1f0 [ 21.976361][ T281] ? console_flush_one_record+0x710/0x710 [ 21.976364][ T281] ? rcu_is_watching+0x16/0xd0 [ 21.976367][ T281] ? lock_acquire+0x60/0x160 [ 21.976373][ T281] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.976381][ T281] ? vprintk_emit+0x320/0x3e0 [ 21.976386][ T281] vprintk_emit+0x37c/0x3e0 [ 21.976392][ T281] ? wake_up_klogd_work_func+0x90/0x90 [ 21.976395][ T281] ? kasan_save_stack+0x3d/0x50 [ 21.976398][ T281] ? kasan_save_track+0x14/0x30 [ 21.976400][ T281] ? __kasan_kmalloc+0x7b/0x90 [ 21.976402][ T281] ? __kmalloc_cache_noprof+0x29a/0x620 [ 21.976405][ T281] ? packet_mc_add+0x13b/0x890 [ 21.976408][ T281] ? packet_setsockopt+0x1953/0x21e0 [ 21.976411][ T281] ? do_sock_setsockopt+0x115/0x490 [ 21.976417][ T281] _printk+0xc7/0x100 [ 21.976422][ T281] ? snapshot_read.cold+0x21/0x21 [ 21.976429][ T281] ? netdev_name+0x43/0x60 [ 21.976434][ T281] ? __netdev_printk+0x17f/0x1d0 [ 21.976440][ T281] netdev_info+0xe2/0x116 [ 21.976443][ T281] ? netdev_notice+0x120/0x120 [ 21.976456][ T281] ? mutex_is_locked+0x1c/0x50 [ 21.976460][ T281] __dev_set_promiscuity.cold+0x7a/0x104 [ 21.976467][ T281] netif_set_promiscuity+0x4c/0xc0 [ 21.976474][ T281] dev_set_promiscuity+0xa1/0x230 [ 21.976477][ T281] ? __asan_memset+0x27/0x50 [ 21.976482][ T281] packet_mc_add+0x54e/0x890 [ 21.976485][ T281] ? __might_fault+0x97/0x140 [ 21.976491][ T281] ? __might_fault+0x97/0x140 [ 21.976495][ T281] ? _copy_from_user+0x42/0x90 [ 21.976502][ T281] packet_setsockopt+0x1953/0x21e0 [ 21.976508][ T281] ? packet_bind+0x170/0x170 [ 21.976514][ T281] ? do_sock_getsockopt+0x6f6/0xb20 [ 21.976522][ T281] ? sock_poll+0x6b0/0x6b0 [ 21.976528][ T281] ? rcu_is_watching+0x16/0xd0 [ 21.976531][ T281] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.976537][ T281] ? __local_bh_enable_ip+0xaa/0x150 [ 21.976544][ T281] do_sock_setsockopt+0x115/0x490 [ 21.976549][ T281] ? put_user_ifreq+0x90/0x90 [ 21.976561][ T281] __sys_setsockopt+0xe4/0x150 [ 21.976569][ T281] __x64_sys_setsockopt+0xbd/0x180 [ 21.976571][ T281] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 21.976574][ T281] ? lockdep_hardirqs_on+0x91/0x130 [ 21.976578][ T281] ? do_syscall_64+0xa6/0x530 [ 21.976580][ T281] do_syscall_64+0xff/0x530 [ 21.976582][ T281] ? exc_page_fault+0xee/0x100 [ 21.976587][ T281] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.976590][ T281] RIP: 0033:0x7f97f10e82de [ 21.976595][ 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 [ 21.976598][ T281] RSP: 002b:00007ffe0110ba28 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 21.976602][ T281] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f97f10e82de [ 21.976604][ T281] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 21.976605][ T281] RBP: 00007ffe0110bb60 R08: 0000000000000010 R09: 000055a70abc3530 [ 21.976607][ T281] R10: 00007ffe0110baa0 R11: 0000000000000246 R12: 0000000000000001 [ 21.976608][ T281] R13: 000055a70abc3918 R14: 000055a70abc3690 R15: 0000000000000000 [ 21.976619][ T281] [ 24.370430][ T281] eth0: left promiscuous mode [ 24.370451][ T281] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 24.370453][ T281] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 281, name: tcpdump [ 24.370455][ T281] preempt_count: 1, expected: 0 [ 24.370456][ T281] RCU nest depth: 0, expected: 0 [ 24.370457][ T281] locks held by tcpdump/281: 6, last CPU#0: [ 24.370459][ T281] #0: ff1100000c0008b8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 24.370472][ T281] #1: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 24.370478][ T281] #2: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 24.370483][ T281] #3: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 24.370487][ T281] #4: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 24.370490][ T281] #5: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 24.370493][ T281] irq event stamp: 66538 [ 24.370494][ T281] hardirqs last enabled at (66537): [] __down_trylock_console_sem+0x86/0xa0 [ 24.370498][ T281] hardirqs last disabled at (66538): [] console_emit_next_record+0x3f8/0x4f0 [ 24.370499][ T281] softirqs last enabled at (66416): [] handle_softirqs+0x67c/0x900 [ 24.370503][ T281] softirqs last disabled at (66407): [] __irq_exit_rcu+0x145/0x1c0 [ 24.370506][ T281] Preemption disabled at: [ 24.370506][ T281] [] vprintk_emit+0x31b/0x3e0 [ 24.370512][ T281] CPU: 0 UID: 72 PID: 281 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 24.370515][ T281] Tainted: [W]=WARN [ 24.370516][ T281] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.370518][ T281] Call Trace: [ 24.370519][ T281] [ 24.370521][ T281] dump_stack_lvl+0x6f/0xa0 [ 24.370526][ T281] ? vprintk_emit+0x31b/0x3e0 [ 24.370528][ T281] __might_resched.cold+0x1fe/0x2c1 [ 24.370533][ T281] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 24.370536][ T281] ? __kmalloc_noprof+0xdb/0x760 [ 24.370542][ T281] __kmalloc_noprof+0x443/0x760 [ 24.370545][ T281] ? alloc_buf.isra.0+0x4b/0x260 [ 24.370551][ T281] ? do_raw_spin_unlock+0x59/0x250 [ 24.370553][ T281] alloc_buf.isra.0+0x4b/0x260 [ 24.370557][ T281] put_chars+0x1e1/0x2f0 [ 24.370560][ T281] ? __send_to_port+0x420/0x420 [ 24.370564][ T281] ? validate_chain+0x38b/0xc20 [ 24.370570][ T281] hvc_console_print+0x292/0x780 [ 24.370578][ T281] ? hvc_write+0x3a0/0x3a0 [ 24.370581][ T281] ? rcu_is_watching+0x16/0xd0 [ 24.370584][ T281] ? lock_acquire+0x13c/0x160 [ 24.370589][ T281] console_emit_next_record+0x252/0x4f0 [ 24.370592][ T281] ? devkmsg_read+0x4e0/0x4e0 [ 24.370596][ T281] ? rcu_is_watching+0x16/0xd0 [ 24.370598][ T281] ? lock_acquire+0x13c/0x160 [ 24.370603][ T281] console_flush_one_record+0x46f/0x710 [ 24.370607][ T281] ? console_emit_next_record+0x4f0/0x4f0 [ 24.370608][ T281] ? __lock_acquire+0x518/0xc20 [ 24.370614][ T281] console_unlock+0xee/0x1f0 [ 24.370616][ T281] ? console_flush_one_record+0x710/0x710 [ 24.370617][ T281] ? rcu_is_watching+0x16/0xd0 [ 24.370619][ T281] ? lock_acquire+0x60/0x160 [ 24.370623][ T281] ? __down_trylock_console_sem+0x5e/0xa0 [ 24.370625][ T281] ? vprintk_emit+0x320/0x3e0 [ 24.370628][ T281] vprintk_emit+0x37c/0x3e0 [ 24.370632][ T281] ? wake_up_klogd_work_func+0x90/0x90 [ 24.370635][ T281] ? __lock_acquire+0x518/0xc20 [ 24.370639][ T281] _printk+0xc7/0x100 [ 24.370643][ T281] ? snapshot_read.cold+0x21/0x21 [ 24.370645][ T281] ? lock_acquire.part.0+0xd4/0x280 [ 24.370648][ T281] ? rcu_is_watching+0x16/0xd0 [ 24.370650][ T281] ? netdev_name+0x43/0x60 [ 24.370653][ T281] ? __netdev_printk+0x17f/0x1d0 [ 24.370657][ T281] netdev_info+0xe2/0x116 [ 24.370660][ T281] ? netdev_notice+0x120/0x120 [ 24.370661][ T281] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 24.370664][ T281] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 24.370668][ T281] ? ww_mutex_lock+0x160/0x160 [ 24.370670][ T281] ? lock_acquire.part.0+0xd4/0x280 [ 24.370672][ T281] ? ref_tracker_alloc+0x430/0x430 [ 24.370676][ T281] ? packet_release+0x363/0xc40 [ 24.370678][ T281] ? __fput+0x363/0xac0 [ 24.370681][ T281] ? mutex_is_locked+0x1c/0x50 [ 24.370684][ T281] __dev_set_promiscuity.cold+0x7a/0x104 [ 24.370688][ T281] netif_set_promiscuity+0x4c/0xc0 [ 24.370693][ T281] dev_set_promiscuity+0xa1/0x230 [ 24.370696][ T281] packet_release+0x4cb/0xc40 [ 24.370701][ T281] ? packet_set_ring+0x1740/0x1740 [ 24.370704][ T281] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 24.370709][ T281] __sock_release+0xb8/0x280 [ 24.370713][ T281] sock_close+0x18/0x20 [ 24.370715][ T281] __fput+0x363/0xac0 [ 24.370720][ T281] fput_close_sync+0xde/0x1b0 [ 24.370723][ T281] ? alloc_file_clone+0xe0/0xe0 [ 24.370725][ T281] ? do_raw_spin_unlock+0x59/0x250 [ 24.370729][ T281] __x64_sys_close+0x8b/0xf0 [ 24.370732][ T281] do_syscall_64+0xff/0x530 [ 24.370733][ T281] ? exc_page_fault+0xee/0x100 [ 24.370737][ T281] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 24.370739][ T281] RIP: 0033:0x7f97f105f54e [ 24.370743][ 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.370745][ T281] RSP: 002b:00007ffe0110bb90 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 24.370748][ T281] RAX: ffffffffffffffda RBX: 000055a70abc3690 RCX: 00007f97f105f54e [ 24.370749][ T281] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 24.370750][ T281] RBP: 00007ffe0110bba0 R08: 0000000000000000 R09: 0000000000000000 [ 24.370751][ T281] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 24.370752][ T281] R13: 00000000fffffffe R14: 000055a6dedf5760 R15: 0000000000000001 [ 24.370759][ T281] [ 26.118986][ T303] test_team1: Port device eth0 removed [ 26.119010][ T303] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.119013][ T303] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 303, name: ip [ 26.119016][ T303] preempt_count: 1, expected: 0 [ 26.119017][ T303] RCU nest depth: 0, expected: 0 [ 26.119018][ T303] locks held by ip/303: 5, last CPU#0: [ 26.119021][ T303] #0: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 26.119036][ T303] #1: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.119045][ T303] #2: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.119050][ T303] #3: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.119056][ T303] #4: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.119062][ T303] irq event stamp: 22804 [ 26.119063][ T303] hardirqs last enabled at (22803): [] __down_trylock_console_sem+0x86/0xa0 [ 26.119068][ T303] hardirqs last disabled at (22804): [] console_emit_next_record+0x3f8/0x4f0 [ 26.119070][ T303] softirqs last enabled at (22790): [] fib6_run_gc+0x162/0x250 [ 26.119074][ T303] softirqs last disabled at (22784): [] fib6_run_gc+0x1ac/0x250 [ 26.119077][ T303] Preemption disabled at: [ 26.119078][ T303] [] vprintk_emit+0x31b/0x3e0 [ 26.119085][ T303] CPU: 0 UID: 0 PID: 303 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.119090][ T303] Tainted: [W]=WARN [ 26.119091][ T303] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.119094][ T303] Call Trace: [ 26.119096][ T303] [ 26.119098][ T303] dump_stack_lvl+0x6f/0xa0 [ 26.119105][ T303] ? vprintk_emit+0x31b/0x3e0 [ 26.119108][ T303] __might_resched.cold+0x1fe/0x2c1 [ 26.119114][ T303] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.119119][ T303] ? __kmalloc_noprof+0xdb/0x760 [ 26.119127][ T303] __kmalloc_noprof+0x443/0x760 [ 26.119131][ T303] ? alloc_buf.isra.0+0x4b/0x260 [ 26.119141][ T303] ? do_raw_spin_unlock+0x59/0x250 [ 26.119144][ T303] alloc_buf.isra.0+0x4b/0x260 [ 26.119150][ T303] put_chars+0x1e1/0x2f0 [ 26.119155][ T303] ? __send_to_port+0x420/0x420 [ 26.119161][ T303] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.119166][ T303] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.119170][ T303] ? validate_chain+0x38b/0xc20 [ 26.119177][ T303] hvc_console_print+0x292/0x780 [ 26.119182][ T303] ? mark_usage+0x61/0x170 [ 26.119186][ T303] ? __lock_acquire+0x518/0xc20 [ 26.119188][ T303] ? __lock_acquire+0x518/0xc20 [ 26.119196][ T303] ? hvc_write+0x3a0/0x3a0 [ 26.119200][ T303] ? console_emit_next_record+0x202/0x4f0 [ 26.119205][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.119209][ T303] ? lock_acquire+0x13c/0x160 [ 26.119216][ T303] console_emit_next_record+0x252/0x4f0 [ 26.119222][ T303] ? devkmsg_read+0x4e0/0x4e0 [ 26.119229][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.119232][ T303] ? lock_acquire+0x13c/0x160 [ 26.119239][ T303] console_flush_one_record+0x46f/0x710 [ 26.119246][ T303] ? console_emit_next_record+0x4f0/0x4f0 [ 26.119248][ T303] ? __lock_acquire+0x518/0xc20 [ 26.119258][ T303] console_unlock+0xee/0x1f0 [ 26.119262][ T303] ? console_flush_one_record+0x710/0x710 [ 26.119264][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.119267][ T303] ? lock_acquire+0x60/0x160 [ 26.119274][ T303] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.119277][ T303] ? vprintk_emit+0x320/0x3e0 [ 26.119282][ T303] vprintk_emit+0x37c/0x3e0 [ 26.119291][ T303] ? wake_up_klogd_work_func+0x90/0x90 [ 26.119293][ T303] ? rtnl_newlink+0x9f1/0x11b0 [ 26.119296][ T303] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.119299][ T303] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.119302][ T303] ? look_up_lock_class+0x65/0x150 [ 26.119306][ T303] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.119313][ T303] _printk+0xc7/0x100 [ 26.119318][ T303] ? snapshot_read.cold+0x21/0x21 [ 26.119323][ T303] ? __lock_acquire+0x518/0xc20 [ 26.119327][ T303] ? netdev_name+0x43/0x60 [ 26.119332][ T303] ? __netdev_printk+0x17f/0x1d0 [ 26.119338][ T303] netdev_info+0xe2/0x116 [ 26.119342][ T303] ? netdev_notice+0x120/0x120 [ 26.119350][ T303] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 26.119353][ T303] ? lockdep_hardirqs_on+0x91/0x130 [ 26.119356][ T303] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 26.119359][ T303] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 26.119362][ T303] ? kvfree_call_rcu+0x23b/0x2e0 [ 26.119370][ T303] team_port_del+0x61d/0xaa0 [ 26.119380][ T303] do_set_master+0x15c/0x780 [ 26.119387][ T303] do_setlink.isra.0+0x9ec/0x2a60 [ 26.119398][ T303] ? stack_trace_save+0x93/0xc0 [ 26.119403][ T303] ? rtnl_link_get_size+0x350/0x350 [ 26.119405][ T303] ? rcu_read_lock_any_held+0x66/0x90 [ 26.119409][ T303] ? stack_depot_save_flags+0x38e/0x790 [ 26.119413][ T303] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.119417][ T303] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.119420][ T303] ? validate_chain+0x38b/0xc20 [ 26.119425][ T303] ? kasan_save_stack+0x3d/0x50 [ 26.119428][ T303] ? kasan_save_stack+0x2f/0x50 [ 26.119429][ T303] ? kasan_save_track+0x14/0x30 [ 26.119434][ T303] ? __lock_acquire+0x518/0xc20 [ 26.119437][ T303] ? netlink_seq_next+0x5e/0x60 [ 26.119441][ T303] ? ___sys_sendmsg+0xc0/0x1d0 [ 26.119448][ T303] ? lock_acquire.part.0+0xd4/0x280 [ 26.119452][ T303] ? rtnl_newlink+0x9a8/0x11b0 [ 26.119457][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.119460][ T303] ? lock_acquire+0x13c/0x160 [ 26.119463][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.119465][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.119468][ T303] ? trace_contention_end+0xb3/0x180 [ 26.119473][ T303] ? __mutex_lock+0x1db/0x1ea0 [ 26.119475][ T303] ? __mutex_lock+0x9a3/0x1ea0 [ 26.119478][ T303] ? rtnl_newlink+0x9a8/0x11b0 [ 26.119485][ T303] ? ww_mutex_lock+0x160/0x160 [ 26.119488][ T303] ? nla_get_range_signed+0x3d0/0x3d0 [ 26.119498][ T303] ? __rtnl_newlink+0x3fa/0xa50 [ 26.119508][ T303] rtnl_newlink+0x9f1/0x11b0 [ 26.119519][ T303] ? rtnl_bridge_getlink+0x850/0x850 [ 26.119522][ T303] ? __lock_acquire+0x518/0xc20 [ 26.119530][ T303] ? lock_acquire.part.0+0xd4/0x280 [ 26.119534][ T303] ? find_held_lock+0x2b/0x80 [ 26.119538][ T303] ? rtnl_bridge_getlink+0x850/0x850 [ 26.119541][ T303] ? __lock_release.isra.0+0x69/0x1a0 [ 26.119548][ T303] ? rtnl_bridge_getlink+0x850/0x850 [ 26.119552][ T303] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 26.119558][ T303] ? rtnl_link_fill+0x900/0x900 [ 26.119561][ T303] ? __lock_acquire+0x518/0xc20 [ 26.119569][ T303] ? lock_acquire.part.0+0xd4/0x280 [ 26.119572][ T303] ? find_held_lock+0x2b/0x80 [ 26.119578][ T303] netlink_rcv_skb+0x14e/0x3a0 [ 26.119581][ T303] ? rtnl_link_fill+0x900/0x900 [ 26.119587][ T303] ? netlink_ack+0xcd0/0xcd0 [ 26.119598][ T303] ? netlink_deliver_tap+0xc5/0x330 [ 26.119600][ T303] ? netlink_deliver_tap+0x13c/0x330 [ 26.119608][ T303] netlink_unicast+0x486/0x750 [ 26.119614][ T303] ? netlink_attachskb+0x810/0x810 [ 26.119619][ T303] ? __lock_acquire+0x518/0xc20 [ 26.119626][ T303] netlink_sendmsg+0x735/0xc60 [ 26.119633][ T303] ? netlink_unicast+0x750/0x750 [ 26.119639][ T303] ? __might_fault+0x97/0x140 [ 26.119647][ T303] ____sys_sendmsg+0x415/0x880 [ 26.119651][ T303] ? copy_msghdr_from_user+0x279/0x420 [ 26.119654][ T303] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 26.119656][ T303] ? move_addr_to_kernel+0x40/0x40 [ 26.119669][ T303] ___sys_sendmsg+0x14e/0x1d0 [ 26.119674][ T303] ? copy_msghdr_from_user+0x420/0x420 [ 26.119703][ T303] __sys_sendmsg+0x12c/0x1d0 [ 26.119707][ T303] ? __sys_sendmsg_sock+0x20/0x20 [ 26.119718][ T303] ? rcu_is_watching+0x16/0xd0 [ 26.119724][ T303] do_syscall_64+0xff/0x530 [ 26.119726][ T303] ? exc_page_fault+0xee/0x100 [ 26.119731][ T303] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.119734][ T303] RIP: 0033:0x7ff5e90ca54e [ 26.119739][ 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.119742][ T303] RSP: 002b:00007fffd81b6df0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 26.119745][ T303] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007ff5e90ca54e [ 26.119748][ T303] RDX: 0000000000000000 RSI: 00007fffd81b6ea0 RDI: 0000000000000005 [ 26.119749][ T303] RBP: 00007fffd81b6e00 R08: 0000000000000000 R09: 0000000000000000 [ 26.119751][ T303] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a915d7d [ 26.119752][ T303] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007fffd81b7570 [ 26.119766][ T303] [ 26.349904][ T306] test_team1: Mode changed to "broadcast" [ 26.381902][ T307] test_team1: Port device eth0 added [ 27.160205][ T314] eth0: entered promiscuous mode [ 27.160228][ T314] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.160232][ T314] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 314, name: tcpdump [ 27.160234][ T314] preempt_count: 1, expected: 0 [ 27.160235][ T314] RCU nest depth: 0, expected: 0 [ 27.160236][ T314] locks held by tcpdump/314: 5, last CPU#0: [ 27.160239][ T314] #0: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_mc_add+0x28/0x890 [ 27.160253][ T314] #1: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.160261][ T314] #2: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.160267][ T314] #3: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.160272][ T314] #4: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 27.160277][ T314] irq event stamp: 51118 [ 27.160278][ T314] hardirqs last enabled at (51117): [] __down_trylock_console_sem+0x86/0xa0 [ 27.160283][ T314] hardirqs last disabled at (51118): [] console_emit_next_record+0x3f8/0x4f0 [ 27.160289][ T314] softirqs last enabled at (51096): [] packet_do_bind+0x4b2/0xc80 [ 27.160292][ T314] softirqs last disabled at (51094): [] release_sock+0x21/0x240 [ 27.160298][ T314] Preemption disabled at: [ 27.160299][ T314] [] vprintk_emit+0x31b/0x3e0 [ 27.160305][ T314] CPU: 0 UID: 0 PID: 314 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.160310][ T314] Tainted: [W]=WARN [ 27.160311][ T314] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.160313][ T314] Call Trace: [ 27.160315][ T314] [ 27.160317][ T314] dump_stack_lvl+0x6f/0xa0 [ 27.160324][ T314] ? vprintk_emit+0x31b/0x3e0 [ 27.160327][ T314] __might_resched.cold+0x1fe/0x2c1 [ 27.160333][ T314] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.160338][ T314] ? __kmalloc_noprof+0xdb/0x760 [ 27.160346][ T314] __kmalloc_noprof+0x443/0x760 [ 27.160349][ T314] ? alloc_buf.isra.0+0x4b/0x260 [ 27.160359][ T314] ? do_raw_spin_unlock+0x59/0x250 [ 27.160362][ T314] alloc_buf.isra.0+0x4b/0x260 [ 27.160367][ T314] put_chars+0x1e1/0x2f0 [ 27.160372][ T314] ? __send_to_port+0x420/0x420 [ 27.160374][ T314] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 27.160381][ T314] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.160385][ T314] ? validate_chain+0x38b/0xc20 [ 27.160397][ T314] hvc_console_print+0x292/0x780 [ 27.160402][ T314] ? __lock_acquire+0x518/0xc20 [ 27.160411][ T314] ? hvc_write+0x3a0/0x3a0 [ 27.160416][ T314] ? rcu_is_watching+0x16/0xd0 [ 27.160424][ T314] console_emit_next_record+0x252/0x4f0 [ 27.160430][ T314] ? devkmsg_read+0x4e0/0x4e0 [ 27.160436][ T314] ? rcu_is_watching+0x16/0xd0 [ 27.160440][ T314] ? lock_acquire+0x13c/0x160 [ 27.160446][ T314] console_flush_one_record+0x46f/0x710 [ 27.160453][ T314] ? console_emit_next_record+0x4f0/0x4f0 [ 27.160455][ T314] ? __lock_acquire+0x518/0xc20 [ 27.160464][ T314] console_unlock+0xee/0x1f0 [ 27.160468][ T314] ? console_flush_one_record+0x710/0x710 [ 27.160470][ T314] ? rcu_is_watching+0x16/0xd0 [ 27.160473][ T314] ? lock_acquire+0x60/0x160 [ 27.160479][ T314] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.160482][ T314] ? vprintk_emit+0x320/0x3e0 [ 27.160487][ T314] vprintk_emit+0x37c/0x3e0 [ 27.160493][ T314] ? wake_up_klogd_work_func+0x90/0x90 [ 27.160495][ T314] ? kasan_save_stack+0x3d/0x50 [ 27.160498][ T314] ? kasan_save_track+0x14/0x30 [ 27.160500][ T314] ? __kasan_kmalloc+0x7b/0x90 [ 27.160502][ T314] ? __kmalloc_cache_noprof+0x29a/0x620 [ 27.160505][ T314] ? packet_mc_add+0x13b/0x890 [ 27.160507][ T314] ? packet_setsockopt+0x1953/0x21e0 [ 27.160510][ T314] ? do_sock_setsockopt+0x115/0x490 [ 27.160515][ T314] _printk+0xc7/0x100 [ 27.160520][ T314] ? snapshot_read.cold+0x21/0x21 [ 27.160528][ T314] ? netdev_name+0x43/0x60 [ 27.160532][ T314] ? __netdev_printk+0x17f/0x1d0 [ 27.160538][ T314] netdev_info+0xe2/0x116 [ 27.160542][ T314] ? netdev_notice+0x120/0x120 [ 27.160554][ T314] ? mutex_is_locked+0x1c/0x50 [ 27.160558][ T314] __dev_set_promiscuity.cold+0x7a/0x104 [ 27.160565][ T314] netif_set_promiscuity+0x4c/0xc0 [ 27.160571][ T314] dev_set_promiscuity+0xa1/0x230 [ 27.160574][ T314] ? __asan_memset+0x27/0x50 [ 27.160579][ T314] packet_mc_add+0x54e/0x890 [ 27.160582][ T314] ? __might_fault+0x97/0x140 [ 27.160588][ T314] ? __might_fault+0x97/0x140 [ 27.160592][ T314] ? _copy_from_user+0x42/0x90 [ 27.160598][ T314] packet_setsockopt+0x1953/0x21e0 [ 27.160603][ T314] ? packet_bind+0x170/0x170 [ 27.160610][ T314] ? do_sock_getsockopt+0x6f6/0xb20 [ 27.160618][ T314] ? sock_poll+0x6b0/0x6b0 [ 27.160624][ T314] ? rcu_is_watching+0x16/0xd0 [ 27.160627][ T314] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 27.160632][ T314] ? __local_bh_enable_ip+0xaa/0x150 [ 27.160638][ T314] do_sock_setsockopt+0x115/0x490 [ 27.160644][ T314] ? put_user_ifreq+0x90/0x90 [ 27.160655][ T314] __sys_setsockopt+0xe4/0x150 [ 27.160663][ T314] __x64_sys_setsockopt+0xbd/0x180 [ 27.160665][ T314] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 27.160669][ T314] ? lockdep_hardirqs_on+0x91/0x130 [ 27.160672][ T314] ? do_syscall_64+0xa6/0x530 [ 27.160674][ T314] do_syscall_64+0xff/0x530 [ 27.160676][ T314] ? exc_page_fault+0xee/0x100 [ 27.160681][ T314] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.160684][ T314] RIP: 0033:0x7fedf1bbc2de [ 27.160689][ T314] 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 [ 27.160691][ T314] RSP: 002b:00007ffc1d439108 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 27.160694][ T314] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fedf1bbc2de [ 27.160696][ T314] RDX: 0000000000000001 RSI: 0000000000000107 RDI: 0000000000000005 [ 27.160698][ T314] RBP: 00007ffc1d439240 R08: 0000000000000010 R09: 00005577d4474530 [ 27.160699][ T314] R10: 00007ffc1d439180 R11: 0000000000000246 R12: 0000000000000001 [ 27.160700][ T314] R13: 00005577d4474918 R14: 00005577d4474690 R15: 0000000000000000 [ 27.160712][ T314] [ 29.591730][ T314] eth0: left promiscuous mode [ 29.591750][ T314] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.591753][ T314] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 314, name: tcpdump [ 29.591755][ T314] preempt_count: 1, expected: 0 [ 29.591755][ T314] RCU nest depth: 0, expected: 0 [ 29.591757][ T314] locks held by tcpdump/314: 6, last CPU#0: [ 29.591759][ T314] #0: ff1100000c1f9538 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 29.591772][ T314] #1: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 29.591778][ T314] #2: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.591784][ T314] #3: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.591787][ T314] #4: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.591790][ T314] #5: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 29.591793][ T314] irq event stamp: 70026 [ 29.591794][ T314] hardirqs last enabled at (70025): [] __down_trylock_console_sem+0x86/0xa0 [ 29.591798][ T314] hardirqs last disabled at (70026): [] console_emit_next_record+0x3f8/0x4f0 [ 29.591799][ T314] softirqs last enabled at (69874): [] packet_setsockopt+0xcdf/0x21e0 [ 29.591802][ T314] softirqs last disabled at (69872): [] release_sock+0x21/0x240 [ 29.591805][ T314] Preemption disabled at: [ 29.591806][ T314] [] vprintk_emit+0x31b/0x3e0 [ 29.591812][ T314] CPU: 0 UID: 72 PID: 314 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.591815][ T314] Tainted: [W]=WARN [ 29.591816][ T314] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.591818][ T314] Call Trace: [ 29.591819][ T314] [ 29.591821][ T314] dump_stack_lvl+0x6f/0xa0 [ 29.591826][ T314] ? vprintk_emit+0x31b/0x3e0 [ 29.591828][ T314] __might_resched.cold+0x1fe/0x2c1 [ 29.591833][ T314] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.591836][ T314] ? __kmalloc_noprof+0xdb/0x760 [ 29.591842][ T314] __kmalloc_noprof+0x443/0x760 [ 29.591845][ T314] ? alloc_buf.isra.0+0x4b/0x260 [ 29.591851][ T314] ? do_raw_spin_unlock+0x59/0x250 [ 29.591853][ T314] alloc_buf.isra.0+0x4b/0x260 [ 29.591857][ T314] put_chars+0x1e1/0x2f0 [ 29.591861][ T314] ? __send_to_port+0x420/0x420 [ 29.591864][ T314] ? validate_chain+0x38b/0xc20 [ 29.591870][ T314] hvc_console_print+0x292/0x780 [ 29.591878][ T314] ? hvc_write+0x3a0/0x3a0 [ 29.591881][ T314] ? rcu_is_watching+0x16/0xd0 [ 29.591884][ T314] ? lock_acquire+0x13c/0x160 [ 29.591889][ T314] console_emit_next_record+0x252/0x4f0 [ 29.591892][ T314] ? devkmsg_read+0x4e0/0x4e0 [ 29.591897][ T314] ? rcu_is_watching+0x16/0xd0 [ 29.591899][ T314] ? lock_acquire+0x13c/0x160 [ 29.591903][ T314] console_flush_one_record+0x46f/0x710 [ 29.591907][ T314] ? console_emit_next_record+0x4f0/0x4f0 [ 29.591908][ T314] ? __lock_acquire+0x518/0xc20 [ 29.591914][ T314] console_unlock+0xee/0x1f0 [ 29.591916][ T314] ? console_flush_one_record+0x710/0x710 [ 29.591918][ T314] ? rcu_is_watching+0x16/0xd0 [ 29.591920][ T314] ? lock_acquire+0x60/0x160 [ 29.591924][ T314] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.591926][ T314] ? vprintk_emit+0x320/0x3e0 [ 29.591929][ T314] vprintk_emit+0x37c/0x3e0 [ 29.591932][ T314] ? wake_up_klogd_work_func+0x90/0x90 [ 29.591936][ T314] ? __lock_acquire+0x518/0xc20 [ 29.591939][ T314] _printk+0xc7/0x100 [ 29.591943][ T314] ? snapshot_read.cold+0x21/0x21 [ 29.591945][ T314] ? lock_acquire.part.0+0xd4/0x280 [ 29.591949][ T314] ? rcu_is_watching+0x16/0xd0 [ 29.591950][ T314] ? netdev_name+0x43/0x60 [ 29.591954][ T314] ? __netdev_printk+0x17f/0x1d0 [ 29.591957][ T314] netdev_info+0xe2/0x116 [ 29.591960][ T314] ? netdev_notice+0x120/0x120 [ 29.591961][ T314] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 29.591964][ T314] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 29.591968][ T314] ? ww_mutex_lock+0x160/0x160 [ 29.591970][ T314] ? lock_acquire.part.0+0xd4/0x280 [ 29.591973][ T314] ? ref_tracker_alloc+0x430/0x430 [ 29.591976][ T314] ? packet_release+0x363/0xc40 [ 29.591978][ T314] ? __fput+0x363/0xac0 [ 29.591981][ T314] ? mutex_is_locked+0x1c/0x50 [ 29.591984][ T314] __dev_set_promiscuity.cold+0x7a/0x104 [ 29.591989][ T314] netif_set_promiscuity+0x4c/0xc0 [ 29.591994][ T314] dev_set_promiscuity+0xa1/0x230 [ 29.591998][ T314] packet_release+0x4cb/0xc40 [ 29.592003][ T314] ? packet_set_ring+0x1740/0x1740 [ 29.592007][ T314] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 29.592012][ T314] __sock_release+0xb8/0x280 [ 29.592015][ T314] sock_close+0x18/0x20 [ 29.592017][ T314] __fput+0x363/0xac0 [ 29.592023][ T314] fput_close_sync+0xde/0x1b0 [ 29.592025][ T314] ? alloc_file_clone+0xe0/0xe0 [ 29.592027][ T314] ? do_raw_spin_unlock+0x59/0x250 [ 29.592031][ T314] __x64_sys_close+0x8b/0xf0 [ 29.592034][ T314] do_syscall_64+0xff/0x530 [ 29.592036][ T314] ? exc_page_fault+0xee/0x100 [ 29.592039][ T314] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.592041][ T314] RIP: 0033:0x7fedf1b3354e [ 29.592045][ 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.592047][ T314] RSP: 002b:00007ffc1d439270 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 29.592050][ T314] RAX: ffffffffffffffda RBX: 00005577d4474690 RCX: 00007fedf1b3354e [ 29.592051][ T314] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 29.592052][ T314] RBP: 00007ffc1d439280 R08: 0000000000000000 R09: 0000000000000000 [ 29.592053][ T314] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 29.592053][ T314] R13: 00000000fffffffe R14: 00005577bdc66760 R15: 0000000000000001 [ 29.592060][ T314] [ 31.263567][ T328] test_team1: Port device eth0 removed [ 31.263588][ T328] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.263591][ T328] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 328, name: ip [ 31.263592][ T328] preempt_count: 1, expected: 0 [ 31.263593][ T328] RCU nest depth: 0, expected: 0 [ 31.263594][ T328] locks held by ip/328: 5, last CPU#3: [ 31.263596][ T328] #0: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 31.263608][ T328] #1: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.263614][ T328] #2: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.263618][ T328] #3: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.263621][ T328] #4: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 31.263624][ T328] irq event stamp: 18024 [ 31.263625][ T328] hardirqs last enabled at (18023): [] __down_trylock_console_sem+0x86/0xa0 [ 31.263629][ T328] hardirqs last disabled at (18024): [] console_emit_next_record+0x3f8/0x4f0 [ 31.263630][ T328] softirqs last enabled at (18010): [] fib6_run_gc+0x162/0x250 [ 31.263633][ T328] softirqs last disabled at (18004): [] fib6_run_gc+0x1ac/0x250 [ 31.263635][ T328] Preemption disabled at: [ 31.263636][ T328] [] vprintk_emit+0x31b/0x3e0 [ 31.263641][ T328] CPU: 3 UID: 0 PID: 328 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.263645][ T328] Tainted: [W]=WARN [ 31.263645][ T328] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.263647][ T328] Call Trace: [ 31.263649][ T328] [ 31.263650][ T328] dump_stack_lvl+0x6f/0xa0 [ 31.263656][ T328] ? vprintk_emit+0x31b/0x3e0 [ 31.263657][ T328] __might_resched.cold+0x1fe/0x2c1 [ 31.263662][ T328] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.263666][ T328] ? __kmalloc_noprof+0xdb/0x760 [ 31.263671][ T328] __kmalloc_noprof+0x443/0x760 [ 31.263674][ T328] ? alloc_buf.isra.0+0x4b/0x260 [ 31.263680][ T328] ? do_raw_spin_unlock+0x59/0x250 [ 31.263682][ T328] alloc_buf.isra.0+0x4b/0x260 [ 31.263686][ T328] put_chars+0x1e1/0x2f0 [ 31.263689][ T328] ? __send_to_port+0x420/0x420 [ 31.263692][ T328] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.263696][ T328] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.263699][ T328] ? validate_chain+0x38b/0xc20 [ 31.263703][ T328] hvc_console_print+0x292/0x780 [ 31.263707][ T328] ? mark_usage+0x61/0x170 [ 31.263710][ T328] ? __lock_acquire+0x518/0xc20 [ 31.263711][ T328] ? __lock_acquire+0x518/0xc20 [ 31.263715][ T328] ? hvc_write+0x3a0/0x3a0 [ 31.263718][ T328] ? console_emit_next_record+0x202/0x4f0 [ 31.263721][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.263723][ T328] ? lock_acquire+0x13c/0x160 [ 31.263727][ T328] console_emit_next_record+0x252/0x4f0 [ 31.263730][ T328] ? devkmsg_read+0x4e0/0x4e0 [ 31.263734][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.263736][ T328] ? lock_acquire+0x13c/0x160 [ 31.263740][ T328] console_flush_one_record+0x46f/0x710 [ 31.263744][ T328] ? console_emit_next_record+0x4f0/0x4f0 [ 31.263745][ T328] ? __lock_acquire+0x518/0xc20 [ 31.263750][ T328] console_unlock+0xee/0x1f0 [ 31.263753][ T328] ? console_flush_one_record+0x710/0x710 [ 31.263754][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.263756][ T328] ? lock_acquire+0x60/0x160 [ 31.263760][ T328] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.263762][ T328] ? vprintk_emit+0x320/0x3e0 [ 31.263764][ T328] vprintk_emit+0x37c/0x3e0 [ 31.263768][ T328] ? wake_up_klogd_work_func+0x90/0x90 [ 31.263769][ T328] ? rtnl_newlink+0x9f1/0x11b0 [ 31.263771][ T328] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.263773][ T328] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.263775][ T328] ? look_up_lock_class+0x65/0x150 [ 31.263777][ T328] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.263781][ T328] _printk+0xc7/0x100 [ 31.263785][ T328] ? snapshot_read.cold+0x21/0x21 [ 31.263788][ T328] ? __lock_acquire+0x518/0xc20 [ 31.263791][ T328] ? netdev_name+0x43/0x60 [ 31.263794][ T328] ? __netdev_printk+0x17f/0x1d0 [ 31.263797][ T328] netdev_info+0xe2/0x116 [ 31.263800][ T328] ? netdev_notice+0x120/0x120 [ 31.263804][ T328] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 31.263806][ T328] ? lockdep_hardirqs_on+0x91/0x130 [ 31.263808][ T328] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 31.263810][ T328] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 31.263812][ T328] ? kvfree_call_rcu+0x23b/0x2e0 [ 31.263817][ T328] team_port_del+0x61d/0xaa0 [ 31.263824][ T328] do_set_master+0x15c/0x780 [ 31.263828][ T328] do_setlink.isra.0+0x9ec/0x2a60 [ 31.263831][ T328] ? stack_trace_save+0x93/0xc0 [ 31.263835][ T328] ? rtnl_link_get_size+0x350/0x350 [ 31.263836][ T328] ? rcu_read_lock_any_held+0x66/0x90 [ 31.263838][ T328] ? stack_depot_save_flags+0x38e/0x790 [ 31.263841][ T328] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.263843][ T328] ? rcu_read_lock_any_held+0x3c/0x90 [ 31.263845][ T328] ? validate_chain+0x38b/0xc20 [ 31.263848][ T328] ? kasan_save_stack+0x3d/0x50 [ 31.263850][ T328] ? kasan_save_stack+0x2f/0x50 [ 31.263851][ T328] ? kasan_save_track+0x14/0x30 [ 31.263854][ T328] ? __lock_acquire+0x518/0xc20 [ 31.263856][ T328] ? netlink_seq_next+0x5e/0x60 [ 31.263859][ T328] ? ___sys_sendmsg+0xc0/0x1d0 [ 31.263863][ T328] ? lock_acquire.part.0+0xd4/0x280 [ 31.263865][ T328] ? rtnl_newlink+0x9a8/0x11b0 [ 31.263868][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.263870][ T328] ? lock_acquire+0x13c/0x160 [ 31.263872][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.263873][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.263875][ T328] ? trace_contention_end+0xb3/0x180 [ 31.263880][ T328] ? __mutex_lock+0x1db/0x1ea0 [ 31.263882][ T328] ? __mutex_lock+0x9a3/0x1ea0 [ 31.263884][ T328] ? rtnl_newlink+0x9a8/0x11b0 [ 31.263887][ T328] ? ww_mutex_lock+0x160/0x160 [ 31.263889][ T328] ? nla_get_range_signed+0x3d0/0x3d0 [ 31.263895][ T328] ? __rtnl_newlink+0x3fa/0xa50 [ 31.263901][ T328] rtnl_newlink+0x9f1/0x11b0 [ 31.263906][ T328] ? rtnl_bridge_getlink+0x850/0x850 [ 31.263909][ T328] ? __lock_acquire+0x518/0xc20 [ 31.263913][ T328] ? lock_acquire.part.0+0xd4/0x280 [ 31.263916][ T328] ? find_held_lock+0x2b/0x80 [ 31.263918][ T328] ? rtnl_bridge_getlink+0x850/0x850 [ 31.263920][ T328] ? __lock_release.isra.0+0x69/0x1a0 [ 31.263924][ T328] ? rtnl_bridge_getlink+0x850/0x850 [ 31.263926][ T328] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 31.263930][ T328] ? rtnl_link_fill+0x900/0x900 [ 31.263931][ T328] ? __lock_acquire+0x518/0xc20 [ 31.263936][ T328] ? lock_acquire.part.0+0xd4/0x280 [ 31.263938][ T328] ? find_held_lock+0x2b/0x80 [ 31.263942][ T328] netlink_rcv_skb+0x14e/0x3a0 [ 31.263944][ T328] ? rtnl_link_fill+0x900/0x900 [ 31.263947][ T328] ? netlink_ack+0xcd0/0xcd0 [ 31.263953][ T328] ? netlink_deliver_tap+0xc5/0x330 [ 31.263954][ T328] ? netlink_deliver_tap+0x13c/0x330 [ 31.263959][ T328] netlink_unicast+0x486/0x750 [ 31.263962][ T328] ? netlink_attachskb+0x810/0x810 [ 31.263965][ T328] ? __lock_acquire+0x518/0xc20 [ 31.263969][ T328] netlink_sendmsg+0x735/0xc60 [ 31.263973][ T328] ? netlink_unicast+0x750/0x750 [ 31.263977][ T328] ? __might_fault+0x97/0x140 [ 31.263982][ T328] ____sys_sendmsg+0x415/0x880 [ 31.263984][ T328] ? copy_msghdr_from_user+0x279/0x420 [ 31.263986][ T328] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 31.263987][ T328] ? move_addr_to_kernel+0x40/0x40 [ 31.263994][ T328] ___sys_sendmsg+0x14e/0x1d0 [ 31.263997][ T328] ? copy_msghdr_from_user+0x420/0x420 [ 31.264012][ T328] __sys_sendmsg+0x12c/0x1d0 [ 31.264015][ T328] ? __sys_sendmsg_sock+0x20/0x20 [ 31.264021][ T328] ? rcu_is_watching+0x16/0xd0 [ 31.264024][ T328] do_syscall_64+0xff/0x530 [ 31.264026][ T328] ? exc_page_fault+0xee/0x100 [ 31.264028][ T328] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.264031][ T328] RIP: 0033:0x7f55557bd54e [ 31.264035][ 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.264037][ T328] RSP: 002b:00007ffd85771d30 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 31.264040][ T328] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f55557bd54e [ 31.264041][ T328] RDX: 0000000000000000 RSI: 00007ffd85771de0 RDI: 0000000000000005 [ 31.264042][ T328] RBP: 00007ffd85771d40 R08: 0000000000000000 R09: 0000000000000000 [ 31.264043][ T328] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a915d82 [ 31.264044][ T328] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffd857724b0 [ 31.264050][ T328] [ 31.439688][ T332] test_team1: Mode changed to "roundrobin" [ 31.467078][ T333] test_team1: Port device eth0 added [ 32.160905][ T340] eth0: entered promiscuous mode [ 34.605819][ T340] eth0: left promiscuous mode [ 34.605839][ T340] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.605842][ T340] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 340, name: tcpdump [ 34.605843][ T340] preempt_count: 1, expected: 0 [ 34.605844][ T340] RCU nest depth: 0, expected: 0 [ 34.605845][ T340] locks held by tcpdump/340: 6, last CPU#3: [ 34.605848][ T340] #0: ff1100000bb221b8 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 34.605861][ T340] #1: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 34.605867][ T340] #2: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.605873][ T340] #3: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.605876][ T340] #4: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.605879][ T340] #5: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 34.605883][ T340] irq event stamp: 57690 [ 34.605884][ T340] hardirqs last enabled at (57689): [] __down_trylock_console_sem+0x86/0xa0 [ 34.605887][ T340] hardirqs last disabled at (57690): [] console_emit_next_record+0x3f8/0x4f0 [ 34.605889][ T340] softirqs last enabled at (57538): [] packet_setsockopt+0xcdf/0x21e0 [ 34.605892][ T340] softirqs last disabled at (57536): [] release_sock+0x21/0x240 [ 34.605895][ T340] Preemption disabled at: [ 34.605895][ T340] [] vprintk_emit+0x31b/0x3e0 [ 34.605901][ T340] CPU: 3 UID: 72 PID: 340 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.605904][ T340] Tainted: [W]=WARN [ 34.605905][ T340] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.605907][ T340] Call Trace: [ 34.605909][ T340] [ 34.605910][ T340] dump_stack_lvl+0x6f/0xa0 [ 34.605915][ T340] ? vprintk_emit+0x31b/0x3e0 [ 34.605917][ T340] __might_resched.cold+0x1fe/0x2c1 [ 34.605922][ T340] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.605926][ T340] ? __kmalloc_noprof+0xdb/0x760 [ 34.605931][ T340] __kmalloc_noprof+0x443/0x760 [ 34.605934][ T340] ? alloc_buf.isra.0+0x4b/0x260 [ 34.605940][ T340] ? do_raw_spin_unlock+0x59/0x250 [ 34.605942][ T340] alloc_buf.isra.0+0x4b/0x260 [ 34.605946][ T340] put_chars+0x1e1/0x2f0 [ 34.605949][ T340] ? __send_to_port+0x420/0x420 [ 34.605953][ T340] ? validate_chain+0x38b/0xc20 [ 34.605959][ T340] hvc_console_print+0x292/0x780 [ 34.605966][ T340] ? hvc_write+0x3a0/0x3a0 [ 34.605969][ T340] ? rcu_is_watching+0x16/0xd0 [ 34.605973][ T340] ? lock_acquire+0x13c/0x160 [ 34.605977][ T340] console_emit_next_record+0x252/0x4f0 [ 34.605981][ T340] ? devkmsg_read+0x4e0/0x4e0 [ 34.605985][ T340] ? rcu_is_watching+0x16/0xd0 [ 34.605987][ T340] ? lock_acquire+0x13c/0x160 [ 34.605991][ T340] console_flush_one_record+0x46f/0x710 [ 34.605995][ T340] ? console_emit_next_record+0x4f0/0x4f0 [ 34.605996][ T340] ? __lock_acquire+0x518/0xc20 [ 34.606003][ T340] console_unlock+0xee/0x1f0 [ 34.606005][ T340] ? console_flush_one_record+0x710/0x710 [ 34.606007][ T340] ? rcu_is_watching+0x16/0xd0 [ 34.606009][ T340] ? lock_acquire+0x60/0x160 [ 34.606013][ T340] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.606015][ T340] ? vprintk_emit+0x320/0x3e0 [ 34.606018][ T340] vprintk_emit+0x37c/0x3e0 [ 34.606021][ T340] ? wake_up_klogd_work_func+0x90/0x90 [ 34.606025][ T340] ? __lock_acquire+0x518/0xc20 [ 34.606028][ T340] _printk+0xc7/0x100 [ 34.606032][ T340] ? snapshot_read.cold+0x21/0x21 [ 34.606034][ T340] ? lock_acquire.part.0+0xd4/0x280 [ 34.606038][ T340] ? rcu_is_watching+0x16/0xd0 [ 34.606040][ T340] ? netdev_name+0x43/0x60 [ 34.606043][ T340] ? __netdev_printk+0x17f/0x1d0 [ 34.606046][ T340] netdev_info+0xe2/0x116 [ 34.606049][ T340] ? netdev_notice+0x120/0x120 [ 34.606050][ T340] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 34.606053][ T340] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 34.606057][ T340] ? ww_mutex_lock+0x160/0x160 [ 34.606059][ T340] ? lock_acquire.part.0+0xd4/0x280 [ 34.606062][ T340] ? ref_tracker_alloc+0x430/0x430 [ 34.606065][ T340] ? packet_release+0x363/0xc40 [ 34.606067][ T340] ? __fput+0x363/0xac0 [ 34.606070][ T340] ? mutex_is_locked+0x1c/0x50 [ 34.606073][ T340] __dev_set_promiscuity.cold+0x7a/0x104 [ 34.606078][ T340] netif_set_promiscuity+0x4c/0xc0 [ 34.606083][ T340] dev_set_promiscuity+0xa1/0x230 [ 34.606086][ T340] packet_release+0x4cb/0xc40 [ 34.606091][ T340] ? packet_set_ring+0x1740/0x1740 [ 34.606094][ T340] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 34.606099][ T340] __sock_release+0xb8/0x280 [ 34.606103][ T340] sock_close+0x18/0x20 [ 34.606105][ T340] __fput+0x363/0xac0 [ 34.606110][ T340] fput_close_sync+0xde/0x1b0 [ 34.606113][ T340] ? alloc_file_clone+0xe0/0xe0 [ 34.606115][ T340] ? do_raw_spin_unlock+0x59/0x250 [ 34.606119][ T340] __x64_sys_close+0x8b/0xf0 [ 34.606122][ T340] do_syscall_64+0xff/0x530 [ 34.606124][ T340] ? exc_page_fault+0xee/0x100 [ 34.606127][ T340] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.606129][ T340] RIP: 0033:0x7f581c20354e [ 34.606133][ T340] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 34.606135][ T340] RSP: 002b:00007ffd40a9edb0 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 34.606138][ T340] RAX: ffffffffffffffda RBX: 000055a721f07690 RCX: 00007f581c20354e [ 34.606139][ T340] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 34.606140][ T340] RBP: 00007ffd40a9edc0 R08: 0000000000000000 R09: 0000000000000000 [ 34.606140][ T340] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 34.606141][ T340] R13: 00000000fffffffe R14: 000055a6f4d20760 R15: 0000000000000001 [ 34.606148][ T340] [ 36.312258][ T354] test_team1: Port device eth0 removed [ 36.312278][ T354] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 36.312281][ T354] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 354, name: ip [ 36.312283][ T354] preempt_count: 1, expected: 0 [ 36.312284][ T354] RCU nest depth: 0, expected: 0 [ 36.312285][ T354] locks held by ip/354: 5, last CPU#2: [ 36.312289][ T354] #0: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x9a8/0x11b0 [ 36.312302][ T354] #1: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 36.312308][ T354] #2: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 36.312312][ T354] #3: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 36.312315][ T354] #4: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 36.312319][ T354] irq event stamp: 22948 [ 36.312319][ T354] hardirqs last enabled at (22947): [] __down_trylock_console_sem+0x86/0xa0 [ 36.312323][ T354] hardirqs last disabled at (22948): [] console_emit_next_record+0x3f8/0x4f0 [ 36.312324][ T354] softirqs last enabled at (22934): [] fib6_run_gc+0x162/0x250 [ 36.312327][ T354] softirqs last disabled at (22928): [] fib6_run_gc+0x1ac/0x250 [ 36.312329][ T354] Preemption disabled at: [ 36.312330][ T354] [] vprintk_emit+0x31b/0x3e0 [ 36.312335][ T354] CPU: 2 UID: 0 PID: 354 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 36.312339][ T354] Tainted: [W]=WARN [ 36.312340][ T354] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 36.312341][ T354] Call Trace: [ 36.312343][ T354] [ 36.312345][ T354] dump_stack_lvl+0x6f/0xa0 [ 36.312350][ T354] ? vprintk_emit+0x31b/0x3e0 [ 36.312352][ T354] __might_resched.cold+0x1fe/0x2c1 [ 36.312356][ T354] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 36.312360][ T354] ? __kmalloc_noprof+0xdb/0x760 [ 36.312366][ T354] __kmalloc_noprof+0x443/0x760 [ 36.312368][ T354] ? alloc_buf.isra.0+0x4b/0x260 [ 36.312375][ T354] ? do_raw_spin_unlock+0x59/0x250 [ 36.312377][ T354] alloc_buf.isra.0+0x4b/0x260 [ 36.312380][ T354] put_chars+0x1e1/0x2f0 [ 36.312383][ T354] ? __send_to_port+0x420/0x420 [ 36.312387][ T354] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.312391][ T354] ? rcu_read_lock_any_held+0x3c/0x90 [ 36.312394][ T354] ? validate_chain+0x38b/0xc20 [ 36.312398][ T354] hvc_console_print+0x292/0x780 [ 36.312402][ T354] ? mark_usage+0x61/0x170 [ 36.312404][ T354] ? __lock_acquire+0x518/0xc20 [ 36.312406][ T354] ? __lock_acquire+0x518/0xc20 [ 36.312410][ T354] ? hvc_write+0x3a0/0x3a0 [ 36.312413][ T354] ? console_emit_next_record+0x202/0x4f0 [ 36.312415][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.312417][ T354] ? lock_acquire+0x13c/0x160 [ 36.312421][ T354] console_emit_next_record+0x252/0x4f0 [ 36.312430][ T354] ? devkmsg_read+0x4e0/0x4e0 [ 36.312434][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.312436][ T354] ? lock_acquire+0x13c/0x160 [ 36.312440][ T354] console_flush_one_record+0x46f/0x710 [ 36.312443][ T354] ? console_emit_next_record+0x4f0/0x4f0 [ 36.312445][ T354] ? __lock_acquire+0x518/0xc20 [ 36.312450][ T354] console_unlock+0xee/0x1f0 [ 36.312452][ T354] ? console_flush_one_record+0x710/0x710 [ 36.312454][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.312456][ T354] ? lock_acquire+0x60/0x160 [ 36.312460][ T354] ? __down_trylock_console_sem+0x5e/0xa0 [ 36.312461][ T354] ? vprintk_emit+0x320/0x3e0 [ 36.312464][ T354] vprintk_emit+0x37c/0x3e0 [ 36.312468][ T354] ? wake_up_klogd_work_func+0x90/0x90 [ 36.312469][ T354] ? rtnl_newlink+0x9f1/0x11b0 [ 36.312471][ T354] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.312473][ T354] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.312474][ T354] ? look_up_lock_class+0x65/0x150 [ 36.312478][ T354] ? rcu_read_lock_any_held+0x3c/0x90 [ 36.312481][ T354] _printk+0xc7/0x100 [ 36.312485][ T354] ? snapshot_read.cold+0x21/0x21 [ 36.312488][ T354] ? __lock_acquire+0x518/0xc20 [ 36.312491][ T354] ? netdev_name+0x43/0x60 [ 36.312495][ T354] ? __netdev_printk+0x17f/0x1d0 [ 36.312498][ T354] netdev_info+0xe2/0x116 [ 36.312500][ T354] ? netdev_notice+0x120/0x120 [ 36.312504][ T354] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 36.312506][ T354] ? lockdep_hardirqs_on+0x91/0x130 [ 36.312508][ T354] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 36.312511][ T354] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 36.312513][ T354] ? kvfree_call_rcu+0x23b/0x2e0 [ 36.312518][ T354] team_port_del+0x61d/0xaa0 [ 36.312524][ T354] do_set_master+0x15c/0x780 [ 36.312528][ T354] do_setlink.isra.0+0x9ec/0x2a60 [ 36.312532][ T354] ? stack_trace_save+0x93/0xc0 [ 36.312535][ T354] ? rtnl_link_get_size+0x350/0x350 [ 36.312537][ T354] ? rcu_read_lock_any_held+0x66/0x90 [ 36.312539][ T354] ? stack_depot_save_flags+0x38e/0x790 [ 36.312542][ T354] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 36.312544][ T354] ? rcu_read_lock_any_held+0x3c/0x90 [ 36.312546][ T354] ? validate_chain+0x38b/0xc20 [ 36.312549][ T354] ? kasan_save_stack+0x3d/0x50 [ 36.312552][ T354] ? kasan_save_stack+0x2f/0x50 [ 36.312553][ T354] ? kasan_save_track+0x14/0x30 [ 36.312555][ T354] ? __lock_acquire+0x518/0xc20 [ 36.312557][ T354] ? netlink_seq_next+0x5e/0x60 [ 36.312560][ T354] ? ___sys_sendmsg+0xc0/0x1d0 [ 36.312565][ T354] ? lock_acquire.part.0+0xd4/0x280 [ 36.312567][ T354] ? rtnl_newlink+0x9a8/0x11b0 [ 36.312570][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.312572][ T354] ? lock_acquire+0x13c/0x160 [ 36.312574][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.312575][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.312577][ T354] ? trace_contention_end+0xb3/0x180 [ 36.312579][ T354] ? __mutex_lock+0x1db/0x1ea0 [ 36.312581][ T354] ? __mutex_lock+0x9a3/0x1ea0 [ 36.312583][ T354] ? rtnl_newlink+0x9a8/0x11b0 [ 36.312586][ T354] ? ww_mutex_lock+0x160/0x160 [ 36.312588][ T354] ? nla_get_range_signed+0x3d0/0x3d0 [ 36.312594][ T354] ? __rtnl_newlink+0x3fa/0xa50 [ 36.312600][ T354] rtnl_newlink+0x9f1/0x11b0 [ 36.312605][ T354] ? rtnl_bridge_getlink+0x850/0x850 [ 36.312607][ T354] ? __lock_acquire+0x518/0xc20 [ 36.312612][ T354] ? lock_acquire.part.0+0xd4/0x280 [ 36.312614][ T354] ? find_held_lock+0x2b/0x80 [ 36.312616][ T354] ? rtnl_bridge_getlink+0x850/0x850 [ 36.312619][ T354] ? __lock_release.isra.0+0x69/0x1a0 [ 36.312622][ T354] ? rtnl_bridge_getlink+0x850/0x850 [ 36.312625][ T354] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 36.312628][ T354] ? rtnl_link_fill+0x900/0x900 [ 36.312630][ T354] ? __lock_acquire+0x518/0xc20 [ 36.312635][ T354] ? lock_acquire.part.0+0xd4/0x280 [ 36.312637][ T354] ? find_held_lock+0x2b/0x80 [ 36.312640][ T354] netlink_rcv_skb+0x14e/0x3a0 [ 36.312642][ T354] ? rtnl_link_fill+0x900/0x900 [ 36.312645][ T354] ? netlink_ack+0xcd0/0xcd0 [ 36.312651][ T354] ? netlink_deliver_tap+0xc5/0x330 [ 36.312653][ T354] ? netlink_deliver_tap+0x13c/0x330 [ 36.312657][ T354] netlink_unicast+0x486/0x750 [ 36.312661][ T354] ? netlink_attachskb+0x810/0x810 [ 36.312663][ T354] ? __lock_acquire+0x518/0xc20 [ 36.312667][ T354] netlink_sendmsg+0x735/0xc60 [ 36.312671][ T354] ? netlink_unicast+0x750/0x750 [ 36.312675][ T354] ? __might_fault+0x97/0x140 [ 36.312681][ T354] ____sys_sendmsg+0x415/0x880 [ 36.312683][ T354] ? copy_msghdr_from_user+0x279/0x420 [ 36.312685][ T354] ? get_timestamp.constprop.0+0x3a0/0x3a0 [ 36.312686][ T354] ? move_addr_to_kernel+0x40/0x40 [ 36.312693][ T354] ___sys_sendmsg+0x14e/0x1d0 [ 36.312696][ T354] ? copy_msghdr_from_user+0x420/0x420 [ 36.312710][ T354] __sys_sendmsg+0x12c/0x1d0 [ 36.312713][ T354] ? __sys_sendmsg_sock+0x20/0x20 [ 36.312719][ T354] ? rcu_is_watching+0x16/0xd0 [ 36.312722][ T354] do_syscall_64+0xff/0x530 [ 36.312724][ T354] ? exc_page_fault+0xee/0x100 [ 36.312726][ T354] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 36.312729][ T354] RIP: 0033:0x7f35bcf0654e [ 36.312733][ T354] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 36.312734][ T354] RSP: 002b:00007ffce4c556f0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e [ 36.312737][ T354] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f35bcf0654e [ 36.312738][ T354] RDX: 0000000000000000 RSI: 00007ffce4c557a0 RDI: 0000000000000005 [ 36.312739][ T354] RBP: 00007ffce4c55700 R08: 0000000000000000 R09: 0000000000000000 [ 36.312740][ T354] R10: 0000000000000000 R11: 0000000000000202 R12: 000000006a915d87 [ 36.312741][ T354] R13: 00000000004a1620 R14: 0000000000000000 R15: 00007ffce4c55e70 [ 36.312747][ T354] [ 36.484026][ T357] test_team1: Mode changed to "random" [ 36.524068][ T358] test_team1: Port device eth0 added [ 37.238930][ T365] eth0: entered promiscuous mode [ 39.652782][ T365] eth0: left promiscuous mode [ 39.652800][ T365] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 39.652803][ T365] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 365, name: tcpdump [ 39.652805][ T365] preempt_count: 1, expected: 0 [ 39.652805][ T365] RCU nest depth: 0, expected: 0 [ 39.652807][ T365] locks held by tcpdump/365: 6, last CPU#3: [ 39.652809][ T365] #0: ff1100000a100278 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release+0x8f/0x280 [ 39.652822][ T365] #1: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: packet_release+0x3fb/0xc40 [ 39.652828][ T365] #2: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 39.652834][ T365] #3: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 39.652837][ T365] #4: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 39.652840][ T365] #5: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 39.652844][ T365] irq event stamp: 59492 [ 39.652844][ T365] hardirqs last enabled at (59491): [] __down_trylock_console_sem+0x86/0xa0 [ 39.652848][ T365] hardirqs last disabled at (59492): [] console_emit_next_record+0x3f8/0x4f0 [ 39.652849][ T365] softirqs last enabled at (59342): [] packet_setsockopt+0xcdf/0x21e0 [ 39.652851][ T365] softirqs last disabled at (59340): [] release_sock+0x21/0x240 [ 39.652855][ T365] Preemption disabled at: [ 39.652855][ T365] [] vprintk_emit+0x31b/0x3e0 [ 39.652861][ T365] CPU: 3 UID: 72 PID: 365 Comm: tcpdump Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 39.652864][ T365] Tainted: [W]=WARN [ 39.652865][ T365] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.652867][ T365] Call Trace: [ 39.652868][ T365] [ 39.652870][ T365] dump_stack_lvl+0x6f/0xa0 [ 39.652875][ T365] ? vprintk_emit+0x31b/0x3e0 [ 39.652877][ T365] __might_resched.cold+0x1fe/0x2c1 [ 39.652881][ T365] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 39.652885][ T365] ? __kmalloc_noprof+0xdb/0x760 [ 39.652890][ T365] __kmalloc_noprof+0x443/0x760 [ 39.652893][ T365] ? alloc_buf.isra.0+0x4b/0x260 [ 39.652899][ T365] ? do_raw_spin_unlock+0x59/0x250 [ 39.652901][ T365] alloc_buf.isra.0+0x4b/0x260 [ 39.652905][ T365] put_chars+0x1e1/0x2f0 [ 39.652908][ T365] ? __send_to_port+0x420/0x420 [ 39.652912][ T365] ? validate_chain+0x38b/0xc20 [ 39.652918][ T365] hvc_console_print+0x292/0x780 [ 39.652925][ T365] ? hvc_write+0x3a0/0x3a0 [ 39.652928][ T365] ? rcu_is_watching+0x16/0xd0 [ 39.652932][ T365] ? lock_acquire+0x13c/0x160 [ 39.652936][ T365] console_emit_next_record+0x252/0x4f0 [ 39.652939][ T365] ? devkmsg_read+0x4e0/0x4e0 [ 39.652943][ T365] ? rcu_is_watching+0x16/0xd0 [ 39.652945][ T365] ? lock_acquire+0x13c/0x160 [ 39.652949][ T365] console_flush_one_record+0x46f/0x710 [ 39.652953][ T365] ? console_emit_next_record+0x4f0/0x4f0 [ 39.652955][ T365] ? __lock_acquire+0x518/0xc20 [ 39.652960][ T365] console_unlock+0xee/0x1f0 [ 39.652962][ T365] ? console_flush_one_record+0x710/0x710 [ 39.652964][ T365] ? rcu_is_watching+0x16/0xd0 [ 39.652966][ T365] ? lock_acquire+0x60/0x160 [ 39.652969][ T365] ? __down_trylock_console_sem+0x5e/0xa0 [ 39.652971][ T365] ? vprintk_emit+0x320/0x3e0 [ 39.652974][ T365] vprintk_emit+0x37c/0x3e0 [ 39.652977][ T365] ? wake_up_klogd_work_func+0x90/0x90 [ 39.652981][ T365] ? __lock_acquire+0x518/0xc20 [ 39.652984][ T365] _printk+0xc7/0x100 [ 39.652988][ T365] ? snapshot_read.cold+0x21/0x21 [ 39.652990][ T365] ? lock_acquire.part.0+0xd4/0x280 [ 39.652993][ T365] ? rcu_is_watching+0x16/0xd0 [ 39.652995][ T365] ? netdev_name+0x43/0x60 [ 39.652999][ T365] ? __netdev_printk+0x17f/0x1d0 [ 39.653002][ T365] netdev_info+0xe2/0x116 [ 39.653005][ T365] ? netdev_notice+0x120/0x120 [ 39.653006][ T365] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 39.653008][ T365] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 39.653013][ T365] ? ww_mutex_lock+0x160/0x160 [ 39.653015][ T365] ? lock_acquire.part.0+0xd4/0x280 [ 39.653017][ T365] ? ref_tracker_alloc+0x430/0x430 [ 39.653020][ T365] ? packet_release+0x363/0xc40 [ 39.653022][ T365] ? __fput+0x363/0xac0 [ 39.653025][ T365] ? mutex_is_locked+0x1c/0x50 [ 39.653028][ T365] __dev_set_promiscuity.cold+0x7a/0x104 [ 39.653032][ T365] netif_set_promiscuity+0x4c/0xc0 [ 39.653037][ T365] dev_set_promiscuity+0xa1/0x230 [ 39.653041][ T365] packet_release+0x4cb/0xc40 [ 39.653045][ T365] ? packet_set_ring+0x1740/0x1740 [ 39.653048][ T365] ? rwsem_down_write_slowpath+0xbe0/0xbe0 [ 39.653053][ T365] __sock_release+0xb8/0x280 [ 39.653056][ T365] sock_close+0x18/0x20 [ 39.653059][ T365] __fput+0x363/0xac0 [ 39.653063][ T365] fput_close_sync+0xde/0x1b0 [ 39.653066][ T365] ? alloc_file_clone+0xe0/0xe0 [ 39.653068][ T365] ? do_raw_spin_unlock+0x59/0x250 [ 39.653072][ T365] __x64_sys_close+0x8b/0xf0 [ 39.653075][ T365] do_syscall_64+0xff/0x530 [ 39.653077][ T365] ? exc_page_fault+0xee/0x100 [ 39.653080][ T365] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 39.653082][ T365] RIP: 0033:0x7fee811bd54e [ 39.653086][ T365] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 39.653088][ T365] RSP: 002b:00007ffd12fc1780 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 [ 39.653091][ T365] RAX: ffffffffffffffda RBX: 000055bd39945690 RCX: 00007fee811bd54e [ 39.653092][ T365] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 39.653093][ T365] RBP: 00007ffd12fc1790 R08: 0000000000000000 R09: 0000000000000000 [ 39.653094][ T365] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 [ 39.653095][ T365] R13: 00000000fffffffe R14: 000055bd098e8760 R15: 0000000000000001 [ 39.653101][ T365] [ 41.441913][ T12] test_team1 (unregistering): Port device eth0 removed [ 41.441983][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 41.441986][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 41.441988][ T12] preempt_count: 1, expected: 0 [ 41.441990][ T12] RCU nest depth: 0, expected: 0 [ 41.441991][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 41.441994][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 41.442010][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 41.442015][ T12] #2: ffffffff95b06b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 41.442023][ T12] #3: ffffffff95b22700 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 41.442030][ T12] #4: ffffffff95399cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 41.442036][ T12] #5: ffffffff95399d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 41.442042][ T12] #6: ffffffff95289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 41.442047][ T12] #7: ffffffff95289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 41.442053][ T12] irq event stamp: 21862 [ 41.442054][ T12] hardirqs last enabled at (21861): [] __down_trylock_console_sem+0x86/0xa0 [ 41.442058][ T12] hardirqs last disabled at (21862): [] console_emit_next_record+0x3f8/0x4f0 [ 41.442061][ T12] softirqs last enabled at (21846): [] fib6_run_gc+0x162/0x250 [ 41.442065][ T12] softirqs last disabled at (21840): [] fib6_run_gc+0x1ac/0x250 [ 41.442068][ T12] Preemption disabled at: [ 41.442069][ T12] [] vprintk_emit+0x31b/0x3e0 [ 41.442076][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 41.442080][ T12] Tainted: [W]=WARN [ 41.442082][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 41.442084][ T12] Workqueue: netns cleanup_net [ 41.442088][ T12] Call Trace: [ 41.442090][ T12] [ 41.442094][ T12] dump_stack_lvl+0x6f/0xa0 [ 41.442100][ T12] ? vprintk_emit+0x31b/0x3e0 [ 41.442103][ T12] __might_resched.cold+0x1fe/0x2c1 [ 41.442110][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 41.442115][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 41.442123][ T12] __kmalloc_noprof+0x443/0x760 [ 41.442127][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 41.442137][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 41.442140][ T12] alloc_buf.isra.0+0x4b/0x260 [ 41.442146][ T12] put_chars+0x1e1/0x2f0 [ 41.442151][ T12] ? __send_to_port+0x420/0x420 [ 41.442154][ T12] ? check_prev_add+0xef/0xe90 [ 41.442161][ T12] ? validate_chain+0x34a/0xc20 [ 41.442169][ T12] hvc_console_print+0x292/0x780 [ 41.442173][ T12] ? mark_usage+0x61/0x170 [ 41.442177][ T12] ? __lock_acquire+0x518/0xc20 [ 41.442179][ T12] ? __lock_acquire+0x518/0xc20 [ 41.442187][ T12] ? hvc_write+0x3a0/0x3a0 [ 41.442189][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 41.442197][ T12] ? lock_acquire+0x13c/0x160 [ 41.442205][ T12] console_emit_next_record+0x252/0x4f0 [ 41.442211][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 41.442218][ T12] ? rcu_is_watching+0x16/0xd0 [ 41.442223][ T12] ? lock_acquire+0x13c/0x160 [ 41.442231][ T12] console_flush_one_record+0x46f/0x710 [ 41.442237][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 41.442240][ T12] ? __lock_acquire+0x518/0xc20 [ 41.442250][ T12] console_unlock+0xee/0x1f0 [ 41.442254][ T12] ? console_flush_one_record+0x710/0x710 [ 41.442256][ T12] ? rcu_is_watching+0x16/0xd0 [ 41.442259][ T12] ? lock_acquire+0x60/0x160 [ 41.442266][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 41.442269][ T12] ? vprintk_emit+0x320/0x3e0 [ 41.442274][ T12] vprintk_emit+0x37c/0x3e0 [ 41.442280][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 41.442283][ T12] ? default_device_exit_batch+0x38b/0x600 [ 41.442289][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.442292][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 41.442295][ T12] ? look_up_lock_class+0x65/0x150 [ 41.442299][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 41.442308][ T12] _printk+0xc7/0x100 [ 41.442313][ T12] ? snapshot_read.cold+0x21/0x21 [ 41.442320][ T12] ? __lock_acquire+0x518/0xc20 [ 41.442325][ T12] ? netdev_name+0x43/0x60 [ 41.442330][ T12] ? __netdev_printk+0x17f/0x1d0 [ 41.442337][ T12] netdev_info+0xe2/0x116 [ 41.442341][ T12] ? netdev_notice+0x120/0x120 [ 41.442351][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 41.442354][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 41.442357][ T12] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 41.442361][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 41.442365][ T12] ? kvfree_call_rcu+0x23b/0x2e0 [ 41.442373][ T12] team_port_del+0x61d/0xaa0 [ 41.442385][ T12] team_uninit+0xc4/0x1f0 [ 41.442391][ T12] unregister_netdevice_many_notify+0xee7/0x1b40 [ 41.442402][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 41.442418][ T12] default_device_exit_batch+0x38b/0x600 [ 41.442423][ T12] ? generic_xdp_install+0x470/0x470 [ 41.442428][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 41.442432][ T12] ? rtnl_is_locked+0x15/0x20 [ 41.442436][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 41.442450][ T12] ops_undo_list+0x2ce/0x8f0 [ 41.442456][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 41.442460][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 41.442463][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 41.442469][ T12] ? idr_destroy+0x121/0x250 [ 41.442477][ T12] cleanup_net+0x431/0x890 [ 41.442483][ T12] ? net_passive_dec+0x230/0x230 [ 41.442490][ T12] ? lock_acquire+0x13c/0x160 [ 41.442493][ T12] ? rcu_is_watching+0x16/0xd0 [ 41.442500][ T12] process_one_work+0xe3e/0x1560 [ 41.442513][ T12] ? __queue_delayed_work+0x470/0x470 [ 41.442517][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 41.442532][ T12] worker_thread+0x4f1/0xd60 [ 41.442544][ T12] ? rescuer_thread+0x1340/0x1340 [ 41.442546][ T12] kthread+0x367/0x460 [ 41.442550][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 41.442554][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.442560][ T12] ret_from_fork+0x474/0x6b0 [ 41.442566][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 41.442570][ T12] ? __switch_to+0x5a3/0xe00 [ 41.442575][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 41.442579][ T12] ret_from_fork_asm+0x11/0x20 [ 41.442592][ T12] [ 41.513866][ T12] test_team2: Port device eth0 removed