[ 9.096003][ T181] ip (181) used greatest stack depth: 24344 bytes left [ 9.096022][ T181] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.096024][ T181] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 181, name: ip [ 9.096025][ T181] preempt_count: 2, expected: 0 [ 9.096026][ T181] RCU nest depth: 0, expected: 0 [ 9.096027][ T181] locks held by ip/181: 5, last CPU#2: [ 9.096029][ T181] #0: ffffffff85c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.096041][ T181] #1: ffffffff85d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.096046][ T181] #2: ffffffff85d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.096049][ T181] #3: ffffffff85c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.096052][ T181] #4: ffffffff85c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 9.096055][ T181] irq event stamp: 28150 [ 9.096056][ T181] hardirqs last enabled at (28149): [] __down_trylock_console_sem+0x86/0xa0 [ 9.096059][ T181] hardirqs last disabled at (28150): [] console_emit_next_record+0x3f8/0x4f0 [ 9.096061][ T181] softirqs last enabled at (27600): [] handle_softirqs+0x67c/0x900 [ 9.096063][ T181] softirqs last disabled at (27595): [] __irq_exit_rcu+0x145/0x1c0 [ 9.096065][ T181] Preemption disabled at: [ 9.096066][ T181] [<0000000000000000>] 0x0 [ 9.096073][ T181] CPU: 2 UID: 0 PID: 181 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.096077][ T181] Tainted: [W]=WARN [ 9.096077][ T181] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.096079][ T181] Call Trace: [ 9.096081][ T181] [ 9.096083][ T181] dump_stack_lvl+0x6f/0xa0 [ 9.096088][ T181] __might_resched.cold+0x1fe/0x2c1 [ 9.096093][ T181] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.096096][ T181] ? __kmalloc_noprof+0xdb/0x760 [ 9.096101][ T181] __kmalloc_noprof+0x443/0x760 [ 9.096104][ T181] ? alloc_buf.isra.0+0x4b/0x260 [ 9.096110][ T181] ? do_raw_spin_unlock+0x59/0x250 [ 9.096112][ T181] alloc_buf.isra.0+0x4b/0x260 [ 9.096115][ T181] put_chars+0x1e1/0x2f0 [ 9.096119][ T181] ? __send_to_port+0x420/0x420 [ 9.096121][ T181] ? printk_get_next_message+0x2fe/0x7d0 [ 9.096123][ T181] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.096127][ T181] ? validate_chain+0x38b/0xc20 [ 9.096132][ T181] hvc_console_print+0x292/0x780 [ 9.096136][ T181] ? __lock_acquire+0x518/0xc20 [ 9.096138][ T181] ? __lock_acquire+0x518/0xc20 [ 9.096142][ T181] ? hvc_write+0x3a0/0x3a0 [ 9.096145][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.096148][ T181] ? lock_acquire+0x13c/0x160 [ 9.096152][ T181] console_emit_next_record+0x252/0x4f0 [ 9.096155][ T181] ? devkmsg_read+0x4e0/0x4e0 [ 9.096159][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.096161][ T181] ? lock_acquire+0x13c/0x160 [ 9.096165][ T181] console_flush_one_record+0x46f/0x710 [ 9.096169][ T181] ? console_emit_next_record+0x4f0/0x4f0 [ 9.096170][ T181] ? __lock_acquire+0x518/0xc20 [ 9.096175][ T181] console_unlock+0xee/0x1f0 [ 9.096178][ T181] ? console_flush_one_record+0x710/0x710 [ 9.096179][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.096181][ T181] ? lock_acquire+0x60/0x160 [ 9.096185][ T181] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.096187][ T181] ? vprintk_emit+0x320/0x3e0 [ 9.096189][ T181] vprintk_emit+0x37c/0x3e0 [ 9.096192][ T181] ? wake_up_klogd_work_func+0x90/0x90 [ 9.096195][ T181] ? __lock_acquire+0x518/0xc20 [ 9.096199][ T181] _printk+0xc7/0x100 [ 9.096203][ T181] ? snapshot_read.cold+0x21/0x21 [ 9.096205][ T181] ? do_raw_spin_lock+0x131/0x280 [ 9.096207][ T181] ? __rwlock_init+0x150/0x150 [ 9.096210][ T181] ? do_raw_spin_lock+0x131/0x280 [ 9.096213][ T181] do_exit.cold+0x82/0x9c [ 9.096216][ T181] ? exit_notify+0x890/0x890 [ 9.096218][ T181] ? __lock_release.isra.0+0x69/0x1a0 [ 9.096221][ T181] ? rcu_is_watching+0x16/0xd0 [ 9.096224][ T181] do_group_exit+0xb8/0x370 [ 9.096227][ T181] __x64_sys_exit_group+0x3c/0x50 [ 9.096229][ T181] x64_sys_call+0x1567/0x1570 [ 9.096232][ T181] do_syscall_64+0xff/0x530 [ 9.096234][ T181] ? exc_page_fault+0xee/0x100 [ 9.096237][ T181] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.096240][ T181] RIP: 0033:0x7fdd0f00c1b8 [ 9.096242][ T181] Code: Unable to access opcode bytes at 0x7fdd0f00c18e. [ 9.096243][ T181] RSP: 002b:00007ffc39353de8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.096245][ T181] RAX: ffffffffffffffda RBX: 00007fdd0f13cf88 RCX: 00007fdd0f00c1b8 [ 9.096246][ T181] RDX: 00007fdd0ed56fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.096247][ T181] RBP: 00007ffc39353e40 R08: 0000000000000000 R09: 0000000000000050 [ 9.096248][ T181] R10: 00007ffc39353c00 R11: 0000000000000246 R12: 0000000000000001 [ 9.096249][ T181] R13: 0000000000000000 R14: 00007fdd0f13b680 R15: 00007fdd0f13cfa0 [ 9.096255][ T181] [ 9.347159][ T190] t0: Port device b0 added [ 10.514287][ T12] t0: Port device b0 removed [ 10.514337][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.514340][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 10.514341][ T12] preempt_count: 1, expected: 0 [ 10.514342][ T12] RCU nest depth: 0, expected: 0 [ 10.514343][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 10.514345][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 10.514356][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 10.514359][ T12] #2: ffffffff86506b88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 10.514365][ T12] #3: ffffffff86522700 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x534/0x8f0 [ 10.514368][ T12] #4: ffffffff85d99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.514372][ T12] #5: ffffffff85d99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.514375][ T12] #6: ffffffff85c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.514381][ T12] #7: ffffffff85c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 10.514385][ T12] irq event stamp: 3364 [ 10.514386][ T12] hardirqs last enabled at (3363): [] __down_trylock_console_sem+0x86/0xa0 [ 10.514389][ T12] hardirqs last disabled at (3364): [] console_emit_next_record+0x3f8/0x4f0 [ 10.514390][ T12] softirqs last enabled at (3348): [] fib6_run_gc+0x162/0x250 [ 10.514393][ T12] softirqs last disabled at (3342): [] fib6_run_gc+0x1ac/0x250 [ 10.514395][ T12] Preemption disabled at: [ 10.514396][ T12] [] vprintk_emit+0x31b/0x3e0 [ 10.514401][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.514404][ T12] Tainted: [W]=WARN [ 10.514405][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.514407][ T12] Workqueue: netns cleanup_net [ 10.514410][ T12] Call Trace: [ 10.514412][ T12] [ 10.514414][ T12] dump_stack_lvl+0x6f/0xa0 [ 10.514419][ T12] ? vprintk_emit+0x31b/0x3e0 [ 10.514421][ T12] __might_resched.cold+0x1fe/0x2c1 [ 10.514425][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.514429][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 10.514434][ T12] __kmalloc_noprof+0x443/0x760 [ 10.514437][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 10.514443][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 10.514445][ T12] alloc_buf.isra.0+0x4b/0x260 [ 10.514449][ T12] put_chars+0x1e1/0x2f0 [ 10.514452][ T12] ? __send_to_port+0x420/0x420 [ 10.514454][ T12] ? desc_read_finalized_seq+0x41/0x120 [ 10.514458][ T12] ? validate_chain+0x34a/0xc20 [ 10.514463][ T12] hvc_console_print+0x292/0x780 [ 10.514467][ T12] ? __lock_acquire+0x518/0xc20 [ 10.514468][ T12] ? __lock_acquire+0x518/0xc20 [ 10.514474][ T12] ? hvc_write+0x3a0/0x3a0 [ 10.514475][ T12] ? console_emit_next_record+0x202/0x4f0 [ 10.514478][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.514481][ T12] ? lock_acquire+0x13c/0x160 [ 10.514486][ T12] console_emit_next_record+0x252/0x4f0 [ 10.514489][ T12] ? devkmsg_read+0x4e0/0x4e0 [ 10.514493][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.514495][ T12] ? lock_acquire+0x13c/0x160 [ 10.514499][ T12] console_flush_one_record+0x46f/0x710 [ 10.514503][ T12] ? console_emit_next_record+0x4f0/0x4f0 [ 10.514504][ T12] ? __lock_acquire+0x518/0xc20 [ 10.514510][ T12] console_unlock+0xee/0x1f0 [ 10.514512][ T12] ? console_flush_one_record+0x710/0x710 [ 10.514513][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.514515][ T12] ? lock_acquire+0x60/0x160 [ 10.514519][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.514521][ T12] ? vprintk_emit+0x320/0x3e0 [ 10.514524][ T12] vprintk_emit+0x37c/0x3e0 [ 10.514527][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 10.514529][ T12] ? unregister_netdevice_many_notify+0xc5a/0x1b40 [ 10.514532][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.514534][ T12] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.514535][ T12] ? look_up_lock_class+0x65/0x150 [ 10.514538][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.514543][ T12] _printk+0xc7/0x100 [ 10.514547][ T12] ? snapshot_read.cold+0x21/0x21 [ 10.514550][ T12] ? __lock_acquire+0x518/0xc20 [ 10.514553][ T12] ? netdev_name+0x43/0x60 [ 10.514556][ T12] ? __netdev_printk+0x17f/0x1d0 [ 10.514559][ T12] netdev_info+0xe2/0x116 [ 10.514561][ T12] ? netdev_notice+0x120/0x120 [ 10.514566][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 10.514568][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 10.514569][ T12] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 10.514572][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 10.514574][ T12] ? kvfree_call_rcu+0x23b/0x2e0 [ 10.514579][ T12] team_port_del+0x61d/0xaa0 [ 10.514585][ T12] team_device_event+0x1bc/0x530 [ 10.514587][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.514589][ T12] notifier_call_chain+0xae/0x300 [ 10.514595][ T12] unregister_netdevice_many_notify+0xc5a/0x1b40 [ 10.514600][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 10.514602][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 10.514604][ T12] ? __call_rcu_common.constprop.0+0x3d3/0xa20 [ 10.514608][ T12] ? rtnl_is_locked+0x15/0x20 [ 10.514611][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 10.514616][ T12] ops_undo_list+0x615/0x8f0 [ 10.514621][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 10.514622][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 10.514628][ T12] cleanup_net+0x431/0x890 [ 10.514630][ T12] ? net_passive_dec+0x230/0x230 [ 10.514634][ T12] ? lock_acquire+0x13c/0x160 [ 10.514636][ T12] ? rcu_is_watching+0x16/0xd0 [ 10.514639][ T12] process_one_work+0xe3e/0x1560 [ 10.514645][ T12] ? __queue_delayed_work+0x470/0x470 [ 10.514648][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 10.514656][ T12] worker_thread+0x4f1/0xd60 [ 10.514662][ T12] ? rescuer_thread+0x1340/0x1340 [ 10.514664][ T12] kthread+0x367/0x460 [ 10.514666][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.514669][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.514673][ T12] ret_from_fork+0x474/0x6b0 [ 10.514677][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 10.514680][ T12] ? __switch_to+0x5a3/0xe00 [ 10.514683][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.514686][ T12] ret_from_fork_asm+0x11/0x20 [ 10.514695][ T12] [ 10.538053][ T12] b0 (unregistering): Released all slaves