[ 9.118581][ T198] ip (198) used greatest stack depth: 24104 bytes left [ 9.118598][ T198] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.118600][ T198] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 198, name: ip [ 9.118601][ T198] preempt_count: 2, expected: 0 [ 9.118602][ T198] RCU nest depth: 0, expected: 0 [ 9.118603][ T198] locks held by ip/198: 5, last CPU#0: [ 9.118605][ T198] #0: ffffffff8a4167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.118616][ T198] #1: ffffffff8a57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.118621][ T198] #2: ffffffff8a57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.118625][ T198] #3: ffffffff8a49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.118629][ T198] #4: ffffffff8a49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.118633][ T198] irq event stamp: 22264 [ 9.118634][ T198] hardirqs last enabled at (22263): [] __down_trylock_console_sem+0x86/0xa0 [ 9.118637][ T198] hardirqs last disabled at (22264): [] console_emit_next_record+0x3d4/0x4c0 [ 9.118639][ T198] softirqs last enabled at (20982): [] handle_softirqs+0x67c/0x900 [ 9.118641][ T198] softirqs last disabled at (19985): [] __irq_exit_rcu+0x145/0x1c0 [ 9.118644][ T198] Preemption disabled at: [ 9.118644][ T198] [<0000000000000000>] 0x0 [ 9.118651][ T198] CPU: 0 UID: 0 PID: 198 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.118655][ T198] Tainted: [W]=WARN [ 9.118656][ T198] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.118658][ T198] Call Trace: [ 9.118659][ T198] [ 9.118660][ T198] dump_stack_lvl+0x6f/0xa0 [ 9.118667][ T198] __might_resched.cold+0x1fe/0x2c1 [ 9.118672][ T198] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.118675][ T198] ? __kmalloc_noprof+0xdb/0x760 [ 9.118680][ T198] __kmalloc_noprof+0x443/0x760 [ 9.118682][ T198] ? alloc_buf.isra.0+0x4b/0x260 [ 9.118688][ T198] ? do_raw_spin_unlock+0x59/0x250 [ 9.118691][ T198] alloc_buf.isra.0+0x4b/0x260 [ 9.118695][ T198] put_chars+0x1e1/0x2f0 [ 9.118697][ T198] ? __send_to_port+0x420/0x420 [ 9.118698][ T198] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.118702][ T198] ? validate_chain+0x38b/0xc20 [ 9.118707][ T198] hvc_console_print+0x292/0x780 [ 9.118715][ T198] ? hvc_write+0x3a0/0x3a0 [ 9.118718][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.118720][ T198] ? lock_acquire+0x13c/0x160 [ 9.118724][ T198] console_emit_next_record+0x22f/0x4c0 [ 9.118727][ T198] ? devkmsg_read+0x4b0/0x4b0 [ 9.118729][ T198] ? console_flush_one_record+0x106/0x710 [ 9.118732][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.118734][ T198] ? lock_acquire+0x13c/0x160 [ 9.118738][ T198] console_flush_one_record+0x46f/0x710 [ 9.118742][ T198] ? console_emit_next_record+0x4c0/0x4c0 [ 9.118744][ T198] ? __lock_acquire+0x518/0xc20 [ 9.118750][ T198] console_unlock+0xee/0x1f0 [ 9.118752][ T198] ? console_flush_one_record+0x710/0x710 [ 9.118754][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.118756][ T198] ? lock_acquire+0xe0/0x160 [ 9.118759][ T198] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.118761][ T198] ? vprintk_emit+0x320/0x3e0 [ 9.118764][ T198] vprintk_emit+0x37c/0x3e0 [ 9.118767][ T198] ? wake_up_klogd_work_func+0x90/0x90 [ 9.118770][ T198] ? __lock_acquire+0x518/0xc20 [ 9.118774][ T198] _printk+0xc7/0x100 [ 9.118778][ T198] ? snapshot_read.cold+0x21/0x21 [ 9.118780][ T198] ? do_raw_spin_lock+0x131/0x280 [ 9.118783][ T198] ? __rwlock_init+0x150/0x150 [ 9.118787][ T198] ? do_raw_spin_lock+0x131/0x280 [ 9.118789][ T198] do_exit.cold+0x82/0x9c [ 9.118793][ T198] ? exit_notify+0x890/0x890 [ 9.118794][ T198] ? __lock_release.isra.0+0x69/0x1a0 [ 9.118797][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.118801][ T198] do_group_exit+0xb8/0x370 [ 9.118804][ T198] __x64_sys_exit_group+0x3c/0x50 [ 9.118805][ T198] x64_sys_call+0x1567/0x1570 [ 9.118808][ T198] do_syscall_64+0xff/0x530 [ 9.118812][ T198] ? exc_page_fault+0xee/0x100 [ 9.118815][ T198] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.118817][ T198] RIP: 0033:0x7f90292be1b8 [ 9.118819][ T198] Code: Unable to access opcode bytes at 0x7f90292be18e. [ 9.118820][ T198] RSP: 002b:00007ffd9d956cd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.118822][ T198] RAX: ffffffffffffffda RBX: 00007f90293eef88 RCX: 00007f90292be1b8 [ 9.118824][ T198] RDX: 00007f9029008fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.118825][ T198] RBP: 00007ffd9d956d30 R08: 0000000000000000 R09: 0000000000000050 [ 9.118826][ T198] R10: 00007ffd9d956af0 R11: 0000000000000246 R12: 0000000000000001 [ 9.118826][ T198] R13: 0000000000000000 R14: 00007f90293ed680 R15: 00007f90293eefa0 [ 9.118833][ T198] [ 9.303865][ T203] ip (203) used greatest stack depth: 23632 bytes left [ 12.278769][ T71] veth5: Failed to cycle device veth5; route tables might be wrong! [ 12.278822][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.278825][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: kworker/u16:1 [ 12.278826][ T71] preempt_count: 1, expected: 0 [ 12.278827][ T71] RCU nest depth: 0, expected: 0 [ 12.278828][ T71] locks held by kworker/u16:1/71: 8, last CPU#3: [ 12.278830][ T71] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 12.278842][ T71] #1: ffa00000004c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 12.278846][ T71] #2: ffffffff8acffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 12.278851][ T71] #3: ffffffff8ad1b740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 12.278855][ T71] #4: ffffffff8a57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.278860][ T71] #5: ffffffff8a57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.278863][ T71] #6: ffffffff8a49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.278867][ T71] #7: ffffffff8a49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.278871][ T71] irq event stamp: 22914 [ 12.278871][ T71] hardirqs last enabled at (22913): [] __down_trylock_console_sem+0x86/0xa0 [ 12.278875][ T71] hardirqs last disabled at (22914): [] console_emit_next_record+0x3d4/0x4c0 [ 12.278877][ T71] softirqs last enabled at (22908): [] __netdev_work_core_cancel+0xc0/0x340 [ 12.278880][ T71] softirqs last disabled at (22906): [] __netdev_work_core_cancel+0x21/0x340 [ 12.278882][ T71] Preemption disabled at: [ 12.278883][ T71] [] vprintk_emit+0x31b/0x3e0 [ 12.278887][ T71] CPU: 3 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.278891][ T71] Tainted: [W]=WARN [ 12.278892][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.278894][ T71] Workqueue: netns cleanup_net [ 12.278897][ T71] Call Trace: [ 12.278899][ T71] [ 12.278900][ T71] dump_stack_lvl+0x6f/0xa0 [ 12.278906][ T71] ? vprintk_emit+0x31b/0x3e0 [ 12.278908][ T71] __might_resched.cold+0x1fe/0x2c1 [ 12.278913][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.278917][ T71] ? __kmalloc_noprof+0xdb/0x760 [ 12.278921][ T71] __kmalloc_noprof+0x443/0x760 [ 12.278923][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 12.278930][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 12.278933][ T71] alloc_buf.isra.0+0x4b/0x260 [ 12.278936][ T71] put_chars+0x1e1/0x2f0 [ 12.278939][ T71] ? __send_to_port+0x420/0x420 [ 12.278943][ T71] ? validate_chain+0x34a/0xc20 [ 12.278947][ T71] hvc_console_print+0x292/0x780 [ 12.278951][ T71] ? mark_usage+0x61/0x170 [ 12.278953][ T71] ? __lock_acquire+0x518/0xc20 [ 12.278955][ T71] ? __lock_acquire+0x518/0xc20 [ 12.278959][ T71] ? hvc_write+0x3a0/0x3a0 [ 12.278961][ T71] ? console_emit_next_record+0x1df/0x4c0 [ 12.278965][ T71] ? rcu_is_watching+0x16/0xd0 [ 12.278967][ T71] ? lock_acquire+0x13c/0x160 [ 12.278971][ T71] console_emit_next_record+0x22f/0x4c0 [ 12.278975][ T71] ? devkmsg_read+0x4b0/0x4b0 [ 12.278977][ T71] ? console_flush_one_record+0x106/0x710 [ 12.278980][ T71] ? rcu_is_watching+0x16/0xd0 [ 12.278982][ T71] ? lock_acquire+0x13c/0x160 [ 12.278986][ T71] console_flush_one_record+0x46f/0x710 [ 12.278990][ T71] ? console_emit_next_record+0x4c0/0x4c0 [ 12.278992][ T71] ? __lock_acquire+0x518/0xc20 [ 12.278998][ T71] console_unlock+0xee/0x1f0 [ 12.279001][ T71] ? console_flush_one_record+0x710/0x710 [ 12.279002][ T71] ? rcu_is_watching+0x16/0xd0 [ 12.279004][ T71] ? lock_acquire+0xe0/0x160 [ 12.279008][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.279010][ T71] ? vprintk_emit+0x320/0x3e0 [ 12.279012][ T71] vprintk_emit+0x37c/0x3e0 [ 12.279015][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 12.279017][ T71] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.279020][ T71] ? validate_chain+0x38b/0xc20 [ 12.279022][ T71] ? lockdep_rtnl_is_held+0x1a/0x20 [ 12.279027][ T71] _printk+0xc7/0x100 [ 12.279030][ T71] ? snapshot_read.cold+0x21/0x21 [ 12.279035][ T71] ? lock_acquire.part.0+0xd4/0x280 [ 12.279036][ T71] ? netdev_name+0x43/0x60 [ 12.279040][ T71] ? __netdev_printk+0x17f/0x1d0 [ 12.279044][ T71] netdev_err+0xe2/0x120 [ 12.279046][ T71] ? netdev_crit+0x120/0x120 [ 12.279049][ T71] ? __local_bh_enable_ip+0xaa/0x150 [ 12.279054][ T71] ? netif_rx_mode_sync+0x17/0x30 [ 12.279056][ T71] ? dev_change_flags+0xb4/0x270 [ 12.279059][ T71] ? __local_bh_enable_ip+0xaa/0x150 [ 12.279062][ T71] vrf_dellink+0xe9/0x180 [ 12.279066][ T71] ? vrf_map_unregister_dev+0x410/0x410 [ 12.279070][ T71] ? veth_dellink+0xe1/0x190 [ 12.279073][ T71] default_device_exit_batch+0x19d/0x600 [ 12.279077][ T71] ? unregister_netdevice_queue+0x470/0x470 [ 12.279079][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.279082][ T71] ? fou_exit_net+0x30/0x110 [ 12.279087][ T71] ops_undo_list+0x2ce/0x8f0 [ 12.279090][ T71] ? lockdep_hardirqs_on+0x91/0x130 [ 12.279094][ T71] ? netns_install+0x2a0/0x2a0 [ 12.279096][ T71] ? __lock_release.isra.0+0x69/0x1a0 [ 12.279099][ T71] ? idr_destroy+0x121/0x250 [ 12.279104][ T71] cleanup_net+0x431/0x940 [ 12.279107][ T71] ? net_passive_dec+0x230/0x230 [ 12.279110][ T71] ? lock_acquire+0x13c/0x160 [ 12.279112][ T71] ? rcu_is_watching+0x16/0xd0 [ 12.279116][ T71] process_one_work+0xe3e/0x1560 [ 12.279122][ T71] ? __queue_delayed_work+0x470/0x470 [ 12.279125][ T71] ? lock_acquire.part.0+0xd4/0x280 [ 12.279135][ T71] worker_thread+0x4f1/0xd60 [ 12.279139][ T71] ? rescuer_thread+0x1340/0x1340 [ 12.279142][ T71] ? __kthread_parkme+0xbd/0x210 [ 12.279144][ T71] ? rescuer_thread+0x1340/0x1340 [ 12.279147][ T71] ? rescuer_thread+0x1340/0x1340 [ 12.279149][ T71] kthread+0x367/0x460 [ 12.279152][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.279155][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.279158][ T71] ret_from_fork+0x474/0x6b0 [ 12.279162][ T71] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.279166][ T71] ? __switch_to+0x5a3/0xe00 [ 12.279169][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 12.279172][ T71] ret_from_fork_asm+0x11/0x20 [ 12.279181][ T71] [ 12.319720][ T71] veth7: Failed to cycle device veth7; route tables might be wrong!