[ 9.056059][ T176] ip (176) used greatest stack depth: 24080 bytes left [ 9.056076][ T176] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.056078][ T176] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 176, name: ip [ 9.056080][ T176] preempt_count: 2, expected: 0 [ 9.056081][ T176] RCU nest depth: 0, expected: 0 [ 9.056082][ T176] locks held by ip/176: 5, last CPU#2: [ 9.056084][ T176] #0: ffffffff8cc127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.056096][ T176] #1: ffffffff8cd79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.056102][ T176] #2: ffffffff8cd79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.056106][ T176] #3: ffffffff8cc99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.056109][ T176] #4: ffffffff8cc99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.056113][ T176] irq event stamp: 26434 [ 9.056114][ T176] hardirqs last enabled at (26433): [] __down_trylock_console_sem+0x86/0xa0 [ 9.056116][ T176] hardirqs last disabled at (26434): [] console_emit_next_record+0x3d4/0x4c0 [ 9.056118][ T176] softirqs last enabled at (24864): [] netlink_release+0x17b/0xcf0 [ 9.056122][ T176] softirqs last disabled at (24862): [] netlink_release+0xd2/0xcf0 [ 9.056125][ T176] Preemption disabled at: [ 9.056125][ T176] [<0000000000000000>] 0x0 [ 9.056132][ T176] CPU: 2 UID: 0 PID: 176 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.056136][ T176] Tainted: [W]=WARN [ 9.056137][ T176] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.056138][ T176] Call Trace: [ 9.056140][ T176] [ 9.056142][ T176] dump_stack_lvl+0x6f/0xa0 [ 9.056148][ T176] __might_resched.cold+0x1fe/0x2c1 [ 9.056152][ T176] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.056156][ T176] ? __kmalloc_noprof+0xdb/0x760 [ 9.056161][ T176] __kmalloc_noprof+0x443/0x760 [ 9.056163][ T176] ? alloc_buf.isra.0+0x4b/0x260 [ 9.056169][ T176] ? do_raw_spin_unlock+0x59/0x250 [ 9.056172][ T176] alloc_buf.isra.0+0x4b/0x260 [ 9.056175][ T176] put_chars+0x1e1/0x2f0 [ 9.056178][ T176] ? __send_to_port+0x420/0x420 [ 9.056180][ T176] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.056185][ T176] ? validate_chain+0x38b/0xc20 [ 9.056189][ T176] hvc_console_print+0x292/0x780 [ 9.056196][ T176] ? hvc_write+0x3a0/0x3a0 [ 9.056198][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.056201][ T176] ? lock_acquire+0x13c/0x160 [ 9.056205][ T176] console_emit_next_record+0x22f/0x4c0 [ 9.056208][ T176] ? devkmsg_read+0x4b0/0x4b0 [ 9.056210][ T176] ? console_flush_one_record+0x106/0x710 [ 9.056213][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.056216][ T176] ? lock_acquire+0x13c/0x160 [ 9.056219][ T176] console_flush_one_record+0x46f/0x710 [ 9.056223][ T176] ? console_emit_next_record+0x4c0/0x4c0 [ 9.056225][ T176] ? __lock_acquire+0x518/0xc20 [ 9.056230][ T176] console_unlock+0xee/0x1f0 [ 9.056233][ T176] ? console_flush_one_record+0x710/0x710 [ 9.056235][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.056237][ T176] ? lock_acquire+0x60/0x160 [ 9.056241][ T176] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.056242][ T176] ? vprintk_emit+0x320/0x3e0 [ 9.056246][ T176] vprintk_emit+0x37c/0x3e0 [ 9.056249][ T176] ? wake_up_klogd_work_func+0x90/0x90 [ 9.056253][ T176] ? __lock_acquire+0x518/0xc20 [ 9.056256][ T176] _printk+0xc7/0x100 [ 9.056260][ T176] ? snapshot_read.cold+0x21/0x21 [ 9.056263][ T176] ? do_raw_spin_lock+0x131/0x280 [ 9.056265][ T176] ? __rwlock_init+0x150/0x150 [ 9.056269][ T176] ? do_raw_spin_lock+0x131/0x280 [ 9.056271][ T176] do_exit.cold+0x82/0x9c [ 9.056275][ T176] ? exit_notify+0x890/0x890 [ 9.056276][ T176] ? __lock_release.isra.0+0x69/0x1a0 [ 9.056279][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.056283][ T176] do_group_exit+0xb8/0x370 [ 9.056286][ T176] __x64_sys_exit_group+0x3c/0x50 [ 9.056288][ T176] x64_sys_call+0x1567/0x1570 [ 9.056290][ T176] do_syscall_64+0xff/0x530 [ 9.056294][ T176] ? exc_page_fault+0xee/0x100 [ 9.056297][ T176] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.056299][ T176] RIP: 0033:0x7f65292db1b8 [ 9.056301][ T176] Code: Unable to access opcode bytes at 0x7f65292db18e. [ 9.056303][ T176] RSP: 002b:00007ffc0bd058e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.056305][ T176] RAX: ffffffffffffffda RBX: 00007f652940bf88 RCX: 00007f65292db1b8 [ 9.056306][ T176] RDX: 00007f6529025fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.056307][ T176] RBP: 00007ffc0bd05940 R08: 0000000000000000 R09: 0000000000000050 [ 9.056308][ T176] R10: 00007ffc0bd05700 R11: 0000000000000246 R12: 0000000000000001 [ 9.056309][ T176] R13: 0000000000000000 R14: 00007f652940a680 R15: 00007f652940bfa0 [ 9.056315][ T176] [ 9.825313][ T200] rb_a: entered promiscuous mode [ 9.826488][ T200] rb_b: entered promiscuous mode [ 9.827516][ T200] rb_il: entered promiscuous mode [ 9.884626][ T203] pe_a: entered promiscuous mode [ 9.885370][ T203] pe_b: entered promiscuous mode [ 9.886167][ T203] debugfs: 'prp0' already exists in 'hsr' [ 9.886462][ T203] Cannot create hsr debugfs directory [ 9.920024][ T204] prp0: Slave A (pe_a) is not up; please bring it up to get a fully working HSR network [ 16.626711][ T12] rb_a: left promiscuous mode [ 16.626762][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.626764][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 16.626765][ T12] preempt_count: 1, expected: 0 [ 16.626767][ T12] RCU nest depth: 0, expected: 0 [ 16.626767][ T12] locks held by kworker/u16:0/12: 8, last CPU#1: [ 16.626769][ T12] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 16.626782][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 16.626786][ T12] #2: ffffffff8d4c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 16.626791][ T12] #3: ffffffff8d4e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 16.626795][ T12] #4: ffffffff8cd79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.626800][ T12] #5: ffffffff8cd79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.626804][ T12] #6: ffffffff8cc99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.626807][ T12] #7: ffffffff8cc99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.626811][ T12] irq event stamp: 14354 [ 16.626812][ T12] hardirqs last enabled at (14353): [] __down_trylock_console_sem+0x86/0xa0 [ 16.626814][ T12] hardirqs last disabled at (14354): [] console_emit_next_record+0x3d4/0x4c0 [ 16.626816][ T12] softirqs last enabled at (14244): [] handle_softirqs+0x67c/0x900 [ 16.626819][ T12] softirqs last disabled at (14239): [] __irq_exit_rcu+0x145/0x1c0 [ 16.626821][ T12] Preemption disabled at: [ 16.626822][ T12] [] vprintk_emit+0x31b/0x3e0 [ 16.626828][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.626831][ T12] Tainted: [W]=WARN [ 16.626832][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.626834][ T12] Workqueue: netns cleanup_net [ 16.626838][ T12] Call Trace: [ 16.626840][ T12] [ 16.626842][ T12] dump_stack_lvl+0x6f/0xa0 [ 16.626848][ T12] ? vprintk_emit+0x31b/0x3e0 [ 16.626850][ T12] __might_resched.cold+0x1fe/0x2c1 [ 16.626854][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.626858][ T12] ? __kmalloc_noprof+0xdb/0x760 [ 16.626864][ T12] __kmalloc_noprof+0x443/0x760 [ 16.626866][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 16.626872][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 16.626875][ T12] alloc_buf.isra.0+0x4b/0x260 [ 16.626878][ T12] put_chars+0x1e1/0x2f0 [ 16.626880][ T12] ? check_prev_add+0xef/0xe90 [ 16.626882][ T12] ? __send_to_port+0x420/0x420 [ 16.626886][ T12] ? validate_chain+0x34a/0xc20 [ 16.626890][ T12] hvc_console_print+0x292/0x780 [ 16.626897][ T12] ? hvc_write+0x3a0/0x3a0 [ 16.626900][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.626904][ T12] ? lock_acquire+0x13c/0x160 [ 16.626908][ T12] console_emit_next_record+0x22f/0x4c0 [ 16.626912][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 16.626913][ T12] ? console_flush_one_record+0x106/0x710 [ 16.626917][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.626919][ T12] ? lock_acquire+0x13c/0x160 [ 16.626923][ T12] console_flush_one_record+0x46f/0x710 [ 16.626927][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 16.626929][ T12] ? __lock_acquire+0x518/0xc20 [ 16.626934][ T12] console_unlock+0xee/0x1f0 [ 16.626937][ T12] ? console_flush_one_record+0x710/0x710 [ 16.626939][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.626941][ T12] ? lock_acquire+0x60/0x160 [ 16.626945][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.626947][ T12] ? vprintk_emit+0x320/0x3e0 [ 16.626950][ T12] vprintk_emit+0x37c/0x3e0 [ 16.626954][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 16.626956][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.626958][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 16.626961][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 16.626963][ T12] ? finish_task_switch.isra.0+0x209/0xa70 [ 16.626966][ T12] _printk+0xc7/0x100 [ 16.626970][ T12] ? snapshot_read.cold+0x21/0x21 [ 16.626973][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 16.626975][ T12] ? netdev_name+0x43/0x60 [ 16.626979][ T12] ? __netdev_printk+0x17f/0x1d0 [ 16.626982][ T12] netdev_info+0xe2/0x116 [ 16.626984][ T12] ? netdev_notice+0x120/0x120 [ 16.626988][ T12] ? synchronize_rcu_expedited+0x440/0x510 [ 16.626989][ T12] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 16.626991][ T12] ? synchronize_rcu_normal+0x340/0x340 [ 16.626995][ T12] ? mutex_is_locked+0x1c/0x50 [ 16.626999][ T12] __dev_set_promiscuity.cold+0x95/0x104 [ 16.627002][ T12] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 16.627005][ T12] netif_set_promiscuity+0x4c/0xc0 [ 16.627009][ T12] dev_set_promiscuity+0x9d/0x150 [ 16.627012][ T12] hsr_del_port+0x39d/0x540 [ 16.627017][ T12] hsr_del_ports+0x24/0x80 [ 16.627019][ T12] hsr_dellink+0x5d/0x90 [ 16.627022][ T12] default_device_exit_batch+0x19d/0x600 [ 16.627025][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 16.627028][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.627030][ T12] ? mutex_is_locked+0x1c/0x50 [ 16.627034][ T12] ops_undo_list+0x2ce/0x8f0 [ 16.627038][ T12] ? lockdep_hardirqs_on+0x91/0x130 [ 16.627040][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 16.627041][ T12] ? __lock_release.isra.0+0x69/0x1a0 [ 16.627044][ T12] ? idr_destroy+0x121/0x250 [ 16.627049][ T12] cleanup_net+0x431/0x890 [ 16.627052][ T12] ? net_passive_dec+0x230/0x230 [ 16.627056][ T12] ? lock_acquire+0x13c/0x160 [ 16.627058][ T12] ? rcu_is_watching+0x16/0xd0 [ 16.627062][ T12] process_one_work+0xe3e/0x1560 [ 16.627068][ T12] ? __queue_delayed_work+0x470/0x470 [ 16.627071][ T12] ? lock_acquire.part.0+0xd4/0x280 [ 16.627083][ T12] worker_thread+0x4f1/0xd60 [ 16.627090][ T12] ? rescuer_thread+0x1340/0x1340 [ 16.627093][ T12] kthread+0x367/0x460 [ 16.627095][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.627098][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.627101][ T12] ret_from_fork+0x474/0x6b0 [ 16.627105][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 16.627108][ T12] ? __switch_to+0x5a3/0xe00 [ 16.627111][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.627114][ T12] ret_from_fork_asm+0x11/0x20 [ 16.627122][ T12] [ 16.655069][ T12] rb_b: left promiscuous mode [ 16.656431][ T12] rb_il: left promiscuous mode [ 16.676420][ T12] pe_b (unregistering): left promiscuous mode [ 16.679724][ T12] pe_a (unregistering): left promiscuous mode [ 16.992177][ T164] perl (164) used greatest stack depth: 23840 bytes left