[ 9.526783][ T203] ip (203) used greatest stack depth: 23536 bytes left [ 9.526801][ T203] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.526803][ T203] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 203, name: ip [ 9.526804][ T203] preempt_count: 2, expected: 0 [ 9.526805][ T203] RCU nest depth: 0, expected: 0 [ 9.526806][ T203] locks held by ip/203: 5, last CPU#2: [ 9.526808][ T203] #0: ffffffff8e4167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.526820][ T203] #1: ffffffff8e57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.526824][ T203] #2: ffffffff8e57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.526828][ T203] #3: ffffffff8e49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.526832][ T203] #4: ffffffff8e49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.526836][ T203] irq event stamp: 34054 [ 9.526837][ T203] hardirqs last enabled at (34053): [] __down_trylock_console_sem+0x86/0xa0 [ 9.526840][ T203] hardirqs last disabled at (34054): [] console_emit_next_record+0x3d4/0x4c0 [ 9.526842][ T203] softirqs last enabled at (34044): [] handle_softirqs+0x67c/0x900 [ 9.526844][ T203] softirqs last disabled at (34037): [] __irq_exit_rcu+0x145/0x1c0 [ 9.526847][ T203] Preemption disabled at: [ 9.526847][ T203] [<0000000000000000>] 0x0 [ 9.526854][ T203] CPU: 2 UID: 0 PID: 203 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.526857][ T203] Tainted: [W]=WARN [ 9.526858][ T203] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.526860][ T203] Call Trace: [ 9.526861][ T203] [ 9.526863][ T203] dump_stack_lvl+0x6f/0xa0 [ 9.526869][ T203] __might_resched.cold+0x1fe/0x2c1 [ 9.526874][ T203] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.526877][ T203] ? __kmalloc_noprof+0xdb/0x760 [ 9.526882][ T203] __kmalloc_noprof+0x443/0x760 [ 9.526884][ T203] ? alloc_buf.isra.0+0x4b/0x260 [ 9.526890][ T203] ? do_raw_spin_unlock+0x59/0x250 [ 9.526893][ T203] alloc_buf.isra.0+0x4b/0x260 [ 9.526896][ T203] put_chars+0x1e1/0x2f0 [ 9.526899][ T203] ? __send_to_port+0x420/0x420 [ 9.526900][ T203] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.526903][ T203] ? validate_chain+0x38b/0xc20 [ 9.526909][ T203] hvc_console_print+0x292/0x780 [ 9.526916][ T203] ? hvc_write+0x3a0/0x3a0 [ 9.526919][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.526921][ T203] ? lock_acquire+0x13c/0x160 [ 9.526925][ T203] console_emit_next_record+0x22f/0x4c0 [ 9.526929][ T203] ? devkmsg_read+0x4b0/0x4b0 [ 9.526930][ T203] ? console_flush_one_record+0x106/0x710 [ 9.526933][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.526935][ T203] ? lock_acquire+0x13c/0x160 [ 9.526939][ T203] console_flush_one_record+0x46f/0x710 [ 9.526943][ T203] ? console_emit_next_record+0x4c0/0x4c0 [ 9.526945][ T203] ? __lock_acquire+0x518/0xc20 [ 9.526950][ T203] console_unlock+0xee/0x1f0 [ 9.526953][ T203] ? console_flush_one_record+0x710/0x710 [ 9.526955][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.526956][ T203] ? lock_acquire+0xe0/0x160 [ 9.526960][ T203] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.526962][ T203] ? vprintk_emit+0x320/0x3e0 [ 9.526964][ T203] vprintk_emit+0x37c/0x3e0 [ 9.526967][ T203] ? wake_up_klogd_work_func+0x90/0x90 [ 9.526970][ T203] ? __lock_acquire+0x518/0xc20 [ 9.526974][ T203] _printk+0xc7/0x100 [ 9.526977][ T203] ? snapshot_read.cold+0x21/0x21 [ 9.526980][ T203] ? do_raw_spin_lock+0x131/0x280 [ 9.526983][ T203] ? __rwlock_init+0x150/0x150 [ 9.526986][ T203] ? do_raw_spin_lock+0x131/0x280 [ 9.526989][ T203] do_exit.cold+0x82/0x9c [ 9.526993][ T203] ? exit_notify+0x890/0x890 [ 9.526994][ T203] ? __lock_release.isra.0+0x69/0x1a0 [ 9.526997][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.527000][ T203] do_group_exit+0xb8/0x370 [ 9.527003][ T203] __x64_sys_exit_group+0x3c/0x50 [ 9.527005][ T203] x64_sys_call+0x1567/0x1570 [ 9.527007][ T203] do_syscall_64+0xff/0x530 [ 9.527011][ T203] ? exc_page_fault+0xee/0x100 [ 9.527014][ T203] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.527016][ T203] RIP: 0033:0x7fc261e741b8 [ 9.527018][ T203] Code: Unable to access opcode bytes at 0x7fc261e7418e. [ 9.527019][ T203] RSP: 002b:00007ffee2b0ea08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.527022][ T203] RAX: ffffffffffffffda RBX: 00007fc261fa4f88 RCX: 00007fc261e741b8 [ 9.527023][ T203] RDX: 00007fc261bbefc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.527024][ T203] RBP: 00007ffee2b0ea60 R08: 0000000000000000 R09: 0000000000000050 [ 9.527025][ T203] R10: 00007ffee2b0e820 R11: 0000000000000246 R12: 0000000000000001 [ 9.527026][ T203] R13: 0000000000000000 R14: 00007fc261fa3680 R15: 00007fc261fa4fa0 [ 9.527032][ T203] [ 12.616861][ T12] veth5: Failed to cycle device veth5; route tables might be wrong! [ 12.616918][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.616920][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 12.616922][ T12] preempt_count: 1, expected: 0 [ 12.616923][ T12] RCU nest depth: 0, expected: 0 [ 12.616923][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 12.616925][ T12] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 12.616939][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 12.616943][ T12] #2: ffffffff8ecffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 12.616948][ T12] #3: ffffffff8ed1b740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 12.616952][ T12] #4: ffffffff8e57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.616956][ T12] #5: ffffffff8e57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.616960][ T12] #6: ffffffff8e49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.616964][ T12] #7: ffffffff8e49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.616967][ T12] irq event stamp: 28896 [ 12.616968][ T12] hardirqs last enabled at (28895): [] __down_trylock_console_sem+0x86/0xa0 [ 12.616971][ T12] hardirqs last disabled at (28896): [] console_emit_next_record+0x3d4/0x4c0 [ 12.616973][ T12] softirqs last enabled at (28890): [] __netdev_work_core_cancel+0xc0/0x340 [ 12.616976][ T12] softirqs last disabled at (28888): [] __netdev_work_core_cancel+0x21/0x340 [ 12.616978][ T12] Preemption disabled at: [ 12.616979][ T12] [] vprintk_emit+0x31b/0x3e0 [ 12.616984][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.616988][ T12] Tainted: [W]=WARN [ 12.616988][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.616990][ T12] Workqueue: netns cleanup_net [ 12.616994][ T12] Call Trace: [ 12.616995][ T12] [ 12.616997][ T12] dump_stack_lvl+0x6f/0xa0 [ 12.617004][ T12] ? vprintk_emit+0x31b/0x3e0 [ 12.617005][ T12] __might_resched.cold+0x1fe/0x2c1 [ 12.617010][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.617014][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 12.617019][ T12] __kmalloc_noprof+0x443/0x760 [ 12.617021][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 12.617027][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 12.617030][ T12] alloc_buf.isra.0+0x4b/0x260 [ 12.617034][ T12] put_chars+0x1e1/0x2f0 [ 12.617037][ T12] ? __send_to_port+0x420/0x420 [ 12.617041][ T12] ? validate_chain+0x34a/0xc20 [ 12.617045][ T12] hvc_console_print+0x292/0x780 [ 12.617049][ T12] ? mark_usage+0x61/0x170 [ 12.617051][ T12] ? __lock_acquire+0x518/0xc20 [ 12.617053][ T12] ? __lock_acquire+0x518/0xc20 [ 12.617057][ T12] ? hvc_write+0x3a0/0x3a0 [ 12.617060][ T12] ? console_emit_next_record+0x1df/0x4c0 [ 12.617063][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.617066][ T12] ? lock_acquire+0x13c/0x160 [ 12.617070][ T12] console_emit_next_record+0x22f/0x4c0 [ 12.617074][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 12.617076][ T12] ? console_flush_one_record+0x106/0x710 [ 12.617079][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.617081][ T12] ? lock_acquire+0x13c/0x160 [ 12.617085][ T12] console_flush_one_record+0x46f/0x710 [ 12.617090][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 12.617091][ T12] ? __lock_acquire+0x518/0xc20 [ 12.617097][ T12] console_unlock+0xee/0x1f0 [ 12.617100][ T12] ? console_flush_one_record+0x710/0x710 [ 12.617102][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.617104][ T12] ? lock_acquire+0xe0/0x160 [ 12.617108][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.617109][ T12] ? vprintk_emit+0x320/0x3e0 [ 12.617112][ T12] vprintk_emit+0x37c/0x3e0 [ 12.617115][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 12.617117][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.617120][ T12] ? validate_chain+0x38b/0xc20 [ 12.617122][ T12] ? lockdep_rtnl_is_held+0x1a/0x20 [ 12.617127][ T12] _printk+0xc7/0x100 [ 12.617130][ T12] ? snapshot_read.cold+0x21/0x21 [ 12.617135][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.617136][ T12] ? netdev_name+0x43/0x60 [ 12.617140][ T12] ? __netdev_printk+0x17f/0x1d0 [ 12.617144][ T12] netdev_err+0xe2/0x120 [ 12.617147][ T12] ? netdev_crit+0x120/0x120 [ 12.617149][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 12.617155][ T12] ? netif_rx_mode_sync+0x17/0x30 [ 12.617157][ T12] ? dev_change_flags+0xb4/0x270 [ 12.617159][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 12.617162][ T12] vrf_dellink+0xe9/0x180 [ 12.617166][ T12] ? vrf_map_unregister_dev+0x410/0x410 [ 12.617170][ T12] ? veth_dellink+0xe1/0x190 [ 12.617174][ T12] default_device_exit_batch+0x19d/0x600 [ 12.617178][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 12.617180][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.617183][ T12] ? fou_exit_net+0x30/0x110 [ 12.617188][ T12] ops_undo_list+0x2ce/0x8f0 [ 12.617191][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 12.617195][ T12] ? netns_install+0x2a0/0x2a0 [ 12.617197][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.617200][ T12] ? idr_destroy+0x121/0x250 [ 12.617205][ T12] cleanup_net+0x431/0x940 [ 12.617208][ T12] ? net_passive_dec+0x230/0x230 [ 12.617212][ T12] ? lock_acquire+0x13c/0x160 [ 12.617214][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.617217][ T12] process_one_work+0xe3e/0x1560 [ 12.617224][ T12] ? __queue_delayed_work+0x470/0x470 [ 12.617227][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.617235][ T12] worker_thread+0x4f1/0xd60 [ 12.617242][ T12] ? rescuer_thread+0x1340/0x1340 [ 12.617244][ T12] kthread+0x367/0x460 [ 12.617247][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.617250][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.617253][ T12] ret_from_fork+0x474/0x6b0 [ 12.617257][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.617261][ T12] ? __switch_to+0x5a3/0xe00 [ 12.617264][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.617267][ T12] ret_from_fork_asm+0x11/0x20 [ 12.617276][ T12] [ 12.641982][ T12] veth7: Failed to cycle device veth7; route tables might be wrong!