[ 62.351310][ T508] ip (508) used greatest stack depth: 24544 bytes left [ 62.351326][ T508] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 62.351328][ T508] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 508, name: ip [ 62.351330][ T508] preempt_count: 2, expected: 0 [ 62.351331][ T508] RCU nest depth: 0, expected: 0 [ 62.351332][ T508] locks held by ip/508: 5, last CPU#2: [ 62.351334][ T508] #0: ffffffffa18027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 62.351347][ T508] #1: ffffffffa1999cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 62.351353][ T508] #2: ffffffffa1999d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 62.351358][ T508] #3: ffffffffa1889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 62.351362][ T508] #4: ffffffffa1889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 62.351365][ T508] irq event stamp: 35152 [ 62.351366][ T508] hardirqs last enabled at (35151): [] __down_trylock_console_sem+0x86/0xa0 [ 62.351369][ T508] hardirqs last disabled at (35152): [] console_emit_next_record+0x3f8/0x4f0 [ 62.351370][ T508] softirqs last enabled at (34672): [] handle_softirqs+0x67c/0x900 [ 62.351373][ T508] softirqs last disabled at (34663): [] __irq_exit_rcu+0x145/0x1c0 [ 62.351376][ T508] Preemption disabled at: [ 62.351377][ T508] [<0000000000000000>] 0x0 [ 62.351383][ T508] CPU: 2 UID: 0 PID: 508 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 62.351387][ T508] Tainted: [W]=WARN [ 62.351388][ T508] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 62.351389][ T508] Call Trace: [ 62.351391][ T508] [ 62.351392][ T508] dump_stack_lvl+0x6f/0xa0 [ 62.351399][ T508] __might_resched.cold+0x1fe/0x2c1 [ 62.351404][ T508] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 62.351408][ T508] ? __kmalloc_noprof+0xdb/0x760 [ 62.351413][ T508] __kmalloc_noprof+0x443/0x760 [ 62.351415][ T508] ? alloc_buf.isra.0+0x4b/0x260 [ 62.351421][ T508] ? do_raw_spin_unlock+0x59/0x250 [ 62.351423][ T508] alloc_buf.isra.0+0x4b/0x260 [ 62.351427][ T508] put_chars+0x1e1/0x2f0 [ 62.351430][ T508] ? __send_to_port+0x420/0x420 [ 62.351431][ T508] ? printk_get_next_message+0x2fe/0x7d0 [ 62.351434][ T508] ? rcu_read_lock_any_held+0x3c/0x90 [ 62.351437][ T508] ? validate_chain+0x38b/0xc20 [ 62.351442][ T508] hvc_console_print+0x292/0x780 [ 62.351444][ T508] ? __lock_acquire+0x518/0xc20 [ 62.351446][ T508] ? __lock_acquire+0x518/0xc20 [ 62.351450][ T508] ? hvc_write+0x3a0/0x3a0 [ 62.351453][ T508] ? rcu_is_watching+0x16/0xd0 [ 62.351457][ T508] ? lock_acquire+0x13c/0x160 [ 62.351460][ T508] console_emit_next_record+0x252/0x4f0 [ 62.351464][ T508] ? devkmsg_read+0x4e0/0x4e0 [ 62.351469][ T508] ? rcu_is_watching+0x16/0xd0 [ 62.351471][ T508] ? lock_acquire+0x13c/0x160 [ 62.351475][ T508] console_flush_one_record+0x46f/0x710 [ 62.351479][ T508] ? console_emit_next_record+0x4f0/0x4f0 [ 62.351480][ T508] ? __lock_acquire+0x518/0xc20 [ 62.351486][ T508] console_unlock+0xee/0x1f0 [ 62.351488][ T508] ? console_flush_one_record+0x710/0x710 [ 62.351490][ T508] ? rcu_is_watching+0x16/0xd0 [ 62.351492][ T508] ? lock_acquire+0x60/0x160 [ 62.351496][ T508] ? __down_trylock_console_sem+0x5e/0xa0 [ 62.351497][ T508] ? vprintk_emit+0x320/0x3e0 [ 62.351500][ T508] vprintk_emit+0x37c/0x3e0 [ 62.351504][ T508] ? wake_up_klogd_work_func+0x90/0x90 [ 62.351508][ T508] ? __lock_acquire+0x518/0xc20 [ 62.351511][ T508] _printk+0xc7/0x100 [ 62.351515][ T508] ? snapshot_read.cold+0x21/0x21 [ 62.351518][ T508] ? do_raw_spin_lock+0x131/0x280 [ 62.351521][ T508] ? __rwlock_init+0x150/0x150 [ 62.351524][ T508] ? do_raw_spin_lock+0x131/0x280 [ 62.351527][ T508] do_exit.cold+0x82/0x9c [ 62.351531][ T508] ? exit_notify+0x890/0x890 [ 62.351533][ T508] ? __lock_release.isra.0+0x69/0x1a0 [ 62.351535][ T508] ? rcu_is_watching+0x16/0xd0 [ 62.351539][ T508] do_group_exit+0xb8/0x370 [ 62.351543][ T508] __x64_sys_exit_group+0x3c/0x50 [ 62.351546][ T508] x64_sys_call+0x1567/0x1570 [ 62.351548][ T508] do_syscall_64+0xff/0x530 [ 62.351551][ T508] ? exc_page_fault+0xee/0x100 [ 62.351554][ T508] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 62.351557][ T508] RIP: 0033:0x7ff7cf9c71b8 [ 62.351559][ T508] Code: Unable to access opcode bytes at 0x7ff7cf9c718e. [ 62.351560][ T508] RSP: 002b:00007ffc6ba78dd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 62.351563][ T508] RAX: ffffffffffffffda RBX: 00007ff7cfaf7f88 RCX: 00007ff7cf9c71b8 [ 62.351564][ T508] RDX: 00007ff7cf711fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 62.351565][ T508] RBP: 00007ffc6ba78e30 R08: 0000000000000000 R09: 0000000000000050 [ 62.351566][ T508] R10: 00007ffc6ba78bf0 R11: 0000000000000246 R12: 0000000000000001 [ 62.351567][ T508] R13: 0000000000000000 R14: 00007ff7cfaf6680 R15: 00007ff7cfaf7fa0 [ 62.351574][ T508]