[ 10.848047][ T228] ip (228) used greatest stack depth: 23840 bytes left [ 10.848066][ T228] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.848069][ T228] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 228, name: ip [ 10.848070][ T228] preempt_count: 2, expected: 0 [ 10.848071][ T228] RCU nest depth: 0, expected: 0 [ 10.848072][ T228] locks held by ip/228: 5, last CPU#3: [ 10.848075][ T228] #0: ffffffffa84027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.848087][ T228] #1: ffffffffa8569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.848093][ T228] #2: ffffffffa8569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.848096][ T228] #3: ffffffffa8489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.848100][ T228] #4: ffffffffa8489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.848103][ T228] irq event stamp: 40780 [ 10.848104][ T228] hardirqs last enabled at (40779): [] __down_trylock_console_sem+0x86/0xa0 [ 10.848107][ T228] hardirqs last disabled at (40780): [] console_emit_next_record+0x3d4/0x4c0 [ 10.848109][ T228] softirqs last enabled at (40686): [] handle_softirqs+0x67c/0x900 [ 10.848111][ T228] softirqs last disabled at (39105): [] __irq_exit_rcu+0x145/0x1c0 [ 10.848114][ T228] Preemption disabled at: [ 10.848114][ T228] [<0000000000000000>] 0x0 [ 10.848121][ T228] CPU: 3 UID: 0 PID: 228 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.848125][ T228] Tainted: [W]=WARN [ 10.848126][ T228] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.848127][ T228] Call Trace: [ 10.848129][ T228] [ 10.848131][ T228] dump_stack_lvl+0x6f/0xa0 [ 10.848136][ T228] __might_resched.cold+0x1fe/0x2c1 [ 10.848141][ T228] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.848144][ T228] ? __kmalloc_noprof+0xdb/0x760 [ 10.848149][ T228] __kmalloc_noprof+0x443/0x760 [ 10.848152][ T228] ? alloc_buf.isra.0+0x4b/0x260 [ 10.848158][ T228] ? do_raw_spin_unlock+0x59/0x250 [ 10.848161][ T228] alloc_buf.isra.0+0x4b/0x260 [ 10.848164][ T228] put_chars+0x1e1/0x2f0 [ 10.848167][ T228] ? __send_to_port+0x420/0x420 [ 10.848169][ T228] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.848173][ T228] ? validate_chain+0x38b/0xc20 [ 10.848178][ T228] hvc_console_print+0x292/0x780 [ 10.848185][ T228] ? hvc_write+0x3a0/0x3a0 [ 10.848188][ T228] ? rcu_is_watching+0x16/0xd0 [ 10.848190][ T228] ? lock_acquire+0x13c/0x160 [ 10.848194][ T228] console_emit_next_record+0x22f/0x4c0 [ 10.848197][ T228] ? devkmsg_read+0x4b0/0x4b0 [ 10.848199][ T228] ? console_flush_one_record+0x106/0x710 [ 10.848201][ T228] ? rcu_is_watching+0x16/0xd0 [ 10.848203][ T228] ? lock_acquire+0x13c/0x160 [ 10.848208][ T228] console_flush_one_record+0x46f/0x710 [ 10.848216][ T228] ? console_emit_next_record+0x4c0/0x4c0 [ 10.848218][ T228] ? __lock_acquire+0x518/0xc20 [ 10.848223][ T228] console_unlock+0xee/0x1f0 [ 10.848226][ T228] ? console_flush_one_record+0x710/0x710 [ 10.848227][ T228] ? rcu_is_watching+0x16/0xd0 [ 10.848229][ T228] ? lock_acquire+0x60/0x160 [ 10.848233][ T228] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.848235][ T228] ? vprintk_emit+0x320/0x3e0 [ 10.848238][ T228] vprintk_emit+0x37c/0x3e0 [ 10.848241][ T228] ? wake_up_klogd_work_func+0x90/0x90 [ 10.848244][ T228] ? __lock_acquire+0x518/0xc20 [ 10.848248][ T228] _printk+0xc7/0x100 [ 10.848252][ T228] ? snapshot_read.cold+0x21/0x21 [ 10.848255][ T228] ? do_raw_spin_lock+0x131/0x280 [ 10.848258][ T228] ? __rwlock_init+0x150/0x150 [ 10.848262][ T228] ? do_raw_spin_lock+0x131/0x280 [ 10.848265][ T228] do_exit.cold+0x82/0x9c [ 10.848268][ T228] ? exit_notify+0x890/0x890 [ 10.848270][ T228] ? __lock_release.isra.0+0x69/0x1a0 [ 10.848273][ T228] ? rcu_is_watching+0x16/0xd0 [ 10.848276][ T228] do_group_exit+0xb8/0x370 [ 10.848279][ T228] __x64_sys_exit_group+0x3c/0x50 [ 10.848281][ T228] x64_sys_call+0x1567/0x1570 [ 10.848284][ T228] do_syscall_64+0xff/0x530 [ 10.848288][ T228] ? exc_page_fault+0xee/0x100 [ 10.848291][ T228] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.848293][ T228] RIP: 0033:0x7fe599c841b8 [ 10.848296][ T228] Code: Unable to access opcode bytes at 0x7fe599c8418e. [ 10.848297][ T228] RSP: 002b:00007ffe90e09938 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.848299][ T228] RAX: ffffffffffffffda RBX: 00007fe599db4f88 RCX: 00007fe599c841b8 [ 10.848301][ T228] RDX: 00007fe5999cefc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.848302][ T228] RBP: 00007ffe90e09990 R08: 0000000000000000 R09: 0000000000008010 [ 10.848303][ T228] R10: 00007ffe90e09750 R11: 0000000000000246 R12: 0000000000000001 [ 10.848303][ T228] R13: 0000000000000000 R14: 00007fe599db3680 R15: 00007fe599db4fa0 [ 10.848310][ T228]