[ 12.482708][ T244] ip (244) used greatest stack depth: 23808 bytes left [ 12.482728][ T244] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.482731][ T244] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 244, name: ip [ 12.482734][ T244] preempt_count: 2, expected: 0 [ 12.482735][ T244] RCU nest depth: 0, expected: 0 [ 12.482737][ T244] locks held by ip/244: 5, last CPU#3: [ 12.482740][ T244] #0: ffffffffb6a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.482755][ T244] #1: ffffffffb6b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.482763][ T244] #2: ffffffffb6b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.482769][ T244] #3: ffffffffb6a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.482775][ T244] #4: ffffffffb6a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.482781][ T244] irq event stamp: 26618 [ 12.482783][ T244] hardirqs last enabled at (26617): [] __down_trylock_console_sem+0x86/0xa0 [ 12.482786][ T244] hardirqs last disabled at (26618): [] console_emit_next_record+0x3d4/0x4c0 [ 12.482790][ T244] softirqs last enabled at (26126): [] handle_softirqs+0x67c/0x900 [ 12.482792][ T244] softirqs last disabled at (26017): [] __irq_exit_rcu+0x145/0x1c0 [ 12.482796][ T244] Preemption disabled at: [ 12.482797][ T244] [<0000000000000000>] 0x0 [ 12.482805][ T244] CPU: 3 UID: 0 PID: 244 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.482810][ T244] Tainted: [W]=WARN [ 12.482811][ T244] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.482813][ T244] Call Trace: [ 12.482816][ T244] [ 12.482818][ T244] dump_stack_lvl+0x6f/0xa0 [ 12.482826][ T244] __might_resched.cold+0x1fe/0x2c1 [ 12.482833][ T244] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.482839][ T244] ? __kmalloc_noprof+0xdb/0x760 [ 12.482847][ T244] __kmalloc_noprof+0x443/0x760 [ 12.482851][ T244] ? alloc_buf.isra.0+0x4b/0x260 [ 12.482860][ T244] ? do_raw_spin_unlock+0x59/0x250 [ 12.482863][ T244] alloc_buf.isra.0+0x4b/0x260 [ 12.482869][ T244] put_chars+0x1e1/0x2f0 [ 12.482873][ T244] ? __send_to_port+0x420/0x420 [ 12.482875][ T244] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.482882][ T244] ? validate_chain+0x38b/0xc20 [ 12.482891][ T244] hvc_console_print+0x292/0x780 [ 12.482902][ T244] ? hvc_write+0x3a0/0x3a0 [ 12.482906][ T244] ? rcu_is_watching+0x16/0xd0 [ 12.482910][ T244] ? lock_acquire+0x13c/0x160 [ 12.482917][ T244] console_emit_next_record+0x22f/0x4c0 [ 12.482923][ T244] ? devkmsg_read+0x4b0/0x4b0 [ 12.482926][ T244] ? console_flush_one_record+0x106/0x710 [ 12.482931][ T244] ? rcu_is_watching+0x16/0xd0 [ 12.482935][ T244] ? lock_acquire+0x13c/0x160 [ 12.482942][ T244] console_flush_one_record+0x46f/0x710 [ 12.482949][ T244] ? console_emit_next_record+0x4c0/0x4c0 [ 12.482952][ T244] ? __lock_acquire+0x518/0xc20 [ 12.482961][ T244] console_unlock+0xee/0x1f0 [ 12.482965][ T244] ? console_flush_one_record+0x710/0x710 [ 12.482968][ T244] ? rcu_is_watching+0x16/0xd0 [ 12.482971][ T244] ? lock_acquire+0x60/0x160 [ 12.482978][ T244] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.482980][ T244] ? vprintk_emit+0x320/0x3e0 [ 12.482986][ T244] vprintk_emit+0x37c/0x3e0 [ 12.482992][ T244] ? wake_up_klogd_work_func+0x90/0x90 [ 12.482998][ T244] ? __lock_acquire+0x518/0xc20 [ 12.483004][ T244] _printk+0xc7/0x100 [ 12.483009][ T244] ? snapshot_read.cold+0x21/0x21 [ 12.483014][ T244] ? do_raw_spin_lock+0x131/0x280 [ 12.483018][ T244] ? __rwlock_init+0x150/0x150 [ 12.483024][ T244] ? do_raw_spin_lock+0x131/0x280 [ 12.483029][ T244] do_exit.cold+0x82/0x9c [ 12.483035][ T244] ? exit_notify+0x890/0x890 [ 12.483037][ T244] ? __lock_release.isra.0+0x69/0x1a0 [ 12.483042][ T244] ? rcu_is_watching+0x16/0xd0 [ 12.483049][ T244] do_group_exit+0xb8/0x370 [ 12.483054][ T244] __x64_sys_exit_group+0x3c/0x50 [ 12.483057][ T244] x64_sys_call+0x1567/0x1570 [ 12.483061][ T244] do_syscall_64+0xff/0x530 [ 12.483065][ T244] ? exc_page_fault+0xee/0x100 [ 12.483070][ T244] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.483074][ T244] RIP: 0033:0x7eff06b2f1b8 [ 12.483077][ T244] Code: Unable to access opcode bytes at 0x7eff06b2f18e. [ 12.483079][ T244] RSP: 002b:00007ffc68d55b78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.483082][ T244] RAX: ffffffffffffffda RBX: 00007eff06c5ff88 RCX: 00007eff06b2f1b8 [ 12.483085][ T244] RDX: 00007eff06879fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.483086][ T244] RBP: 00007ffc68d55bd0 R08: 0000000000000000 R09: 0000000000008010 [ 12.483088][ T244] R10: 00007ffc68d55990 R11: 0000000000000246 R12: 0000000000000001 [ 12.483089][ T244] R13: 0000000000000000 R14: 00007eff06c5e680 R15: 00007eff06c5ffa0 [ 12.483102][ T244]