[ 12.856632][ T289] ip (289) used greatest stack depth: 23680 bytes left [ 12.856651][ T289] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.856653][ T289] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 289, name: ip [ 12.856654][ T289] preempt_count: 2, expected: 0 [ 12.856655][ T289] RCU nest depth: 0, expected: 0 [ 12.856656][ T289] locks held by ip/289: 5, last CPU#0: [ 12.856659][ T289] #0: ffffffff98402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 12.856671][ T289] #1: ffffffff9856a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.856676][ T289] #2: ffffffff9856a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.856680][ T289] #3: ffffffff98489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.856683][ T289] #4: ffffffff98489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.856687][ T289] irq event stamp: 27948 [ 12.856688][ T289] hardirqs last enabled at (27947): [] __down_trylock_console_sem+0x86/0xa0 [ 12.856692][ T289] hardirqs last disabled at (27948): [] console_emit_next_record+0x3d4/0x4c0 [ 12.856693][ T289] softirqs last enabled at (27772): [] handle_softirqs+0x67c/0x900 [ 12.856696][ T289] softirqs last disabled at (27765): [] __irq_exit_rcu+0x145/0x1c0 [ 12.856699][ T289] Preemption disabled at: [ 12.856699][ T289] [<0000000000000000>] 0x0 [ 12.856706][ T289] CPU: 0 UID: 0 PID: 289 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.856710][ T289] Tainted: [W]=WARN [ 12.856711][ T289] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.856712][ T289] Call Trace: [ 12.856714][ T289] [ 12.856715][ T289] dump_stack_lvl+0x6f/0xa0 [ 12.856721][ T289] __might_resched.cold+0x1fe/0x2c1 [ 12.856726][ T289] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.856729][ T289] ? __kmalloc_noprof+0xdb/0x760 [ 12.856734][ T289] __kmalloc_noprof+0x443/0x760 [ 12.856736][ T289] ? alloc_buf.isra.0+0x4b/0x260 [ 12.856743][ T289] ? do_raw_spin_unlock+0x59/0x250 [ 12.856746][ T289] alloc_buf.isra.0+0x4b/0x260 [ 12.856749][ T289] put_chars+0x1e1/0x2f0 [ 12.856752][ T289] ? __send_to_port+0x420/0x420 [ 12.856759][ T289] hvc_console_print+0x292/0x780 [ 12.856765][ T289] ? hvc_write+0x3a0/0x3a0 [ 12.856768][ T289] ? lock_acquire+0x13c/0x160 [ 12.856773][ T289] console_emit_next_record+0x22f/0x4c0 [ 12.856776][ T289] ? devkmsg_read+0x4b0/0x4b0 [ 12.856777][ T289] ? console_flush_one_record+0x106/0x710 [ 12.856780][ T289] ? rcu_is_watching+0x16/0xd0 [ 12.856784][ T289] ? lock_acquire+0x13c/0x160 [ 12.856788][ T289] console_flush_one_record+0x46f/0x710 [ 12.856791][ T289] ? console_emit_next_record+0x4c0/0x4c0 [ 12.856793][ T289] ? __lock_acquire+0x518/0xc20 [ 12.856798][ T289] console_unlock+0xee/0x1f0 [ 12.856801][ T289] ? console_flush_one_record+0x710/0x710 [ 12.856802][ T289] ? rcu_is_watching+0x16/0xd0 [ 12.856804][ T289] ? lock_acquire+0x60/0x160 [ 12.856808][ T289] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.856810][ T289] ? vprintk_emit+0x320/0x3e0 [ 12.856813][ T289] vprintk_emit+0x37c/0x3e0 [ 12.856816][ T289] ? wake_up_klogd_work_func+0x90/0x90 [ 12.856819][ T289] ? __lock_acquire+0x518/0xc20 [ 12.856823][ T289] _printk+0xc7/0x100 [ 12.856826][ T289] ? snapshot_read.cold+0x21/0x21 [ 12.856829][ T289] ? do_raw_spin_lock+0x131/0x280 [ 12.856832][ T289] ? __rwlock_init+0x150/0x150 [ 12.856836][ T289] ? do_raw_spin_lock+0x131/0x280 [ 12.856839][ T289] do_exit.cold+0x82/0x9c [ 12.856843][ T289] ? exit_notify+0x890/0x890 [ 12.856844][ T289] ? __lock_release.isra.0+0x69/0x1a0 [ 12.856847][ T289] ? rcu_is_watching+0x16/0xd0 [ 12.856851][ T289] do_group_exit+0xb8/0x370 [ 12.856854][ T289] __x64_sys_exit_group+0x3c/0x50 [ 12.856856][ T289] x64_sys_call+0x1567/0x1570 [ 12.856859][ T289] do_syscall_64+0x10e/0x570 [ 12.856862][ T289] ? exc_page_fault+0xee/0x100 [ 12.856866][ T289] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.856868][ T289] RIP: 0033:0x7f21603d71b8 [ 12.856870][ T289] Code: Unable to access opcode bytes at 0x7f21603d718e. [ 12.856871][ T289] RSP: 002b:00007ffe1062d778 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.856874][ T289] RAX: ffffffffffffffda RBX: 00007f2160507f88 RCX: 00007f21603d71b8 [ 12.856875][ T289] RDX: 00007f2160121fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.856876][ T289] RBP: 00007ffe1062d7d0 R08: 0000000000000000 R09: 0000000000000050 [ 12.856877][ T289] R10: 00007ffe1062d590 R11: 0000000000000246 R12: 0000000000000001 [ 12.856878][ T289] R13: 0000000000000000 R14: 00007f2160506680 R15: 00007f2160507fa0 [ 12.856885][ T289]