[ 9.735464][ T204] ip (204) used greatest stack depth: 24808 bytes left [ 9.735479][ T204] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.735481][ T204] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 204, name: ip [ 9.735483][ T204] preempt_count: 2, expected: 0 [ 9.735484][ T204] RCU nest depth: 0, expected: 0 [ 9.735484][ T204] locks held by ip/204: 5, last CPU#1: [ 9.735487][ T204] #0: ffffffffa20027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.735498][ T204] #1: ffffffffa2169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.735503][ T204] #2: ffffffffa2169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.735507][ T204] #3: ffffffffa2089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.735510][ T204] #4: ffffffffa2089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.735513][ T204] irq event stamp: 18610 [ 9.735514][ T204] hardirqs last enabled at (18609): [] __down_trylock_console_sem+0x86/0xa0 [ 9.735517][ T204] hardirqs last disabled at (18610): [] console_emit_next_record+0x3d4/0x4c0 [ 9.735518][ T204] softirqs last enabled at (18160): [] handle_softirqs+0x67c/0x900 [ 9.735520][ T204] softirqs last disabled at (18155): [] __irq_exit_rcu+0x145/0x1c0 [ 9.735523][ T204] Preemption disabled at: [ 9.735524][ T204] [<0000000000000000>] 0x0 [ 9.735530][ T204] CPU: 1 UID: 0 PID: 204 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.735533][ T204] Tainted: [W]=WARN [ 9.735534][ T204] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.735536][ T204] Call Trace: [ 9.735537][ T204] [ 9.735539][ T204] dump_stack_lvl+0x6f/0xa0 [ 9.735544][ T204] __might_resched.cold+0x1fe/0x2c1 [ 9.735548][ T204] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.735551][ T204] ? __kmalloc_noprof+0xdb/0x760 [ 9.735557][ T204] __kmalloc_noprof+0x443/0x760 [ 9.735559][ T204] ? alloc_buf.isra.0+0x4b/0x260 [ 9.735566][ T204] ? do_raw_spin_unlock+0x59/0x250 [ 9.735568][ T204] alloc_buf.isra.0+0x4b/0x260 [ 9.735572][ T204] put_chars+0x1e1/0x2f0 [ 9.735574][ T204] ? __send_to_port+0x420/0x420 [ 9.735576][ T204] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.735580][ T204] ? validate_chain+0x38b/0xc20 [ 9.735585][ T204] hvc_console_print+0x292/0x780 [ 9.735591][ T204] ? hvc_write+0x3a0/0x3a0 [ 9.735594][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.735596][ T204] ? lock_acquire+0x13c/0x160 [ 9.735600][ T204] console_emit_next_record+0x22f/0x4c0 [ 9.735603][ T204] ? devkmsg_read+0x4b0/0x4b0 [ 9.735604][ T204] ? console_flush_one_record+0x106/0x710 [ 9.735607][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.735609][ T204] ? lock_acquire+0x13c/0x160 [ 9.735612][ T204] console_flush_one_record+0x46f/0x710 [ 9.735616][ T204] ? console_emit_next_record+0x4c0/0x4c0 [ 9.735617][ T204] ? __lock_acquire+0x518/0xc20 [ 9.735626][ T204] console_unlock+0xee/0x1f0 [ 9.735628][ T204] ? console_flush_one_record+0x710/0x710 [ 9.735629][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.735631][ T204] ? lock_acquire+0x60/0x160 [ 9.735635][ T204] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.735636][ T204] ? vprintk_emit+0x320/0x3e0 [ 9.735639][ T204] vprintk_emit+0x37c/0x3e0 [ 9.735642][ T204] ? wake_up_klogd_work_func+0x90/0x90 [ 9.735645][ T204] ? __lock_acquire+0x518/0xc20 [ 9.735649][ T204] _printk+0xc7/0x100 [ 9.735652][ T204] ? snapshot_read.cold+0x21/0x21 [ 9.735655][ T204] ? do_raw_spin_lock+0x131/0x280 [ 9.735658][ T204] ? __rwlock_init+0x150/0x150 [ 9.735662][ T204] ? do_raw_spin_lock+0x131/0x280 [ 9.735664][ T204] do_exit.cold+0x82/0x9c [ 9.735668][ T204] ? exit_notify+0x890/0x890 [ 9.735669][ T204] ? __lock_release.isra.0+0x69/0x1a0 [ 9.735672][ T204] ? rcu_is_watching+0x16/0xd0 [ 9.735676][ T204] do_group_exit+0xb8/0x370 [ 9.735678][ T204] __x64_sys_exit_group+0x3c/0x50 [ 9.735680][ T204] x64_sys_call+0x1567/0x1570 [ 9.735683][ T204] do_syscall_64+0xff/0x530 [ 9.735687][ T204] ? exc_page_fault+0xee/0x100 [ 9.735690][ T204] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.735692][ T204] RIP: 0033:0x7fcad1c151b8 [ 9.735694][ T204] Code: Unable to access opcode bytes at 0x7fcad1c1518e. [ 9.735695][ T204] RSP: 002b:00007ffd8dd9e6e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.735697][ T204] RAX: ffffffffffffffda RBX: 00007fcad1d45f88 RCX: 00007fcad1c151b8 [ 9.735698][ T204] RDX: 00007fcad195ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.735699][ T204] RBP: 00007ffd8dd9e740 R08: 0000000000000000 R09: 0000000000008010 [ 9.735700][ T204] R10: 00007ffd8dd9e500 R11: 0000000000000246 R12: 0000000000000001 [ 9.735701][ T204] R13: 0000000000000000 R14: 00007fcad1d44680 R15: 00007fcad1d45fa0 [ 9.735708][ T204]