[ 11.093567][ T211] ip (211) used greatest stack depth: 24176 bytes left [ 11.093584][ T211] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.093586][ T211] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 211, name: ip [ 11.093588][ T211] preempt_count: 2, expected: 0 [ 11.093589][ T211] RCU nest depth: 0, expected: 0 [ 11.093590][ T211] locks held by ip/211: 5, last CPU#2: [ 11.093592][ T211] #0: ffffffffaea167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.093603][ T211] #1: ffffffffaeb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.093608][ T211] #2: ffffffffaeb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.093612][ T211] #3: ffffffffaea9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.093616][ T211] #4: ffffffffaea9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.093620][ T211] irq event stamp: 36924 [ 11.093621][ T211] hardirqs last enabled at (36923): [] __down_trylock_console_sem+0x86/0xa0 [ 11.093624][ T211] hardirqs last disabled at (36924): [] console_emit_next_record+0x3d4/0x4c0 [ 11.093626][ T211] softirqs last enabled at (35624): [] handle_softirqs+0x67c/0x900 [ 11.093628][ T211] softirqs last disabled at (34271): [] __irq_exit_rcu+0x145/0x1c0 [ 11.093631][ T211] Preemption disabled at: [ 11.093631][ T211] [<0000000000000000>] 0x0 [ 11.093638][ T211] CPU: 2 UID: 0 PID: 211 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.093641][ T211] Tainted: [W]=WARN [ 11.093642][ T211] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.093644][ T211] Call Trace: [ 11.093646][ T211] [ 11.093647][ T211] dump_stack_lvl+0x6f/0xa0 [ 11.093654][ T211] __might_resched.cold+0x1fe/0x2c1 [ 11.093658][ T211] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.093662][ T211] ? __kmalloc_noprof+0xdb/0x760 [ 11.093666][ T211] __kmalloc_noprof+0x443/0x760 [ 11.093668][ T211] ? alloc_buf.isra.0+0x4b/0x260 [ 11.093675][ T211] ? do_raw_spin_unlock+0x59/0x250 [ 11.093677][ T211] alloc_buf.isra.0+0x4b/0x260 [ 11.093681][ T211] put_chars+0x1e1/0x2f0 [ 11.093683][ T211] ? __send_to_port+0x420/0x420 [ 11.093685][ T211] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.093688][ T211] ? validate_chain+0x38b/0xc20 [ 11.093694][ T211] hvc_console_print+0x292/0x780 [ 11.093701][ T211] ? hvc_write+0x3a0/0x3a0 [ 11.093704][ T211] ? rcu_is_watching+0x16/0xd0 [ 11.093706][ T211] ? lock_acquire+0x13c/0x160 [ 11.093710][ T211] console_emit_next_record+0x22f/0x4c0 [ 11.093714][ T211] ? devkmsg_read+0x4b0/0x4b0 [ 11.093716][ T211] ? console_flush_one_record+0x106/0x710 [ 11.093719][ T211] ? rcu_is_watching+0x16/0xd0 [ 11.093721][ T211] ? lock_acquire+0x13c/0x160 [ 11.093724][ T211] console_flush_one_record+0x46f/0x710 [ 11.093729][ T211] ? console_emit_next_record+0x4c0/0x4c0 [ 11.093730][ T211] ? __lock_acquire+0x518/0xc20 [ 11.093736][ T211] console_unlock+0xee/0x1f0 [ 11.093738][ T211] ? console_flush_one_record+0x710/0x710 [ 11.093740][ T211] ? rcu_is_watching+0x16/0xd0 [ 11.093742][ T211] ? lock_acquire+0xe0/0x160 [ 11.093746][ T211] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.093747][ T211] ? vprintk_emit+0x320/0x3e0 [ 11.093750][ T211] vprintk_emit+0x37c/0x3e0 [ 11.093753][ T211] ? wake_up_klogd_work_func+0x90/0x90 [ 11.093756][ T211] ? __lock_acquire+0x518/0xc20 [ 11.093760][ T211] _printk+0xc7/0x100 [ 11.093763][ T211] ? snapshot_read.cold+0x21/0x21 [ 11.093766][ T211] ? do_raw_spin_lock+0x131/0x280 [ 11.093769][ T211] ? __rwlock_init+0x150/0x150 [ 11.093772][ T211] ? do_raw_spin_lock+0x131/0x280 [ 11.093775][ T211] do_exit.cold+0x82/0x9c [ 11.093779][ T211] ? exit_notify+0x890/0x890 [ 11.093780][ T211] ? __lock_release.isra.0+0x69/0x1a0 [ 11.093783][ T211] ? rcu_is_watching+0x16/0xd0 [ 11.093787][ T211] do_group_exit+0xb8/0x370 [ 11.093789][ T211] __x64_sys_exit_group+0x3c/0x50 [ 11.093791][ T211] x64_sys_call+0x1567/0x1570 [ 11.093793][ T211] do_syscall_64+0xff/0x530 [ 11.093797][ T211] ? exc_page_fault+0xee/0x100 [ 11.093800][ T211] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.093802][ T211] RIP: 0033:0x7f8982b2f1b8 [ 11.093804][ T211] Code: Unable to access opcode bytes at 0x7f8982b2f18e. [ 11.093810][ T211] RSP: 002b:00007ffd1e02ebe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.093812][ T211] RAX: ffffffffffffffda RBX: 00007f8982c5ff88 RCX: 00007f8982b2f1b8 [ 11.093814][ T211] RDX: 00007f8982879fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.093815][ T211] RBP: 00007ffd1e02ec40 R08: 0000000000000000 R09: 0000000000008010 [ 11.093816][ T211] R10: 00007ffd1e02ea00 R11: 0000000000000246 R12: 0000000000000001 [ 11.093816][ T211] R13: 0000000000000000 R14: 00007f8982c5e680 R15: 00007f8982c5ffa0 [ 11.093823][ T211] [ 14.450731][ T12] veth5: Failed to cycle device veth5; route tables might be wrong! [ 14.450791][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.450793][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 14.450794][ T12] preempt_count: 1, expected: 0 [ 14.450795][ T12] RCU nest depth: 0, expected: 0 [ 14.450796][ T12] locks held by kworker/u16:0/12: 8, last CPU#2: [ 14.450798][ T12] #0: ff11000001a19d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 14.450811][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 14.450815][ T12] #2: ffffffffaf2ffa68 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x940 [ 14.450826][ T12] #3: ffffffffaf31b740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 14.450830][ T12] #4: ffffffffaeb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.450834][ T12] #5: ffffffffaeb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.450838][ T12] #6: ffffffffaea9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.450842][ T12] #7: ffffffffaea9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.450846][ T12] irq event stamp: 28136 [ 14.450847][ T12] hardirqs last enabled at (28135): [] __down_trylock_console_sem+0x86/0xa0 [ 14.450850][ T12] hardirqs last disabled at (28136): [] console_emit_next_record+0x3d4/0x4c0 [ 14.450852][ T12] softirqs last enabled at (28130): [] __netdev_work_core_cancel+0xc0/0x340 [ 14.450855][ T12] softirqs last disabled at (28128): [] __netdev_work_core_cancel+0x21/0x340 [ 14.450857][ T12] Preemption disabled at: [ 14.450858][ T12] [] vprintk_emit+0x31b/0x3e0 [ 14.450863][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.450866][ T12] Tainted: [W]=WARN [ 14.450867][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.450869][ T12] Workqueue: netns cleanup_net [ 14.450872][ T12] Call Trace: [ 14.450874][ T12] [ 14.450877][ T12] dump_stack_lvl+0x6f/0xa0 [ 14.450884][ T12] ? vprintk_emit+0x31b/0x3e0 [ 14.450886][ T12] __might_resched.cold+0x1fe/0x2c1 [ 14.450890][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.450894][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 14.450898][ T12] __kmalloc_noprof+0x443/0x760 [ 14.450900][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 14.450907][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 14.450910][ T12] alloc_buf.isra.0+0x4b/0x260 [ 14.450913][ T12] put_chars+0x1e1/0x2f0 [ 14.450916][ T12] ? __send_to_port+0x420/0x420 [ 14.450920][ T12] ? validate_chain+0x34a/0xc20 [ 14.450924][ T12] hvc_console_print+0x292/0x780 [ 14.450928][ T12] ? mark_usage+0x61/0x170 [ 14.450930][ T12] ? __lock_acquire+0x518/0xc20 [ 14.450932][ T12] ? __lock_acquire+0x518/0xc20 [ 14.450936][ T12] ? hvc_write+0x3a0/0x3a0 [ 14.450939][ T12] ? console_emit_next_record+0x1df/0x4c0 [ 14.450942][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.450945][ T12] ? lock_acquire+0x13c/0x160 [ 14.450949][ T12] console_emit_next_record+0x22f/0x4c0 [ 14.450953][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 14.450955][ T12] ? console_flush_one_record+0x106/0x710 [ 14.450958][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.450960][ T12] ? lock_acquire+0x13c/0x160 [ 14.450964][ T12] console_flush_one_record+0x46f/0x710 [ 14.450968][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 14.450970][ T12] ? __lock_acquire+0x518/0xc20 [ 14.450976][ T12] console_unlock+0xee/0x1f0 [ 14.450979][ T12] ? console_flush_one_record+0x710/0x710 [ 14.450981][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.450983][ T12] ? lock_acquire+0xe0/0x160 [ 14.450988][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.450990][ T12] ? vprintk_emit+0x320/0x3e0 [ 14.450993][ T12] vprintk_emit+0x37c/0x3e0 [ 14.450996][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 14.450998][ T12] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.451001][ T12] ? validate_chain+0x38b/0xc20 [ 14.451003][ T12] ? lockdep_rtnl_is_held+0x1a/0x20 [ 14.451008][ T12] _printk+0xc7/0x100 [ 14.451011][ T12] ? snapshot_read.cold+0x21/0x21 [ 14.451015][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 14.451017][ T12] ? netdev_name+0x43/0x60 [ 14.451021][ T12] ? __netdev_printk+0x17f/0x1d0 [ 14.451025][ T12] netdev_err+0xe2/0x120 [ 14.451027][ T12] ? netdev_crit+0x120/0x120 [ 14.451030][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 14.451035][ T12] ? netif_rx_mode_sync+0x17/0x30 [ 14.451037][ T12] ? dev_change_flags+0xb4/0x270 [ 14.451040][ T12] ? __local_bh_enable_ip+0xaa/0x150 [ 14.451043][ T12] vrf_dellink+0xe9/0x180 [ 14.451047][ T12] ? vrf_map_unregister_dev+0x410/0x410 [ 14.451051][ T12] ? veth_dellink+0xe1/0x190 [ 14.451055][ T12] default_device_exit_batch+0x19d/0x600 [ 14.451058][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 14.451061][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.451063][ T12] ? fou_exit_net+0x30/0x110 [ 14.451068][ T12] ops_undo_list+0x2ce/0x8f0 [ 14.451072][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 14.451076][ T12] ? netns_install+0x2a0/0x2a0 [ 14.451077][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 14.451080][ T12] ? idr_destroy+0x121/0x250 [ 14.451085][ T12] cleanup_net+0x431/0x940 [ 14.451088][ T12] ? net_passive_dec+0x230/0x230 [ 14.451092][ T12] ? lock_acquire+0x13c/0x160 [ 14.451094][ T12] ? rcu_is_watching+0x16/0xd0 [ 14.451098][ T12] process_one_work+0xe3e/0x1560 [ 14.451104][ T12] ? __queue_delayed_work+0x470/0x470 [ 14.451107][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 14.451115][ T12] worker_thread+0x4f1/0xd60 [ 14.451123][ T12] ? rescuer_thread+0x1340/0x1340 [ 14.451125][ T12] kthread+0x367/0x460 [ 14.451127][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.451131][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 14.451134][ T12] ret_from_fork+0x474/0x6b0 [ 14.451138][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 14.451141][ T12] ? __switch_to+0x5a3/0xe00 [ 14.451145][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 14.451147][ T12] ret_from_fork_asm+0x11/0x20 [ 14.451156][ T12] [ 14.483478][ T12] veth7: Failed to cycle device veth7; route tables might be wrong!