[ 8.769721][ T183] ip (183) used greatest stack depth: 24528 bytes left [ 8.769737][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.769738][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: ip [ 8.769740][ T183] preempt_count: 2, expected: 0 [ 8.769741][ T183] RCU nest depth: 0, expected: 0 [ 8.769742][ T183] locks held by ip/183: 5, last CPU#2: [ 8.769744][ T183] #0: ffffffff970127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.769755][ T183] #1: ffffffff97179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.769761][ T183] #2: ffffffff97179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.769764][ T183] #3: ffffffff97099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.769768][ T183] #4: ffffffff97099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.769772][ T183] irq event stamp: 35430 [ 8.769773][ T183] hardirqs last enabled at (35429): [] __down_trylock_console_sem+0x86/0xa0 [ 8.769775][ T183] hardirqs last disabled at (35430): [] console_emit_next_record+0x3d4/0x4c0 [ 8.769777][ T183] softirqs last enabled at (34178): [] handle_softirqs+0x67c/0x900 [ 8.769779][ T183] softirqs last disabled at (32805): [] __irq_exit_rcu+0x145/0x1c0 [ 8.769781][ T183] Preemption disabled at: [ 8.769782][ T183] [<0000000000000000>] 0x0 [ 8.769788][ T183] CPU: 2 UID: 0 PID: 183 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.769791][ T183] Tainted: [W]=WARN [ 8.769792][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.769794][ T183] Call Trace: [ 8.769795][ T183] [ 8.769797][ T183] dump_stack_lvl+0x6f/0xa0 [ 8.769803][ T183] __might_resched.cold+0x1fe/0x2c1 [ 8.769807][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.769811][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 8.769816][ T183] __kmalloc_noprof+0x443/0x760 [ 8.769818][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 8.769824][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 8.769826][ T183] alloc_buf.isra.0+0x4b/0x260 [ 8.769830][ T183] put_chars+0x1e1/0x2f0 [ 8.769833][ T183] ? __send_to_port+0x420/0x420 [ 8.769834][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.769839][ T183] ? validate_chain+0x38b/0xc20 [ 8.769844][ T183] hvc_console_print+0x292/0x780 [ 8.769851][ T183] ? hvc_write+0x3a0/0x3a0 [ 8.769853][ T183] ? rcu_is_watching+0x16/0xd0 [ 8.769855][ T183] ? lock_acquire+0x13c/0x160 [ 8.769859][ T183] console_emit_next_record+0x22f/0x4c0 [ 8.769863][ T183] ? devkmsg_read+0x4b0/0x4b0 [ 8.769865][ T183] ? console_flush_one_record+0x106/0x710 [ 8.769868][ T183] ? rcu_is_watching+0x16/0xd0 [ 8.769870][ T183] ? lock_acquire+0x13c/0x160 [ 8.769874][ T183] console_flush_one_record+0x46f/0x710 [ 8.769878][ T183] ? console_emit_next_record+0x4c0/0x4c0 [ 8.769879][ T183] ? __lock_acquire+0x518/0xc20 [ 8.769884][ T183] console_unlock+0xee/0x1f0 [ 8.769887][ T183] ? console_flush_one_record+0x710/0x710 [ 8.769889][ T183] ? rcu_is_watching+0x16/0xd0 [ 8.769891][ T183] ? lock_acquire+0x60/0x160 [ 8.769894][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.769896][ T183] ? vprintk_emit+0x320/0x3e0 [ 8.769900][ T183] vprintk_emit+0x37c/0x3e0 [ 8.769903][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 8.769907][ T183] ? __lock_acquire+0x518/0xc20 [ 8.769910][ T183] _printk+0xc7/0x100 [ 8.769914][ T183] ? snapshot_read.cold+0x21/0x21 [ 8.769916][ T183] ? do_raw_spin_lock+0x131/0x280 [ 8.769919][ T183] ? __rwlock_init+0x150/0x150 [ 8.769922][ T183] ? do_raw_spin_lock+0x131/0x280 [ 8.769925][ T183] do_exit.cold+0x82/0x9c [ 8.769929][ T183] ? exit_notify+0x890/0x890 [ 8.769930][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 8.769933][ T183] ? rcu_is_watching+0x16/0xd0 [ 8.769937][ T183] do_group_exit+0xb8/0x370 [ 8.769940][ T183] __x64_sys_exit_group+0x3c/0x50 [ 8.769941][ T183] x64_sys_call+0x1567/0x1570 [ 8.769944][ T183] do_syscall_64+0xff/0x530 [ 8.769948][ T183] ? exc_page_fault+0xee/0x100 [ 8.769951][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.769953][ T183] RIP: 0033:0x7fc333ed71b8 [ 8.769955][ T183] Code: Unable to access opcode bytes at 0x7fc333ed718e. [ 8.769956][ T183] RSP: 002b:00007ffcefbbce88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.769959][ T183] RAX: ffffffffffffffda RBX: 00007fc334007f88 RCX: 00007fc333ed71b8 [ 8.769960][ T183] RDX: 00007fc333c21fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 8.769961][ T183] RBP: 00007ffcefbbcee0 R08: 0000000000000000 R09: 0000000000000050 [ 8.769962][ T183] R10: 00007ffcefbbcca0 R11: 0000000000000246 R12: 0000000000000001 [ 8.769963][ T183] R13: 0000000000000000 R14: 00007fc334006680 R15: 00007fc334007fa0 [ 8.769969][ T183] [ 9.038748][ T191] ip (191) used greatest stack depth: 24144 bytes left [ 9.348359][ T201] rb_a: entered promiscuous mode [ 9.349439][ T201] rb_b: entered promiscuous mode [ 9.350349][ T201] rb_il: entered promiscuous mode [ 9.403248][ T204] pe_a: entered promiscuous mode [ 9.403972][ T204] pe_b: entered promiscuous mode [ 9.404685][ T204] debugfs: 'prp0' already exists in 'hsr' [ 9.404909][ T204] Cannot create hsr debugfs directory [ 9.435762][ T205] prp0: Slave A (pe_a) is not up; please bring it up to get a fully working HSR network [ 16.101381][ T68] rb_a: left promiscuous mode [ 16.101425][ T68] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.101428][ T68] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 68, name: kworker/u16:1 [ 16.101429][ T68] preempt_count: 1, expected: 0 [ 16.101430][ T68] RCU nest depth: 0, expected: 0 [ 16.101431][ T68] locks held by kworker/u16:1/68: 8, last CPU#2: [ 16.101433][ T68] #0: ff11000001a09d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 16.101445][ T68] #1: ffa0000000497d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 16.101448][ T68] #2: ffffffff978c7a88 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 16.101454][ T68] #3: ffffffff978e3740 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x9a/0x600 [ 16.101457][ T68] #4: ffffffff97179cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.101462][ T68] #5: ffffffff97179d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.101466][ T68] #6: ffffffff97099660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.101469][ T68] #7: ffffffff97099560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.101473][ T68] irq event stamp: 9212 [ 16.101474][ T68] hardirqs last enabled at (9211): [] __down_trylock_console_sem+0x86/0xa0 [ 16.101476][ T68] hardirqs last disabled at (9212): [] console_emit_next_record+0x3d4/0x4c0 [ 16.101478][ T68] softirqs last enabled at (9084): [] tcp_close+0x2b/0xb0 [ 16.101481][ T68] softirqs last disabled at (9082): [] release_sock+0x21/0x240 [ 16.101484][ T68] Preemption disabled at: [ 16.101485][ T68] [] vprintk_emit+0x31b/0x3e0 [ 16.101490][ T68] CPU: 2 UID: 0 PID: 68 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.101496][ T68] Tainted: [W]=WARN [ 16.101498][ T68] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.101499][ T68] Workqueue: netns cleanup_net [ 16.101503][ T68] Call Trace: [ 16.101504][ T68] [ 16.101506][ T68] dump_stack_lvl+0x6f/0xa0 [ 16.101512][ T68] ? vprintk_emit+0x31b/0x3e0 [ 16.101515][ T68] __might_resched.cold+0x1fe/0x2c1 [ 16.101519][ T68] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.101523][ T68] ? __kmalloc_noprof+0xdb/0x760 [ 16.101528][ T68] __kmalloc_noprof+0x443/0x760 [ 16.101530][ T68] ? alloc_buf.isra.0+0x4b/0x260 [ 16.101536][ T68] ? do_raw_spin_unlock+0x59/0x250 [ 16.101538][ T68] alloc_buf.isra.0+0x4b/0x260 [ 16.101542][ T68] put_chars+0x1e1/0x2f0 [ 16.101544][ T68] ? check_prev_add+0xef/0xe90 [ 16.101546][ T68] ? __send_to_port+0x420/0x420 [ 16.101549][ T68] ? validate_chain+0x34a/0xc20 [ 16.101554][ T68] hvc_console_print+0x292/0x780 [ 16.101561][ T68] ? hvc_write+0x3a0/0x3a0 [ 16.101563][ T68] ? rcu_is_watching+0x16/0xd0 [ 16.101567][ T68] ? lock_acquire+0x13c/0x160 [ 16.101571][ T68] console_emit_next_record+0x22f/0x4c0 [ 16.101575][ T68] ? devkmsg_read+0x4b0/0x4b0 [ 16.101577][ T68] ? console_flush_one_record+0x106/0x710 [ 16.101580][ T68] ? rcu_is_watching+0x16/0xd0 [ 16.101582][ T68] ? lock_acquire+0x13c/0x160 [ 16.101586][ T68] console_flush_one_record+0x46f/0x710 [ 16.101591][ T68] ? console_emit_next_record+0x4c0/0x4c0 [ 16.101592][ T68] ? __lock_acquire+0x518/0xc20 [ 16.101598][ T68] console_unlock+0xee/0x1f0 [ 16.101600][ T68] ? console_flush_one_record+0x710/0x710 [ 16.101602][ T68] ? rcu_is_watching+0x16/0xd0 [ 16.101605][ T68] ? lock_acquire+0x60/0x160 [ 16.101608][ T68] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.101610][ T68] ? vprintk_emit+0x320/0x3e0 [ 16.101613][ T68] vprintk_emit+0x37c/0x3e0 [ 16.101617][ T68] ? wake_up_klogd_work_func+0x90/0x90 [ 16.101620][ T68] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 16.101621][ T68] ? lockdep_hardirqs_on+0x91/0x130 [ 16.101624][ T68] ? finish_task_switch.isra.0+0x209/0xa70 [ 16.101626][ T68] ? finish_task_switch.isra.0+0x209/0xa70 [ 16.101629][ T68] _printk+0xc7/0x100 [ 16.101633][ T68] ? snapshot_read.cold+0x21/0x21 [ 16.101636][ T68] ? synchronize_rcu_expedited+0x440/0x510 [ 16.101639][ T68] ? netdev_name+0x43/0x60 [ 16.101642][ T68] ? __netdev_printk+0x17f/0x1d0 [ 16.101646][ T68] netdev_info+0xe2/0x116 [ 16.101648][ T68] ? netdev_notice+0x120/0x120 [ 16.101651][ T68] ? synchronize_rcu_expedited+0x440/0x510 [ 16.101653][ T68] ? netif_set_mtu_ext+0x5f0/0x5f0 [ 16.101655][ T68] ? synchronize_rcu_normal+0x340/0x340 [ 16.101659][ T68] ? mutex_is_locked+0x1c/0x50 [ 16.101662][ T68] __dev_set_promiscuity.cold+0x95/0x104 [ 16.101665][ T68] ? sync_rcu_exp_select_cpus+0x700/0x700 [ 16.101668][ T68] netif_set_promiscuity+0x4c/0xc0 [ 16.101672][ T68] dev_set_promiscuity+0x9d/0x150 [ 16.101675][ T68] hsr_del_port+0x39d/0x540 [ 16.101680][ T68] hsr_del_ports+0x24/0x80 [ 16.101682][ T68] hsr_dellink+0x5d/0x90 [ 16.101685][ T68] default_device_exit_batch+0x19d/0x600 [ 16.101688][ T68] ? unregister_netdevice_queue+0x470/0x470 [ 16.101690][ T68] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.101693][ T68] ? mutex_is_locked+0x1c/0x50 [ 16.101697][ T68] ops_undo_list+0x2ce/0x8f0 [ 16.101700][ T68] ? lockdep_hardirqs_on+0x91/0x130 [ 16.101702][ T68] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 16.101704][ T68] ? __lock_release.isra.0+0x69/0x1a0 [ 16.101707][ T68] ? idr_destroy+0x121/0x250 [ 16.101712][ T68] cleanup_net+0x431/0x890 [ 16.101715][ T68] ? net_passive_dec+0x230/0x230 [ 16.101719][ T68] ? lock_acquire+0x13c/0x160 [ 16.101720][ T68] ? rcu_is_watching+0x16/0xd0 [ 16.101724][ T68] process_one_work+0xe3e/0x1560 [ 16.101731][ T68] ? __queue_delayed_work+0x470/0x470 [ 16.101734][ T68] ? lock_acquire.part.0+0xd4/0x280 [ 16.101741][ T68] worker_thread+0x4f1/0xd60 [ 16.101745][ T68] ? rescuer_thread+0x1340/0x1340 [ 16.101747][ T68] ? __kthread_parkme+0xbd/0x210 [ 16.101750][ T68] ? rescuer_thread+0x1340/0x1340 [ 16.101753][ T68] ? rescuer_thread+0x1340/0x1340 [ 16.101755][ T68] kthread+0x367/0x460 [ 16.101757][ T68] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.101760][ T68] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.101763][ T68] ret_from_fork+0x474/0x6b0 [ 16.101767][ T68] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 16.101770][ T68] ? __switch_to+0x5a3/0xe00 [ 16.101773][ T68] ? kthread_affine_preferred+0x4c0/0x4c0 [ 16.101776][ T68] ret_from_fork_asm+0x11/0x20 [ 16.101785][ T68] [ 16.134200][ T68] rb_b: left promiscuous mode [ 16.136317][ T68] rb_il: left promiscuous mode [ 16.157111][ T68] pe_b (unregistering): left promiscuous mode [ 16.160769][ T68] pe_a (unregistering): left promiscuous mode