[ 13.481152][ T222] ip (222) used greatest stack depth: 23776 bytes left [ 13.481169][ T222] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.481171][ T222] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 222, name: ip [ 13.481172][ T222] preempt_count: 2, expected: 0 [ 13.481173][ T222] RCU nest depth: 0, expected: 0 [ 13.481174][ T222] locks held by ip/222: 5, last CPU#1: [ 13.481176][ T222] #0: ffffffffa50167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.481187][ T222] #1: ffffffffa517ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.481192][ T222] #2: ffffffffa517de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.481197][ T222] #3: ffffffffa509d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.481201][ T222] #4: ffffffffa509d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.481205][ T222] irq event stamp: 32976 [ 13.481205][ T222] hardirqs last enabled at (32975): [] __down_trylock_console_sem+0x86/0xa0 [ 13.481209][ T222] hardirqs last disabled at (32976): [] console_emit_next_record+0x3d4/0x4c0 [ 13.481211][ T222] softirqs last enabled at (32700): [] handle_softirqs+0x67c/0x900 [ 13.481213][ T222] softirqs last disabled at (32693): [] __irq_exit_rcu+0x145/0x1c0 [ 13.481216][ T222] Preemption disabled at: [ 13.481216][ T222] [<0000000000000000>] 0x0 [ 13.481223][ T222] CPU: 1 UID: 0 PID: 222 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.481226][ T222] Tainted: [W]=WARN [ 13.481227][ T222] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.481229][ T222] Call Trace: [ 13.481230][ T222] [ 13.481232][ T222] dump_stack_lvl+0x6f/0xa0 [ 13.481238][ T222] __might_resched.cold+0x1fe/0x2c1 [ 13.481242][ T222] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.481246][ T222] ? __kmalloc_noprof+0xdb/0x760 [ 13.481251][ T222] __kmalloc_noprof+0x443/0x760 [ 13.481253][ T222] ? alloc_buf.isra.0+0x4b/0x260 [ 13.481260][ T222] ? do_raw_spin_unlock+0x59/0x250 [ 13.481263][ T222] alloc_buf.isra.0+0x4b/0x260 [ 13.481266][ T222] put_chars+0x1e1/0x2f0 [ 13.481269][ T222] ? __send_to_port+0x420/0x420 [ 13.481270][ T222] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.481274][ T222] ? validate_chain+0x38b/0xc20 [ 13.481279][ T222] hvc_console_print+0x292/0x780 [ 13.481286][ T222] ? hvc_write+0x3a0/0x3a0 [ 13.481289][ T222] ? rcu_is_watching+0x16/0xd0 [ 13.481291][ T222] ? lock_acquire+0x13c/0x160 [ 13.481295][ T222] console_emit_next_record+0x22f/0x4c0 [ 13.481299][ T222] ? devkmsg_read+0x4b0/0x4b0 [ 13.481301][ T222] ? console_flush_one_record+0x106/0x710 [ 13.481304][ T222] ? rcu_is_watching+0x16/0xd0 [ 13.481306][ T222] ? lock_acquire+0x13c/0x160 [ 13.481310][ T222] console_flush_one_record+0x46f/0x710 [ 13.481314][ T222] ? console_emit_next_record+0x4c0/0x4c0 [ 13.481315][ T222] ? __lock_acquire+0x518/0xc20 [ 13.481321][ T222] console_unlock+0xee/0x1f0 [ 13.481323][ T222] ? console_flush_one_record+0x710/0x710 [ 13.481325][ T222] ? rcu_is_watching+0x16/0xd0 [ 13.481327][ T222] ? lock_acquire+0xe0/0x160 [ 13.481331][ T222] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.481332][ T222] ? vprintk_emit+0x320/0x3e0 [ 13.481335][ T222] vprintk_emit+0x37c/0x3e0 [ 13.481338][ T222] ? wake_up_klogd_work_func+0x90/0x90 [ 13.481341][ T222] ? __lock_acquire+0x518/0xc20 [ 13.481345][ T222] _printk+0xc7/0x100 [ 13.481349][ T222] ? snapshot_read.cold+0x21/0x21 [ 13.481351][ T222] ? do_raw_spin_lock+0x131/0x280 [ 13.481354][ T222] ? __rwlock_init+0x150/0x150 [ 13.481358][ T222] ? do_raw_spin_lock+0x131/0x280 [ 13.481361][ T222] do_exit.cold+0x82/0x9c [ 13.481365][ T222] ? exit_notify+0x890/0x890 [ 13.481366][ T222] ? __lock_release.isra.0+0x69/0x1a0 [ 13.481369][ T222] ? rcu_is_watching+0x16/0xd0 [ 13.481372][ T222] do_group_exit+0xb8/0x370 [ 13.481375][ T222] __x64_sys_exit_group+0x3c/0x50 [ 13.481377][ T222] x64_sys_call+0x1567/0x1570 [ 13.481379][ T222] do_syscall_64+0xff/0x530 [ 13.481383][ T222] ? exc_page_fault+0xee/0x100 [ 13.481386][ T222] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.481388][ T222] RIP: 0033:0x7f18174001b8 [ 13.481390][ T222] Code: Unable to access opcode bytes at 0x7f181740018e. [ 13.481391][ T222] RSP: 002b:00007ffcf367a188 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.481393][ T222] RAX: ffffffffffffffda RBX: 00007f1817530f88 RCX: 00007f18174001b8 [ 13.481395][ T222] RDX: 00007f181714afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.481396][ T222] RBP: 00007ffcf367a1e0 R08: 0000000000000000 R09: 0000000000000000 [ 13.481397][ T222] R10: 00007ffcf3679fa0 R11: 0000000000000246 R12: 0000000000000001 [ 13.481397][ T222] R13: 0000000000000000 R14: 00007f181752f680 R15: 00007f1817530fa0 [ 13.481404][ T222]