[ 10.907958][ T198] ip (198) used greatest stack depth: 24304 bytes left [ 10.907974][ T198] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.907976][ T198] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 198, name: ip [ 10.907978][ T198] preempt_count: 2, expected: 0 [ 10.907979][ T198] RCU nest depth: 0, expected: 0 [ 10.907979][ T198] locks held by ip/198: 5, last CPU#3: [ 10.907981][ T198] #0: ffffffffb0a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.907993][ T198] #1: ffffffffb0b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.907997][ T198] #2: ffffffffb0b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.908002][ T198] #3: ffffffffb0a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.908005][ T198] #4: ffffffffb0a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.908009][ T198] irq event stamp: 20316 [ 10.908010][ T198] hardirqs last enabled at (20315): [] __down_trylock_console_sem+0x86/0xa0 [ 10.908013][ T198] hardirqs last disabled at (20316): [] console_emit_next_record+0x3d4/0x4c0 [ 10.908015][ T198] softirqs last enabled at (19200): [] handle_softirqs+0x67c/0x900 [ 10.908017][ T198] softirqs last disabled at (19089): [] __irq_exit_rcu+0x145/0x1c0 [ 10.908019][ T198] Preemption disabled at: [ 10.908020][ T198] [<0000000000000000>] 0x0 [ 10.908027][ T198] CPU: 3 UID: 0 PID: 198 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.908030][ T198] Tainted: [W]=WARN [ 10.908031][ T198] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.908033][ T198] Call Trace: [ 10.908034][ T198] [ 10.908036][ T198] dump_stack_lvl+0x6f/0xa0 [ 10.908042][ T198] __might_resched.cold+0x1fe/0x2c1 [ 10.908046][ T198] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.908050][ T198] ? __kmalloc_noprof+0xdb/0x760 [ 10.908055][ T198] __kmalloc_noprof+0x443/0x760 [ 10.908057][ T198] ? alloc_buf.isra.0+0x4b/0x260 [ 10.908063][ T198] ? do_raw_spin_unlock+0x59/0x250 [ 10.908066][ T198] alloc_buf.isra.0+0x4b/0x260 [ 10.908070][ T198] put_chars+0x1e1/0x2f0 [ 10.908072][ T198] ? __send_to_port+0x420/0x420 [ 10.908073][ T198] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.908077][ T198] ? validate_chain+0x38b/0xc20 [ 10.908082][ T198] hvc_console_print+0x292/0x780 [ 10.908090][ T198] ? hvc_write+0x3a0/0x3a0 [ 10.908092][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.908094][ T198] ? lock_acquire+0x13c/0x160 [ 10.908098][ T198] console_emit_next_record+0x22f/0x4c0 [ 10.908102][ T198] ? devkmsg_read+0x4b0/0x4b0 [ 10.908104][ T198] ? console_flush_one_record+0x106/0x710 [ 10.908112][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.908114][ T198] ? lock_acquire+0x13c/0x160 [ 10.908118][ T198] console_flush_one_record+0x46f/0x710 [ 10.908122][ T198] ? console_emit_next_record+0x4c0/0x4c0 [ 10.908124][ T198] ? __lock_acquire+0x518/0xc20 [ 10.908129][ T198] console_unlock+0xee/0x1f0 [ 10.908132][ T198] ? console_flush_one_record+0x710/0x710 [ 10.908134][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.908136][ T198] ? lock_acquire+0xe0/0x160 [ 10.908139][ T198] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.908141][ T198] ? vprintk_emit+0x320/0x3e0 [ 10.908144][ T198] vprintk_emit+0x37c/0x3e0 [ 10.908147][ T198] ? wake_up_klogd_work_func+0x90/0x90 [ 10.908150][ T198] ? __lock_acquire+0x518/0xc20 [ 10.908153][ T198] _printk+0xc7/0x100 [ 10.908157][ T198] ? snapshot_read.cold+0x21/0x21 [ 10.908160][ T198] ? do_raw_spin_lock+0x131/0x280 [ 10.908162][ T198] ? __rwlock_init+0x150/0x150 [ 10.908166][ T198] ? do_raw_spin_lock+0x131/0x280 [ 10.908169][ T198] do_exit.cold+0x82/0x9c [ 10.908172][ T198] ? exit_notify+0x890/0x890 [ 10.908174][ T198] ? __lock_release.isra.0+0x69/0x1a0 [ 10.908176][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.908180][ T198] do_group_exit+0xb8/0x370 [ 10.908183][ T198] __x64_sys_exit_group+0x3c/0x50 [ 10.908185][ T198] x64_sys_call+0x1567/0x1570 [ 10.908187][ T198] do_syscall_64+0xff/0x530 [ 10.908191][ T198] ? exc_page_fault+0xee/0x100 [ 10.908194][ T198] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.908196][ T198] RIP: 0033:0x7fd43dcfd1b8 [ 10.908198][ T198] Code: Unable to access opcode bytes at 0x7fd43dcfd18e. [ 10.908199][ T198] RSP: 002b:00007ffd250b6d68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.908202][ T198] RAX: ffffffffffffffda RBX: 00007fd43de2df88 RCX: 00007fd43dcfd1b8 [ 10.908203][ T198] RDX: 00007fd43da47fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.908204][ T198] RBP: 00007ffd250b6dc0 R08: 0000000000000000 R09: 0000000000000050 [ 10.908205][ T198] R10: 00007ffd250b6b80 R11: 0000000000000246 R12: 0000000000000001 [ 10.908205][ T198] R13: 0000000000000000 R14: 00007fd43de2c680 R15: 00007fd43de2dfa0 [ 10.908212][ T198] [ 11.145548][ T203] ip (203) used greatest stack depth: 23376 bytes left [ 14.546939][ T12] veth5: Failed to cycle device veth5; route tables might be wrong! [ 14.547014][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.547017][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 14.547019][ T12] preempt_count: 1, expected: 0 [ 14.547020][ T12] RCU nest depth: 0, expected: 0 [ 14.547022][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 14.547024][ T12] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 14.547038][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 14.547045][ T12] #2: ffffffffb12ffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 14.547052][ T12] #3: ffffffffb131b740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 14.547059][ T12] #4: ffffffffb0b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.547064][ T12] #5: ffffffffb0b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.547071][ T12] #6: ffffffffb0a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.547077][ T12] #7: ffffffffb0a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.547083][ T12] irq event stamp: 33614 [ 14.547084][ T12] hardirqs last enabled at (33613): [] __down_trylock_console_sem+0x86/0xa0 [ 14.547088][ T12] hardirqs last disabled at (33614): [] console_emit_next_record+0x3d4/0x4c0 [ 14.547091][ T12] softirqs last enabled at (33608): [] __netdev_work_core_cancel+0xc0/0x340 [ 14.547095][ T12] softirqs last disabled at (33606): [] __netdev_work_core_cancel+0x21/0x340 [ 14.547098][ T12] Preemption disabled at: [ 14.547099][ T12] [] vprintk_emit+0x31b/0x3e0 [ 14.547106][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.547111][ T12] Tainted: [W]=WARN [ 14.547112][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.547114][ T12] Workqueue: netns cleanup_net [ 14.547125][ T12] Call Trace: [ 14.547128][ T12] [ 14.547130][ T12] dump_stack_lvl+0x6f/0xa0 [ 14.547138][ T12] ? vprintk_emit+0x31b/0x3e0 [ 14.547141][ T12] __might_resched.cold+0x1fe/0x2c1 [ 14.547148][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.547153][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 14.547160][ T12] __kmalloc_noprof+0x443/0x760 [ 14.547164][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 14.547173][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 14.547177][ T12] alloc_buf.isra.0+0x4b/0x260 [ 14.547183][ T12] put_chars+0x1e1/0x2f0 [ 14.547187][ T12] ? __send_to_port+0x420/0x420 [ 14.547195][ T12] ? validate_chain+0x34a/0xc20 [ 14.547202][ T12] hvc_console_print+0x292/0x780 [ 14.547207][ T12] ? mark_usage+0x61/0x170 [ 14.547211][ T12] ? __lock_acquire+0x518/0xc20 [ 14.547213][ T12] ? __lock_acquire+0x518/0xc20 [ 14.547218][ T12] ? hvc_write+0x3a0/0x3a0 [ 14.547223][ T12] ? console_emit_next_record+0x1df/0x4c0 [ 14.547229][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.547233][ T12] ? lock_acquire+0x13c/0x160 [ 14.547240][ T12] console_emit_next_record+0x22f/0x4c0 [ 14.547247][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 14.547249][ T12] ? console_flush_one_record+0x106/0x710 [ 14.547259][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.547262][ T12] ? lock_acquire+0x13c/0x160 [ 14.547266][ T12] console_flush_one_record+0x46f/0x710 [ 14.547274][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 14.547276][ T12] ? __lock_acquire+0x518/0xc20 [ 14.547287][ T12] console_unlock+0xee/0x1f0 [ 14.547290][ T12] ? console_flush_one_record+0x710/0x710 [ 14.547292][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.547294][ T12] ? lock_acquire+0xe0/0x160 [ 14.547299][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.547302][ T12] ? vprintk_emit+0x320/0x3e0 [ 14.547307][ T12] vprintk_emit+0x37c/0x3e0 [ 14.547313][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 14.547316][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.547320][ T12] ? validate_chain+0x38b/0xc20 [ 14.547322][ T12] ? lockdep_rtnl_is_held+0x1a/0x20 [ 14.547327][ T12] _printk+0xc7/0x100 [ 14.547331][ T12] ? snapshot_read.cold+0x21/0x21 [ 14.547339][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 14.547342][ T12] ? netdev_name+0x43/0x60 [ 14.547347][ T12] ? __netdev_printk+0x17f/0x1d0 [ 14.547352][ T12] netdev_err+0xe2/0x120 [ 14.547355][ T12] ? netdev_crit+0x120/0x120 [ 14.547357][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 14.547366][ T12] ? netif_rx_mode_sync+0x17/0x30 [ 14.547370][ T12] ? dev_change_flags+0xb4/0x270 [ 14.547374][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 14.547379][ T12] vrf_dellink+0xe9/0x180 [ 14.547385][ T12] ? vrf_map_unregister_dev+0x410/0x410 [ 14.547392][ T12] ? veth_dellink+0xe1/0x190 [ 14.547398][ T12] default_device_exit_batch+0x19d/0x600 [ 14.547404][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 14.547408][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.547412][ T12] ? fou_exit_net+0x30/0x110 [ 14.547420][ T12] ops_undo_list+0x2ce/0x8f0 [ 14.547426][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 14.547432][ T12] ? netns_install+0x2a0/0x2a0 [ 14.547434][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 14.547440][ T12] ? idr_destroy+0x121/0x250 [ 14.547447][ T12] cleanup_net+0x431/0x940 [ 14.547452][ T12] ? net_passive_dec+0x230/0x230 [ 14.547459][ T12] ? lock_acquire+0x13c/0x160 [ 14.547462][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.547468][ T12] process_one_work+0xe3e/0x1560 [ 14.547480][ T12] ? __queue_delayed_work+0x470/0x470 [ 14.547485][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 14.547498][ T12] worker_thread+0x4f1/0xd60 [ 14.547511][ T12] ? rescuer_thread+0x1340/0x1340 [ 14.547513][ T12] kthread+0x367/0x460 [ 14.547516][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.547521][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 14.547526][ T12] ret_from_fork+0x474/0x6b0 [ 14.547532][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 14.547537][ T12] ? __switch_to+0x5a3/0xe00 [ 14.547542][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 14.547547][ T12] ret_from_fork_asm+0x11/0x20 [ 14.547563][ T12] [ 14.580997][ T12] veth7: Failed to cycle device veth7; route tables might be wrong!