[ 9.177074][ T187] ip (187) used greatest stack depth: 24392 bytes left [ 9.177090][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.177092][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 9.177093][ T187] preempt_count: 2, expected: 0 [ 9.177094][ T187] RCU nest depth: 0, expected: 0 [ 9.177095][ T187] locks held by ip/187: 5, last CPU#3: [ 9.177097][ T187] #0: ffffffffa02027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.177110][ T187] #1: ffffffffa0369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.177116][ T187] #2: ffffffffa0369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.177120][ T187] #3: ffffffffa0289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.177124][ T187] #4: ffffffffa0289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.177127][ T187] irq event stamp: 47216 [ 9.177128][ T187] hardirqs last enabled at (47215): [] __down_trylock_console_sem+0x86/0xa0 [ 9.177131][ T187] hardirqs last disabled at (47216): [] console_emit_next_record+0x3d4/0x4c0 [ 9.177133][ T187] softirqs last enabled at (46862): [] handle_softirqs+0x67c/0x900 [ 9.177135][ T187] softirqs last disabled at (45753): [] __irq_exit_rcu+0x145/0x1c0 [ 9.177137][ T187] Preemption disabled at: [ 9.177138][ T187] [<0000000000000000>] 0x0 [ 9.177145][ T187] CPU: 3 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.177148][ T187] Tainted: [W]=WARN [ 9.177149][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.177151][ T187] Call Trace: [ 9.177152][ T187] [ 9.177154][ T187] dump_stack_lvl+0x6f/0xa0 [ 9.177161][ T187] __might_resched.cold+0x1fe/0x2c1 [ 9.177165][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.177170][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 9.177175][ T187] __kmalloc_noprof+0x443/0x760 [ 9.177177][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 9.177183][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 9.177186][ T187] alloc_buf.isra.0+0x4b/0x260 [ 9.177189][ T187] put_chars+0x1e1/0x2f0 [ 9.177192][ T187] ? __send_to_port+0x420/0x420 [ 9.177193][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.177198][ T187] ? validate_chain+0x38b/0xc20 [ 9.177203][ T187] hvc_console_print+0x292/0x780 [ 9.177209][ T187] ? hvc_write+0x3a0/0x3a0 [ 9.177211][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.177214][ T187] ? lock_acquire+0x13c/0x160 [ 9.177218][ T187] console_emit_next_record+0x22f/0x4c0 [ 9.177222][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 9.177223][ T187] ? console_flush_one_record+0x106/0x710 [ 9.177227][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.177229][ T187] ? lock_acquire+0x13c/0x160 [ 9.177233][ T187] console_flush_one_record+0x46f/0x710 [ 9.177237][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 9.177239][ T187] ? __lock_acquire+0x518/0xc20 [ 9.177244][ T187] console_unlock+0xee/0x1f0 [ 9.177247][ T187] ? console_flush_one_record+0x710/0x710 [ 9.177249][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.177252][ T187] ? lock_acquire+0x60/0x160 [ 9.177255][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.177257][ T187] ? vprintk_emit+0x320/0x3e0 [ 9.177260][ T187] vprintk_emit+0x37c/0x3e0 [ 9.177264][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 9.177268][ T187] ? __lock_acquire+0x518/0xc20 [ 9.177271][ T187] _printk+0xc7/0x100 [ 9.177275][ T187] ? snapshot_read.cold+0x21/0x21 [ 9.177278][ T187] ? do_raw_spin_lock+0x131/0x280 [ 9.177281][ T187] ? __rwlock_init+0x150/0x150 [ 9.177284][ T187] ? do_raw_spin_lock+0x131/0x280 [ 9.177287][ T187] do_exit.cold+0x82/0x9c [ 9.177291][ T187] ? exit_notify+0x890/0x890 [ 9.177293][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 9.177296][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.177300][ T187] do_group_exit+0xb8/0x370 [ 9.177303][ T187] __x64_sys_exit_group+0x3c/0x50 [ 9.177305][ T187] x64_sys_call+0x1567/0x1570 [ 9.177307][ T187] do_syscall_64+0xff/0x530 [ 9.177310][ T187] ? exc_page_fault+0xee/0x100 [ 9.177313][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.177316][ T187] RIP: 0033:0x7fea1eb681b8 [ 9.177318][ T187] Code: Unable to access opcode bytes at 0x7fea1eb6818e. [ 9.177319][ T187] RSP: 002b:00007ffde311aa38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.177321][ T187] RAX: ffffffffffffffda RBX: 00007fea1ec98f88 RCX: 00007fea1eb681b8 [ 9.177323][ T187] RDX: 00007fea1e8b2fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.177324][ T187] RBP: 00007ffde311aa90 R08: 0000000000000000 R09: 0000000000008010 [ 9.177325][ T187] R10: 00007ffde311a850 R11: 0000000000000246 R12: 0000000000000001 [ 9.177326][ T187] R13: 0000000000000000 R14: 00007fea1ec97680 R15: 00007fea1ec98fa0 [ 9.177332][ T187] [ 9.355893][ T196] ip (196) used greatest stack depth: 24256 bytes left [ 148.307324][ T6304] ping6 (6304) used greatest stack depth: 24064 bytes left [ 148.307346][ T6304] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 148.307349][ T6304] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 6304, name: ping6 [ 148.307351][ T6304] preempt_count: 2, expected: 0 [ 148.307352][ T6304] RCU nest depth: 0, expected: 0 [ 148.307354][ T6304] locks held by ping6/6304: 5, last CPU#3: [ 148.307356][ T6304] #0: ffffffffa02027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 148.307371][ T6304] #1: ffffffffa0369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 148.307380][ T6304] #2: ffffffffa0369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 148.307386][ T6304] #3: ffffffffa0289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 148.307391][ T6304] #4: ffffffffa0289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 148.307397][ T6304] irq event stamp: 12772 [ 148.307399][ T6304] hardirqs last enabled at (12771): [] __down_trylock_console_sem+0x86/0xa0 [ 148.307402][ T6304] hardirqs last disabled at (12772): [] console_emit_next_record+0x3d4/0x4c0 [ 148.307405][ T6304] softirqs last enabled at (12082): [] handle_softirqs+0x67c/0x900 [ 148.307408][ T6304] softirqs last disabled at (12065): [] __irq_exit_rcu+0x145/0x1c0 [ 148.307411][ T6304] Preemption disabled at: [ 148.307411][ T6304] [<0000000000000000>] 0x0 [ 148.307420][ T6304] CPU: 3 UID: 0 PID: 6304 Comm: ping6 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 148.307424][ T6304] Tainted: [W]=WARN [ 148.307425][ T6304] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 148.307428][ T6304] Call Trace: [ 148.307430][ T6304] [ 148.307432][ T6304] dump_stack_lvl+0x6f/0xa0 [ 148.307440][ T6304] __might_resched.cold+0x1fe/0x2c1 [ 148.307446][ T6304] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 148.307451][ T6304] ? __kmalloc_noprof+0xdb/0x760 [ 148.307459][ T6304] __kmalloc_noprof+0x443/0x760 [ 148.307463][ T6304] ? alloc_buf.isra.0+0x4b/0x260 [ 148.307472][ T6304] ? do_raw_spin_unlock+0x59/0x250 [ 148.307476][ T6304] alloc_buf.isra.0+0x4b/0x260 [ 148.307481][ T6304] put_chars+0x1e1/0x2f0 [ 148.307485][ T6304] ? __send_to_port+0x420/0x420 [ 148.307488][ T6304] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 148.307494][ T6304] ? validate_chain+0x38b/0xc20 [ 148.307503][ T6304] hvc_console_print+0x292/0x780 [ 148.307514][ T6304] ? hvc_write+0x3a0/0x3a0 [ 148.307517][ T6304] ? rcu_is_watching+0x16/0xd0 [ 148.307521][ T6304] ? lock_acquire+0x13c/0x160 [ 148.307528][ T6304] console_emit_next_record+0x22f/0x4c0 [ 148.307534][ T6304] ? devkmsg_read+0x4b0/0x4b0 [ 148.307536][ T6304] ? console_flush_one_record+0x106/0x710 [ 148.307541][ T6304] ? rcu_is_watching+0x16/0xd0 [ 148.307545][ T6304] ? lock_acquire+0x13c/0x160 [ 148.307552][ T6304] console_flush_one_record+0x46f/0x710 [ 148.307559][ T6304] ? console_emit_next_record+0x4c0/0x4c0 [ 148.307561][ T6304] ? __lock_acquire+0x518/0xc20 [ 148.307570][ T6304] console_unlock+0xee/0x1f0 [ 148.307575][ T6304] ? console_flush_one_record+0x710/0x710 [ 148.307577][ T6304] ? rcu_is_watching+0x16/0xd0 [ 148.307581][ T6304] ? lock_acquire+0x60/0x160 [ 148.307587][ T6304] ? __down_trylock_console_sem+0x5e/0xa0 [ 148.307590][ T6304] ? vprintk_emit+0x320/0x3e0 [ 148.307596][ T6304] vprintk_emit+0x37c/0x3e0 [ 148.307602][ T6304] ? wake_up_klogd_work_func+0x90/0x90 [ 148.307607][ T6304] ? __lock_acquire+0x518/0xc20 [ 148.307613][ T6304] _printk+0xc7/0x100 [ 148.307618][ T6304] ? snapshot_read.cold+0x21/0x21 [ 148.307623][ T6304] ? do_raw_spin_lock+0x131/0x280 [ 148.307627][ T6304] ? __rwlock_init+0x150/0x150 [ 148.307633][ T6304] ? do_raw_spin_lock+0x131/0x280 [ 148.307638][ T6304] do_exit.cold+0x82/0x9c [ 148.307643][ T6304] ? exit_notify+0x890/0x890 [ 148.307645][ T6304] ? __lock_release.isra.0+0x69/0x1a0 [ 148.307650][ T6304] ? rcu_is_watching+0x16/0xd0 [ 148.307657][ T6304] do_group_exit+0xb8/0x370 [ 148.307662][ T6304] __x64_sys_exit_group+0x3c/0x50 [ 148.307664][ T6304] x64_sys_call+0x1567/0x1570 [ 148.307667][ T6304] do_syscall_64+0xff/0x530 [ 148.307671][ T6304] ? exc_page_fault+0xee/0x100 [ 148.307676][ T6304] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 148.307679][ T6304] RIP: 0033:0x7ffa9d4d51b8 [ 148.307682][ T6304] Code: Unable to access opcode bytes at 0x7ffa9d4d518e. [ 148.307684][ T6304] RSP: 002b:00007ffd87250858 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 148.307687][ T6304] RAX: ffffffffffffffda RBX: 00007ffa9d605f88 RCX: 00007ffa9d4d51b8 [ 148.307689][ T6304] RDX: 00007ffa9d2667c8 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 148.307691][ T6304] RBP: 00007ffd872508b0 R08: 0000000000000000 R09: 0000000000001010 [ 148.307692][ T6304] R10: 00007ffd872506d0 R11: 0000000000000246 R12: 0000000000000002 [ 148.307694][ T6304] R13: 0000000000000000 R14: 00007ffa9d604680 R15: 00007ffa9d605fa0 [ 148.307707][ T6304]