[ 12.114349][ T220] ip (220) used greatest stack depth: 23792 bytes left [ 12.114365][ T220] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.114367][ T220] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 220, name: ip [ 12.114369][ T220] preempt_count: 2, expected: 0 [ 12.114370][ T220] RCU nest depth: 0, expected: 0 [ 12.114371][ T220] locks held by ip/220: 5, last CPU#3: [ 12.114373][ T220] #0: ffffffffa1c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.114385][ T220] #1: ffffffffa1d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.114391][ T220] #2: ffffffffa1d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.114395][ T220] #3: ffffffffa1c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.114399][ T220] #4: ffffffffa1c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.114403][ T220] irq event stamp: 70808 [ 12.114404][ T220] hardirqs last enabled at (70807): [] __down_trylock_console_sem+0x86/0xa0 [ 12.114406][ T220] hardirqs last disabled at (70808): [] console_emit_next_record+0x3f8/0x4f0 [ 12.114408][ T220] softirqs last enabled at (70230): [] handle_softirqs+0x67c/0x900 [ 12.114410][ T220] softirqs last disabled at (70221): [] __irq_exit_rcu+0x145/0x1c0 [ 12.114412][ T220] Preemption disabled at: [ 12.114413][ T220] [<0000000000000000>] 0x0 [ 12.114420][ T220] CPU: 3 UID: 0 PID: 220 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.114423][ T220] Tainted: [W]=WARN [ 12.114424][ T220] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.114425][ T220] Call Trace: [ 12.114427][ T220] [ 12.114428][ T220] dump_stack_lvl+0x6f/0xa0 [ 12.114434][ T220] __might_resched.cold+0x1fe/0x2c1 [ 12.114439][ T220] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.114443][ T220] ? __kmalloc_noprof+0xdb/0x760 [ 12.114448][ T220] __kmalloc_noprof+0x443/0x760 [ 12.114450][ T220] ? alloc_buf.isra.0+0x4b/0x260 [ 12.114457][ T220] ? do_raw_spin_unlock+0x59/0x250 [ 12.114460][ T220] alloc_buf.isra.0+0x4b/0x260 [ 12.114463][ T220] put_chars+0x1e1/0x2f0 [ 12.114466][ T220] ? __send_to_port+0x420/0x420 [ 12.114468][ T220] ? printk_get_next_message+0x2fe/0x7d0 [ 12.114472][ T220] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.114475][ T220] ? validate_chain+0x38b/0xc20 [ 12.114478][ T220] hvc_console_print+0x292/0x780 [ 12.114482][ T220] ? __lock_acquire+0x518/0xc20 [ 12.114484][ T220] ? __lock_acquire+0x518/0xc20 [ 12.114488][ T220] ? hvc_write+0x3a0/0x3a0 [ 12.114491][ T220] ? rcu_is_watching+0x16/0xd0 [ 12.114495][ T220] ? lock_acquire+0x13c/0x160 [ 12.114498][ T220] console_emit_next_record+0x252/0x4f0 [ 12.114502][ T220] ? devkmsg_read+0x4e0/0x4e0 [ 12.114506][ T220] ? rcu_is_watching+0x16/0xd0 [ 12.114509][ T220] ? lock_acquire+0x13c/0x160 [ 12.114512][ T220] console_flush_one_record+0x46f/0x710 [ 12.114516][ T220] ? console_emit_next_record+0x4f0/0x4f0 [ 12.114518][ T220] ? __lock_acquire+0x518/0xc20 [ 12.114523][ T220] console_unlock+0xee/0x1f0 [ 12.114526][ T220] ? console_flush_one_record+0x710/0x710 [ 12.114527][ T220] ? rcu_is_watching+0x16/0xd0 [ 12.114530][ T220] ? lock_acquire+0xa0/0x160 [ 12.114533][ T220] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.114535][ T220] ? vprintk_emit+0x320/0x3e0 [ 12.114538][ T220] vprintk_emit+0x37c/0x3e0 [ 12.114542][ T220] ? wake_up_klogd_work_func+0x90/0x90 [ 12.114545][ T220] ? __lock_acquire+0x518/0xc20 [ 12.114549][ T220] _printk+0xc7/0x100 [ 12.114552][ T220] ? snapshot_read.cold+0x21/0x21 [ 12.114555][ T220] ? do_raw_spin_lock+0x131/0x280 [ 12.114557][ T220] ? __rwlock_init+0x150/0x150 [ 12.114561][ T220] ? do_raw_spin_lock+0x131/0x280 [ 12.114563][ T220] do_exit.cold+0x82/0x9c [ 12.114567][ T220] ? exit_notify+0x890/0x890 [ 12.114569][ T220] ? __lock_release.isra.0+0x69/0x1a0 [ 12.114571][ T220] ? rcu_is_watching+0x16/0xd0 [ 12.114575][ T220] do_group_exit+0xb8/0x370 [ 12.114578][ T220] __x64_sys_exit_group+0x3c/0x50 [ 12.114580][ T220] x64_sys_call+0x1567/0x1570 [ 12.114582][ T220] do_syscall_64+0xff/0x530 [ 12.114586][ T220] ? exc_page_fault+0xee/0x100 [ 12.114589][ T220] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.114591][ T220] RIP: 0033:0x7ff0f91171b8 [ 12.114593][ T220] Code: Unable to access opcode bytes at 0x7ff0f911718e. [ 12.114594][ T220] RSP: 002b:00007ffd5d6676e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.114597][ T220] RAX: ffffffffffffffda RBX: 00007ff0f9247f88 RCX: 00007ff0f91171b8 [ 12.114598][ T220] RDX: 00007ff0f8e61fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.114599][ T220] RBP: 00007ffd5d667740 R08: 0000000000000000 R09: 0000000000000020 [ 12.114600][ T220] R10: 00007ffd5d667500 R11: 0000000000000246 R12: 0000000000000001 [ 12.114600][ T220] R13: 0000000000000000 R14: 00007ff0f9246680 R15: 00007ff0f9247fa0 [ 12.114607][ T220]