[ 9.098667][ T174] ip (174) used greatest stack depth: 23928 bytes left [ 9.098682][ T174] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.098684][ T174] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 174, name: ip [ 9.098686][ T174] preempt_count: 2, expected: 0 [ 9.098686][ T174] RCU nest depth: 0, expected: 0 [ 9.098687][ T174] locks held by ip/174: 5, last CPU#3: [ 9.098690][ T174] #0: ffffffffaf602f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 9.098701][ T174] #1: ffffffffaf76a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.098706][ T174] #2: ffffffffaf76a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.098709][ T174] #3: ffffffffaf689de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.098712][ T174] #4: ffffffffaf689ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.098715][ T174] irq event stamp: 22582 [ 9.098716][ T174] hardirqs last enabled at (22581): [] __down_trylock_console_sem+0x86/0xa0 [ 9.098720][ T174] hardirqs last disabled at (22582): [] console_emit_next_record+0x3d4/0x4c0 [ 9.098721][ T174] softirqs last enabled at (21006): [] netlink_release+0x17b/0xcf0 [ 9.098725][ T174] softirqs last disabled at (21004): [] netlink_release+0xd2/0xcf0 [ 9.098727][ T174] Preemption disabled at: [ 9.098728][ T174] [<0000000000000000>] 0x0 [ 9.098735][ T174] CPU: 3 UID: 0 PID: 174 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.098738][ T174] Tainted: [W]=WARN [ 9.098739][ T174] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.098740][ T174] Call Trace: [ 9.098742][ T174] [ 9.098743][ T174] dump_stack_lvl+0x6f/0xa0 [ 9.098749][ T174] __might_resched.cold+0x1fe/0x2c1 [ 9.098753][ T174] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.098756][ T174] ? __kmalloc_noprof+0xdb/0x760 [ 9.098761][ T174] __kmalloc_noprof+0x443/0x760 [ 9.098764][ T174] ? alloc_buf.isra.0+0x4b/0x260 [ 9.098770][ T174] ? do_raw_spin_unlock+0x59/0x250 [ 9.098772][ T174] alloc_buf.isra.0+0x4b/0x260 [ 9.098776][ T174] put_chars+0x1e1/0x2f0 [ 9.098778][ T174] ? __send_to_port+0x420/0x420 [ 9.098789][ T174] hvc_console_print+0x292/0x780 [ 9.098796][ T174] ? hvc_write+0x3a0/0x3a0 [ 9.098799][ T174] ? lock_acquire+0x13c/0x160 [ 9.098804][ T174] console_emit_next_record+0x22f/0x4c0 [ 9.098807][ T174] ? devkmsg_read+0x4b0/0x4b0 [ 9.098808][ T174] ? console_flush_one_record+0x106/0x710 [ 9.098811][ T174] ? rcu_is_watching+0x16/0xd0 [ 9.098814][ T174] ? lock_acquire+0x13c/0x160 [ 9.098818][ T174] console_flush_one_record+0x46f/0x710 [ 9.098822][ T174] ? console_emit_next_record+0x4c0/0x4c0 [ 9.098823][ T174] ? __lock_acquire+0x518/0xc20 [ 9.098828][ T174] console_unlock+0xee/0x1f0 [ 9.098830][ T174] ? console_flush_one_record+0x710/0x710 [ 9.098832][ T174] ? rcu_is_watching+0x16/0xd0 [ 9.098833][ T174] ? lock_acquire+0x60/0x160 [ 9.098837][ T174] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.098839][ T174] ? vprintk_emit+0x320/0x3e0 [ 9.098842][ T174] vprintk_emit+0x37c/0x3e0 [ 9.098845][ T174] ? wake_up_klogd_work_func+0x90/0x90 [ 9.098848][ T174] ? __lock_acquire+0x518/0xc20 [ 9.098852][ T174] _printk+0xc7/0x100 [ 9.098855][ T174] ? snapshot_read.cold+0x21/0x21 [ 9.098858][ T174] ? do_raw_spin_lock+0x131/0x280 [ 9.098861][ T174] ? __rwlock_init+0x150/0x150 [ 9.098865][ T174] ? do_raw_spin_lock+0x131/0x280 [ 9.098867][ T174] do_exit.cold+0x82/0x9c [ 9.098871][ T174] ? exit_notify+0x890/0x890 [ 9.098873][ T174] ? __lock_release.isra.0+0x69/0x1a0 [ 9.098876][ T174] ? rcu_is_watching+0x16/0xd0 [ 9.098879][ T174] do_group_exit+0xb8/0x370 [ 9.098882][ T174] __x64_sys_exit_group+0x3c/0x50 [ 9.098884][ T174] x64_sys_call+0x1567/0x1570 [ 9.098887][ T174] do_syscall_64+0x10e/0x570 [ 9.098890][ T174] ? exc_page_fault+0xee/0x100 [ 9.098893][ T174] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.098895][ T174] RIP: 0033:0x7fb6853af1b8 [ 9.098898][ T174] Code: Unable to access opcode bytes at 0x7fb6853af18e. [ 9.098899][ T174] RSP: 002b:00007ffe12af8068 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.098901][ T174] RAX: ffffffffffffffda RBX: 00007fb6854dff88 RCX: 00007fb6853af1b8 [ 9.098902][ T174] RDX: 00007fb6850f9fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.098903][ T174] RBP: 00007ffe12af80c0 R08: 0000000000000000 R09: 0000000000000050 [ 9.098904][ T174] R10: 00007ffe12af7e80 R11: 0000000000000246 R12: 0000000000000001 [ 9.098904][ T174] R13: 0000000000000000 R14: 00007fb6854de680 R15: 00007fb6854dffa0 [ 9.098911][ T174]