[ 9.072882][ T189] ip (189) used greatest stack depth: 24480 bytes left [ 9.072896][ T189] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.072898][ T189] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 189, name: ip [ 9.072900][ T189] preempt_count: 2, expected: 0 [ 9.072901][ T189] RCU nest depth: 0, expected: 0 [ 9.072902][ T189] locks held by ip/189: 5, last CPU#2: [ 9.072904][ T189] #0: ffffffffb54127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.072914][ T189] #1: ffffffffb5579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.072920][ T189] #2: ffffffffb5579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.072923][ T189] #3: ffffffffb5499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.072927][ T189] #4: ffffffffb5499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.072931][ T189] irq event stamp: 27786 [ 9.072932][ T189] hardirqs last enabled at (27785): [] __down_trylock_console_sem+0x86/0xa0 [ 9.072934][ T189] hardirqs last disabled at (27786): [] console_emit_next_record+0x3d4/0x4c0 [ 9.072936][ T189] softirqs last enabled at (26506): [] netlink_release+0x17b/0xcf0 [ 9.072940][ T189] softirqs last disabled at (26504): [] netlink_release+0xd2/0xcf0 [ 9.072943][ T189] Preemption disabled at: [ 9.072943][ T189] [<0000000000000000>] 0x0 [ 9.072950][ T189] CPU: 2 UID: 0 PID: 189 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.072953][ T189] Tainted: [W]=WARN [ 9.072954][ T189] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.072955][ T189] Call Trace: [ 9.072957][ T189] [ 9.072959][ T189] dump_stack_lvl+0x6f/0xa0 [ 9.072964][ T189] __might_resched.cold+0x1fe/0x2c1 [ 9.072969][ T189] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.072973][ T189] ? __kmalloc_noprof+0xdb/0x760 [ 9.072978][ T189] __kmalloc_noprof+0x443/0x760 [ 9.072980][ T189] ? alloc_buf.isra.0+0x4b/0x260 [ 9.072986][ T189] ? do_raw_spin_unlock+0x59/0x250 [ 9.072988][ T189] alloc_buf.isra.0+0x4b/0x260 [ 9.072991][ T189] put_chars+0x1e1/0x2f0 [ 9.072994][ T189] ? __send_to_port+0x420/0x420 [ 9.072995][ T189] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.073000][ T189] ? validate_chain+0x38b/0xc20 [ 9.073005][ T189] hvc_console_print+0x292/0x780 [ 9.073015][ T189] ? hvc_write+0x3a0/0x3a0 [ 9.073018][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.073020][ T189] ? lock_acquire+0x13c/0x160 [ 9.073024][ T189] console_emit_next_record+0x22f/0x4c0 [ 9.073028][ T189] ? devkmsg_read+0x4b0/0x4b0 [ 9.073029][ T189] ? console_flush_one_record+0x106/0x710 [ 9.073032][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.073035][ T189] ? lock_acquire+0x13c/0x160 [ 9.073039][ T189] console_flush_one_record+0x46f/0x710 [ 9.073043][ T189] ? console_emit_next_record+0x4c0/0x4c0 [ 9.073044][ T189] ? __lock_acquire+0x518/0xc20 [ 9.073049][ T189] console_unlock+0xee/0x1f0 [ 9.073052][ T189] ? console_flush_one_record+0x710/0x710 [ 9.073054][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.073056][ T189] ? lock_acquire+0x60/0x160 [ 9.073059][ T189] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.073061][ T189] ? vprintk_emit+0x320/0x3e0 [ 9.073064][ T189] vprintk_emit+0x37c/0x3e0 [ 9.073068][ T189] ? wake_up_klogd_work_func+0x90/0x90 [ 9.073071][ T189] ? __lock_acquire+0x518/0xc20 [ 9.073075][ T189] _printk+0xc7/0x100 [ 9.073078][ T189] ? snapshot_read.cold+0x21/0x21 [ 9.073081][ T189] ? do_raw_spin_lock+0x131/0x280 [ 9.073083][ T189] ? __rwlock_init+0x150/0x150 [ 9.073087][ T189] ? do_raw_spin_lock+0x131/0x280 [ 9.073089][ T189] do_exit.cold+0x82/0x9c [ 9.073093][ T189] ? exit_notify+0x890/0x890 [ 9.073094][ T189] ? __lock_release.isra.0+0x69/0x1a0 [ 9.073097][ T189] ? rcu_is_watching+0x16/0xd0 [ 9.073101][ T189] do_group_exit+0xb8/0x370 [ 9.073103][ T189] __x64_sys_exit_group+0x3c/0x50 [ 9.073105][ T189] x64_sys_call+0x1567/0x1570 [ 9.073108][ T189] do_syscall_64+0xff/0x530 [ 9.073111][ T189] ? exc_page_fault+0xee/0x100 [ 9.073114][ T189] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.073116][ T189] RIP: 0033:0x7f713ee131b8 [ 9.073119][ T189] Code: Unable to access opcode bytes at 0x7f713ee1318e. [ 9.073120][ T189] RSP: 002b:00007ffe1a735e48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.073122][ T189] RAX: ffffffffffffffda RBX: 00007f713ef43f88 RCX: 00007f713ee131b8 [ 9.073123][ T189] RDX: 00007f713eb5dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.073124][ T189] RBP: 00007ffe1a735ea0 R08: 0000000000000000 R09: 0000000000000000 [ 9.073125][ T189] R10: 00007ffe1a735c60 R11: 0000000000000246 R12: 0000000000000001 [ 9.073126][ T189] R13: 0000000000000000 R14: 00007f713ef42680 R15: 00007f713ef43fa0 [ 9.073132][ T189] [ 9.113177][ T192] ip (192) used greatest stack depth: 24000 bytes left [ 9.377576][ T201] rb_a: entered promiscuous mode [ 9.378444][ T201] rb_b: entered promiscuous mode [ 9.379435][ T201] rb_il: entered promiscuous mode [ 9.443386][ T203] pe_a: entered promiscuous mode [ 9.444131][ T203] pe_b: entered promiscuous mode [ 9.444880][ T203] debugfs: 'prp0' already exists in 'hsr' [ 9.445113][ T203] Cannot create hsr debugfs directory [ 9.475323][ T204] prp0: Slave A (pe_a) is not up; please bring it up to get a fully working HSR network [ 16.144832][ T69] rb_a: left promiscuous mode [ 16.144877][ T69] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.144879][ T69] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 69, name: kworker/u16:1 [ 16.144881][ T69] preempt_count: 1, expected: 0 [ 16.144882][ T69] RCU nest depth: 0, expected: 0 [ 16.144883][ T69] locks held by kworker/u16:1/69: 8, last CPU#3: [ 16.144885][ T69] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 16.144896][ T69] #1: ffa00000004a7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 16.144900][ T69] #2: ffffffffb5cc7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 16.144906][ T69] #3: ffffffffb5ce3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 16.144910][ T69] #4: ffffffffb5579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.144914][ T69] #5: ffffffffb5579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.144918][ T69] #6: ffffffffb5499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.144921][ T69] #7: ffffffffb5499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.144925][ T69] irq event stamp: 13618 [ 16.144926][ T69] hardirqs last enabled at (13617): [] __down_trylock_console_sem+0x86/0xa0 [ 16.144928][ T69] hardirqs last disabled at (13618): [] console_emit_next_record+0x3d4/0x4c0 [ 16.144930][ T69] softirqs last enabled at (13490): [] tcp_close+0x2b/0xb0 [ 16.144933][ T69] softirqs last disabled at (13488): [] release_sock+0x21/0x240 [ 16.144936][ T69] Preemption disabled at: [ 16.144937][ T69] [] vprintk_emit+0x31b/0x3e0 [ 16.144942][ T69] CPU: 3 UID: 0 PID: 69 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.144945][ T69] Tainted: [W]=WARN [ 16.144946][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.144948][ T69] Workqueue: netns cleanup_net [ 16.144951][ T69] Call Trace: [ 16.144952][ T69] [ 16.144954][ T69] dump_stack_lvl+0x6f/0xa0 [ 16.144960][ T69] ? vprintk_emit+0x31b/0x3e0 [ 16.144962][ T69] __might_resched.cold+0x1fe/0x2c1 [ 16.144967][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.144971][ T69] ? __kmalloc_noprof+0xdb/0x760 [ 16.144976][ T69] __kmalloc_noprof+0x443/0x760 [ 16.144978][ T69] ? alloc_buf.isra.0+0x4b/0x260 [ 16.144984][ T69] ? do_raw_spin_unlock+0x59/0x250 [ 16.144986][ T69] alloc_buf.isra.0+0x4b/0x260 [ 16.144990][ T69] put_chars+0x1e1/0x2f0 [ 16.144992][ T69] ? check_prev_add+0xef/0xe90 [ 16.144994][ T69] ? __send_to_port+0x420/0x420 [ 16.144997][ T69] ? validate_chain+0x34a/0xc20 [ 16.145002][ T69] hvc_console_print+0x292/0x780 [ 16.145009][ T69] ? hvc_write+0x3a0/0x3a0 [ 16.145011][ T69] ? rcu_is_watching+0x16/0xd0 [ 16.145015][ T69] ? lock_acquire+0x13c/0x160 [ 16.145020][ T69] console_emit_next_record+0x22f/0x4c0 [ 16.145023][ T69] ? devkmsg_read+0x4b0/0x4b0 [ 16.145025][ T69] ? console_flush_one_record+0x106/0x710 [ 16.145028][ T69] ? rcu_is_watching+0x16/0xd0 [ 16.145030][ T69] ? lock_acquire+0x13c/0x160 [ 16.145034][ T69] console_flush_one_record+0x46f/0x710 [ 16.145039][ T69] ? console_emit_next_record+0x4c0/0x4c0 [ 16.145040][ T69] ? __lock_acquire+0x518/0xc20 [ 16.145046][ T69] console_unlock+0xee/0x1f0 [ 16.145048][ T69] ? console_flush_one_record+0x710/0x710 [ 16.145050][ T69] ? rcu_is_watching+0x16/0xd0 [ 16.145053][ T69] ? lock_acquire+0x60/0x160 [ 16.145056][ T69] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.145058][ T69] ? vprintk_emit+0x320/0x3e0 [ 16.145061][ T69] vprintk_emit+0x37c/0x3e0 [ 16.145069][ T69] ? wake_up_klogd_work_func+0x90/0x90 [ 16.145072][ T69] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.145074][ T69] ? lockdep_hardirqs_on+0x91/0x130 [ 16.145077][ T69] ? finish_task_switch.isra.0+0x209/0xa70 [ 16.145078][ T69] ? finish_task_switch.isra.0+0x209/0xa70 [ 16.145082][ T69] _printk+0xc7/0x100 [ 16.145086][ T69] ? snapshot_read.cold+0x21/0x21 [ 16.145089][ T69] ? synchronize_rcu_expedited+0x440/0x510 [ 16.145092][ T69] ? netdev_name+0x43/0x60 [ 16.145095][ T69] ? __netdev_printk+0x17f/0x1d0 [ 16.145098][ T69] netdev_info+0xe2/0x116 [ 16.145101][ T69] ? netdev_notice+0x120/0x120 [ 16.145104][ T69] ? synchronize_rcu_expedited+0x440/0x510 [ 16.145106][ T69] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 16.145108][ T69] ? synchronize_rcu_normal+0x340/0x340 [ 16.145112][ T69] ? mutex_is_locked+0x1c/0x50 [ 16.145115][ T69] __dev_set_promiscuity.cold+0x95/0x104 [ 16.145118][ T69] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 16.145121][ T69] netif_set_promiscuity+0x4c/0xc0 [ 16.145125][ T69] dev_set_promiscuity+0x9d/0x150 [ 16.145128][ T69] hsr_del_port+0x39d/0x540 [ 16.145133][ T69] hsr_del_ports+0x24/0x80 [ 16.145135][ T69] hsr_dellink+0x5d/0x90 [ 16.145138][ T69] default_device_exit_batch+0x19d/0x600 [ 16.145141][ T69] ? unregister_netdevice_queue+0x470/0x470 [ 16.145144][ T69] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.145146][ T69] ? mutex_is_locked+0x1c/0x50 [ 16.145150][ T69] ops_undo_list+0x2ce/0x8f0 [ 16.145154][ T69] ? lockdep_hardirqs_on+0x91/0x130 [ 16.145156][ T69] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 16.145157][ T69] ? __lock_release.isra.0+0x69/0x1a0 [ 16.145160][ T69] ? idr_destroy+0x121/0x250 [ 16.145165][ T69] cleanup_net+0x431/0x890 [ 16.145168][ T69] ? net_passive_dec+0x230/0x230 [ 16.145172][ T69] ? lock_acquire+0x13c/0x160 [ 16.145174][ T69] ? rcu_is_watching+0x16/0xd0 [ 16.145178][ T69] process_one_work+0xe3e/0x1560 [ 16.145184][ T69] ? __queue_delayed_work+0x470/0x470 [ 16.145187][ T69] ? lock_acquire.part.0+0xd4/0x280 [ 16.145194][ T69] worker_thread+0x4f1/0xd60 [ 16.145198][ T69] ? rescuer_thread+0x1340/0x1340 [ 16.145200][ T69] ? __kthread_parkme+0xbd/0x210 [ 16.145204][ T69] ? rescuer_thread+0x1340/0x1340 [ 16.145207][ T69] ? rescuer_thread+0x1340/0x1340 [ 16.145209][ T69] kthread+0x367/0x460 [ 16.145211][ T69] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.145214][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.145217][ T69] ret_from_fork+0x474/0x6b0 [ 16.145220][ T69] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 16.145224][ T69] ? __switch_to+0x5a3/0xe00 [ 16.145227][ T69] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.145229][ T69] ret_from_fork_asm+0x11/0x20 [ 16.145238][ T69] [ 16.172118][ T69] rb_b: left promiscuous mode [ 16.179671][ T69] rb_il: left promiscuous mode [ 16.195042][ T69] pe_b (unregistering): left promiscuous mode [ 16.198182][ T69] pe_a (unregistering): left promiscuous mode