[ 12.303110][ T12] veth5: Failed to cycle device veth5; route tables might be wrong! [ 12.303167][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.303169][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 12.303170][ T12] preempt_count: 1, expected: 0 [ 12.303171][ T12] RCU nest depth: 0, expected: 0 [ 12.303172][ T12] locks held by kworker/u16:0/12: 8, last CPU#0: [ 12.303174][ T12] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 12.303187][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 12.303191][ T12] #2: ffffffff928ffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 12.303196][ T12] #3: ffffffff9291b740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 12.303200][ T12] #4: ffffffff9217ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.303204][ T12] #5: ffffffff9217de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.303208][ T12] #6: ffffffff9209d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.303211][ T12] #7: ffffffff9209d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.303215][ T12] irq event stamp: 26270 [ 12.303216][ T12] hardirqs last enabled at (26269): [] __down_trylock_console_sem+0x86/0xa0 [ 12.303219][ T12] hardirqs last disabled at (26270): [] console_emit_next_record+0x3d4/0x4c0 [ 12.303221][ T12] softirqs last enabled at (26264): [] __netdev_work_core_cancel+0xc0/0x340 [ 12.303224][ T12] softirqs last disabled at (26262): [] __netdev_work_core_cancel+0x21/0x340 [ 12.303226][ T12] Preemption disabled at: [ 12.303227][ T12] [] vprintk_emit+0x31b/0x3e0 [ 12.303232][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.303235][ T12] Tainted: [W]=WARN [ 12.303236][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.303238][ T12] Workqueue: netns cleanup_net [ 12.303242][ T12] Call Trace: [ 12.303243][ T12] [ 12.303245][ T12] dump_stack_lvl+0x6f/0xa0 [ 12.303251][ T12] ? vprintk_emit+0x31b/0x3e0 [ 12.303253][ T12] __might_resched.cold+0x1fe/0x2c1 [ 12.303257][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.303261][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 12.303265][ T12] __kmalloc_noprof+0x443/0x760 [ 12.303267][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 12.303274][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 12.303277][ T12] alloc_buf.isra.0+0x4b/0x260 [ 12.303281][ T12] put_chars+0x1e1/0x2f0 [ 12.303283][ T12] ? __send_to_port+0x420/0x420 [ 12.303288][ T12] ? validate_chain+0x34a/0xc20 [ 12.303291][ T12] hvc_console_print+0x292/0x780 [ 12.303296][ T12] ? mark_usage+0x61/0x170 [ 12.303297][ T12] ? __lock_acquire+0x518/0xc20 [ 12.303299][ T12] ? __lock_acquire+0x518/0xc20 [ 12.303303][ T12] ? hvc_write+0x3a0/0x3a0 [ 12.303306][ T12] ? console_emit_next_record+0x1df/0x4c0 [ 12.303309][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303312][ T12] ? lock_acquire+0x13c/0x160 [ 12.303316][ T12] console_emit_next_record+0x22f/0x4c0 [ 12.303319][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 12.303321][ T12] ? console_flush_one_record+0x106/0x710 [ 12.303325][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303326][ T12] ? lock_acquire+0x13c/0x160 [ 12.303330][ T12] console_flush_one_record+0x46f/0x710 [ 12.303334][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 12.303336][ T12] ? __lock_acquire+0x518/0xc20 [ 12.303342][ T12] console_unlock+0xee/0x1f0 [ 12.303344][ T12] ? console_flush_one_record+0x710/0x710 [ 12.303346][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303348][ T12] ? lock_acquire+0xe0/0x160 [ 12.303352][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.303353][ T12] ? vprintk_emit+0x320/0x3e0 [ 12.303356][ T12] vprintk_emit+0x37c/0x3e0 [ 12.303359][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 12.303361][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.303364][ T12] ? validate_chain+0x38b/0xc20 [ 12.303366][ T12] ? lockdep_rtnl_is_held+0x1a/0x20 [ 12.303371][ T12] _printk+0xc7/0x100 [ 12.303374][ T12] ? snapshot_read.cold+0x21/0x21 [ 12.303378][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.303380][ T12] ? netdev_name+0x43/0x60 [ 12.303383][ T12] ? __netdev_printk+0x17f/0x1d0 [ 12.303387][ T12] netdev_err+0xe2/0x120 [ 12.303390][ T12] ? netdev_crit+0x120/0x120 [ 12.303392][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 12.303398][ T12] ? netif_rx_mode_sync+0x17/0x30 [ 12.303400][ T12] ? dev_change_flags+0xb4/0x270 [ 12.303402][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 12.303405][ T12] vrf_dellink+0xe9/0x180 [ 12.303409][ T12] ? vrf_map_unregister_dev+0x410/0x410 [ 12.303413][ T12] ? veth_dellink+0xe1/0x190 [ 12.303417][ T12] default_device_exit_batch+0x19d/0x600 [ 12.303420][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 12.303422][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.303425][ T12] ? fou_exit_net+0x30/0x110 [ 12.303429][ T12] ops_undo_list+0x2ce/0x8f0 [ 12.303433][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 12.303437][ T12] ? netns_install+0x2a0/0x2a0 [ 12.303438][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 12.303441][ T12] ? idr_destroy+0x121/0x250 [ 12.303446][ T12] cleanup_net+0x431/0x940 [ 12.303449][ T12] ? net_passive_dec+0x230/0x230 [ 12.303453][ T12] ? lock_acquire+0x13c/0x160 [ 12.303455][ T12] ? rcu_is_watching+0x16/0xd0 [ 12.303458][ T12] process_one_work+0xe3e/0x1560 [ 12.303465][ T12] ? __queue_delayed_work+0x470/0x470 [ 12.303468][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 12.303478][ T12] worker_thread+0x4f1/0xd60 [ 12.303486][ T12] ? rescuer_thread+0x1340/0x1340 [ 12.303488][ T12] kthread+0x367/0x460 [ 12.303490][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.303494][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.303496][ T12] ret_from_fork+0x474/0x6b0 [ 12.303501][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.303504][ T12] ? __switch_to+0x5a3/0xe00 [ 12.303507][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.303510][ T12] ret_from_fork_asm+0x11/0x20 [ 12.303519][ T12] [ 12.327849][ T12] veth7: Failed to cycle device veth7; route tables might be wrong!