[ 12.675364][ T258] ping (258) used greatest stack depth: 23872 bytes left [ 12.675378][ T258] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.675380][ T258] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 258, name: ping [ 12.675381][ T258] preempt_count: 2, expected: 0 [ 12.675382][ T258] RCU nest depth: 0, expected: 0 [ 12.675383][ T258] locks held by ping/258: 5, last CPU#3: [ 12.675385][ T258] #0: ffffffffb9e02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 12.675397][ T258] #1: ffffffffb9f6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.675401][ T258] #2: ffffffffb9f6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.675405][ T258] #3: ffffffffb9e89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.675408][ T258] #4: ffffffffb9e89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.675411][ T258] irq event stamp: 45460 [ 12.675412][ T258] hardirqs last enabled at (45459): [] __down_trylock_console_sem+0x86/0xa0 [ 12.675415][ T258] hardirqs last disabled at (45460): [] console_emit_next_record+0x3d4/0x4c0 [ 12.675417][ T258] softirqs last enabled at (44432): [] sk_common_release+0x16b/0x310 [ 12.675420][ T258] softirqs last disabled at (44430): [] sk_common_release+0xc2/0x310 [ 12.675422][ T258] Preemption disabled at: [ 12.675423][ T258] [<0000000000000000>] 0x0 [ 12.675430][ T258] CPU: 3 UID: 0 PID: 258 Comm: ping Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.675433][ T258] Tainted: [W]=WARN [ 12.675434][ T258] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.675436][ T258] Call Trace: [ 12.675437][ T258] [ 12.675439][ T258] dump_stack_lvl+0x6f/0xa0 [ 12.675444][ T258] __might_resched.cold+0x1fe/0x2c1 [ 12.675449][ T258] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.675452][ T258] ? __kmalloc_noprof+0xdb/0x760 [ 12.675456][ T258] __kmalloc_noprof+0x443/0x760 [ 12.675459][ T258] ? alloc_buf.isra.0+0x4b/0x260 [ 12.675465][ T258] ? do_raw_spin_unlock+0x59/0x250 [ 12.675468][ T258] alloc_buf.isra.0+0x4b/0x260 [ 12.675471][ T258] put_chars+0x1e1/0x2f0 [ 12.675474][ T258] ? __send_to_port+0x420/0x420 [ 12.675480][ T258] hvc_console_print+0x292/0x780 [ 12.675487][ T258] ? hvc_write+0x3a0/0x3a0 [ 12.675489][ T258] ? lock_acquire+0x13c/0x160 [ 12.675493][ T258] console_emit_next_record+0x22f/0x4c0 [ 12.675497][ T258] ? devkmsg_read+0x4b0/0x4b0 [ 12.675498][ T258] ? console_flush_one_record+0x106/0x710 [ 12.675500][ T258] ? rcu_is_watching+0x16/0xd0 [ 12.675504][ T258] ? lock_acquire+0x13c/0x160 [ 12.675508][ T258] console_flush_one_record+0x46f/0x710 [ 12.675511][ T258] ? console_emit_next_record+0x4c0/0x4c0 [ 12.675512][ T258] ? __lock_acquire+0x518/0xc20 [ 12.675518][ T258] console_unlock+0xee/0x1f0 [ 12.675520][ T258] ? console_flush_one_record+0x710/0x710 [ 12.675521][ T258] ? rcu_is_watching+0x16/0xd0 [ 12.675523][ T258] ? lock_acquire+0x60/0x160 [ 12.675527][ T258] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.675529][ T258] ? vprintk_emit+0x320/0x3e0 [ 12.675531][ T258] vprintk_emit+0x37c/0x3e0 [ 12.675534][ T258] ? wake_up_klogd_work_func+0x90/0x90 [ 12.675537][ T258] ? __lock_acquire+0x518/0xc20 [ 12.675541][ T258] _printk+0xc7/0x100 [ 12.675544][ T258] ? snapshot_read.cold+0x21/0x21 [ 12.675547][ T258] ? do_raw_spin_lock+0x131/0x280 [ 12.675549][ T258] ? __rwlock_init+0x150/0x150 [ 12.675553][ T258] ? do_raw_spin_lock+0x131/0x280 [ 12.675556][ T258] do_exit.cold+0x82/0x9c [ 12.675560][ T258] ? exit_notify+0x890/0x890 [ 12.675561][ T258] ? __lock_release.isra.0+0x69/0x1a0 [ 12.675564][ T258] ? rcu_is_watching+0x16/0xd0 [ 12.675568][ T258] do_group_exit+0xb8/0x370 [ 12.675571][ T258] __x64_sys_exit_group+0x3c/0x50 [ 12.675572][ T258] x64_sys_call+0x1567/0x1570 [ 12.675575][ T258] do_syscall_64+0x10e/0x570 [ 12.675578][ T258] ? exc_page_fault+0xee/0x100 [ 12.675582][ T258] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.675584][ T258] RIP: 0033:0x7ff10d76d1b8 [ 12.675586][ T258] Code: Unable to access opcode bytes at 0x7ff10d76d18e. [ 12.675587][ T258] RSP: 002b:00007ffde7049ba8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.675589][ T258] RAX: ffffffffffffffda RBX: 00007ff10d89df88 RCX: 00007ff10d76d1b8 [ 12.675590][ T258] RDX: 00007ff10d4fe7c8 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 12.675591][ T258] RBP: 00007ffde7049c00 R08: 0000000000000000 R09: 0000000000001010 [ 12.675592][ T258] R10: 00007ffde7049a20 R11: 0000000000000246 R12: 0000000000000002 [ 12.675593][ T258] R13: 0000000000000000 R14: 00007ff10d89c680 R15: 00007ff10d89dfa0 [ 12.675600][ T258]