[ 9.405665][ T176] ip (176) used greatest stack depth: 24744 bytes left [ 9.405680][ T176] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.405682][ T176] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 176, name: ip [ 9.405683][ T176] preempt_count: 2, expected: 0 [ 9.405684][ T176] RCU nest depth: 0, expected: 0 [ 9.405685][ T176] locks held by ip/176: 5, last CPU#2: [ 9.405687][ T176] #0: ffffffff8d002f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 9.405699][ T176] #1: ffffffff8d16a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.405704][ T176] #2: ffffffff8d16a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.405707][ T176] #3: ffffffff8d089de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.405710][ T176] #4: ffffffff8d089ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.405714][ T176] irq event stamp: 38408 [ 9.405715][ T176] hardirqs last enabled at (38407): [] __down_trylock_console_sem+0x86/0xa0 [ 9.405718][ T176] hardirqs last disabled at (38408): [] console_emit_next_record+0x3d4/0x4c0 [ 9.405720][ T176] softirqs last enabled at (38192): [] handle_softirqs+0x67c/0x900 [ 9.405726][ T176] softirqs last disabled at (38187): [] __irq_exit_rcu+0x145/0x1c0 [ 9.405728][ T176] Preemption disabled at: [ 9.405729][ T176] [<0000000000000000>] 0x0 [ 9.405735][ T176] CPU: 2 UID: 0 PID: 176 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.405739][ T176] Tainted: [W]=WARN [ 9.405740][ T176] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.405741][ T176] Call Trace: [ 9.405743][ T176] [ 9.405744][ T176] dump_stack_lvl+0x6f/0xa0 [ 9.405749][ T176] __might_resched.cold+0x1fe/0x2c1 [ 9.405754][ T176] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.405757][ T176] ? __kmalloc_noprof+0xdb/0x760 [ 9.405763][ T176] __kmalloc_noprof+0x443/0x760 [ 9.405765][ T176] ? alloc_buf.isra.0+0x4b/0x260 [ 9.405771][ T176] ? do_raw_spin_unlock+0x59/0x250 [ 9.405774][ T176] alloc_buf.isra.0+0x4b/0x260 [ 9.405777][ T176] put_chars+0x1e1/0x2f0 [ 9.405780][ T176] ? __send_to_port+0x420/0x420 [ 9.405787][ T176] hvc_console_print+0x292/0x780 [ 9.405793][ T176] ? hvc_write+0x3a0/0x3a0 [ 9.405796][ T176] ? lock_acquire+0x13c/0x160 [ 9.405801][ T176] console_emit_next_record+0x22f/0x4c0 [ 9.405804][ T176] ? devkmsg_read+0x4b0/0x4b0 [ 9.405805][ T176] ? console_flush_one_record+0x106/0x710 [ 9.405808][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.405812][ T176] ? lock_acquire+0x13c/0x160 [ 9.405816][ T176] console_flush_one_record+0x46f/0x710 [ 9.405819][ T176] ? console_emit_next_record+0x4c0/0x4c0 [ 9.405821][ T176] ? __lock_acquire+0x518/0xc20 [ 9.405826][ T176] console_unlock+0xee/0x1f0 [ 9.405828][ T176] ? console_flush_one_record+0x710/0x710 [ 9.405830][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.405832][ T176] ? lock_acquire+0x60/0x160 [ 9.405835][ T176] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.405837][ T176] ? vprintk_emit+0x320/0x3e0 [ 9.405840][ T176] vprintk_emit+0x37c/0x3e0 [ 9.405843][ T176] ? wake_up_klogd_work_func+0x90/0x90 [ 9.405846][ T176] ? __lock_acquire+0x518/0xc20 [ 9.405850][ T176] _printk+0xc7/0x100 [ 9.405854][ T176] ? snapshot_read.cold+0x21/0x21 [ 9.405856][ T176] ? do_raw_spin_lock+0x131/0x280 [ 9.405859][ T176] ? __rwlock_init+0x150/0x150 [ 9.405863][ T176] ? do_raw_spin_lock+0x131/0x280 [ 9.405866][ T176] do_exit.cold+0x82/0x9c [ 9.405870][ T176] ? exit_notify+0x890/0x890 [ 9.405872][ T176] ? __lock_release.isra.0+0x69/0x1a0 [ 9.405875][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.405878][ T176] do_group_exit+0xb8/0x370 [ 9.405881][ T176] __x64_sys_exit_group+0x3c/0x50 [ 9.405883][ T176] x64_sys_call+0x1567/0x1570 [ 9.405886][ T176] do_syscall_64+0x10e/0x570 [ 9.405889][ T176] ? exc_page_fault+0xee/0x100 [ 9.405893][ T176] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.405895][ T176] RIP: 0033:0x7ff5f6f121b8 [ 9.405897][ T176] Code: Unable to access opcode bytes at 0x7ff5f6f1218e. [ 9.405898][ T176] RSP: 002b:00007ffef9b3cbf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.405900][ T176] RAX: ffffffffffffffda RBX: 00007ff5f7042f88 RCX: 00007ff5f6f121b8 [ 9.405902][ T176] RDX: 00007ff5f6c5cfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.405903][ T176] RBP: 00007ffef9b3cc50 R08: 0000000000000000 R09: 0000000000000050 [ 9.405904][ T176] R10: 00007ffef9b3ca10 R11: 0000000000000246 R12: 0000000000000001 [ 9.405904][ T176] R13: 0000000000000000 R14: 00007ff5f7041680 R15: 00007ff5f7042fa0 [ 9.405911][ T176] [ 9.577263][ T181] ip (181) used greatest stack depth: 24648 bytes left [ 9.749471][ T184] ip (184) used greatest stack depth: 23920 bytes left