[ 9.607056][ T186] ip (186) used greatest stack depth: 23872 bytes left [ 9.607073][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.607075][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: ip [ 9.607076][ T186] preempt_count: 2, expected: 0 [ 9.607077][ T186] RCU nest depth: 0, expected: 0 [ 9.607078][ T186] locks held by ip/186: 5, last CPU#0: [ 9.607080][ T186] #0: ffffffffb3e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.607094][ T186] #1: ffffffffb3f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.607100][ T186] #2: ffffffffb3f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.607104][ T186] #3: ffffffffb3e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.607110][ T186] #4: ffffffffb3e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.607117][ T186] irq event stamp: 41044 [ 9.607118][ T186] hardirqs last enabled at (41043): [] __down_trylock_console_sem+0x86/0xa0 [ 9.607120][ T186] hardirqs last disabled at (41044): [] console_emit_next_record+0x3d4/0x4c0 [ 9.607123][ T186] softirqs last enabled at (39758): [] netlink_release+0x17b/0xcf0 [ 9.607127][ T186] softirqs last disabled at (39756): [] netlink_release+0xd2/0xcf0 [ 9.607129][ T186] Preemption disabled at: [ 9.607130][ T186] [<0000000000000000>] 0x0 [ 9.607137][ T186] CPU: 0 UID: 0 PID: 186 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.607143][ T186] Tainted: [W]=WARN [ 9.607144][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.607146][ T186] Call Trace: [ 9.607147][ T186] [ 9.607149][ T186] dump_stack_lvl+0x6f/0xa0 [ 9.607156][ T186] __might_resched.cold+0x1fe/0x2c1 [ 9.607160][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.607165][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 9.607170][ T186] __kmalloc_noprof+0x443/0x760 [ 9.607172][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 9.607178][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 9.607181][ T186] alloc_buf.isra.0+0x4b/0x260 [ 9.607184][ T186] put_chars+0x1e1/0x2f0 [ 9.607187][ T186] ? __send_to_port+0x420/0x420 [ 9.607189][ T186] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.607194][ T186] ? validate_chain+0x38b/0xc20 [ 9.607199][ T186] hvc_console_print+0x292/0x780 [ 9.607206][ T186] ? hvc_write+0x3a0/0x3a0 [ 9.607208][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.607210][ T186] ? lock_acquire+0x13c/0x160 [ 9.607214][ T186] console_emit_next_record+0x22f/0x4c0 [ 9.607218][ T186] ? devkmsg_read+0x4b0/0x4b0 [ 9.607220][ T186] ? console_flush_one_record+0x106/0x710 [ 9.607223][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.607226][ T186] ? lock_acquire+0x13c/0x160 [ 9.607230][ T186] console_flush_one_record+0x46f/0x710 [ 9.607234][ T186] ? console_emit_next_record+0x4c0/0x4c0 [ 9.607236][ T186] ? __lock_acquire+0x518/0xc20 [ 9.607241][ T186] console_unlock+0xee/0x1f0 [ 9.607244][ T186] ? console_flush_one_record+0x710/0x710 [ 9.607246][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.607248][ T186] ? lock_acquire+0x60/0x160 [ 9.607252][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.607254][ T186] ? vprintk_emit+0x320/0x3e0 [ 9.607257][ T186] vprintk_emit+0x37c/0x3e0 [ 9.607261][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 9.607265][ T186] ? __lock_acquire+0x518/0xc20 [ 9.607269][ T186] _printk+0xc7/0x100 [ 9.607272][ T186] ? snapshot_read.cold+0x21/0x21 [ 9.607275][ T186] ? do_raw_spin_lock+0x131/0x280 [ 9.607278][ T186] ? __rwlock_init+0x150/0x150 [ 9.607282][ T186] ? do_raw_spin_lock+0x131/0x280 [ 9.607285][ T186] do_exit.cold+0x82/0x9c [ 9.607288][ T186] ? exit_notify+0x890/0x890 [ 9.607290][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 9.607293][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.607297][ T186] do_group_exit+0xb8/0x370 [ 9.607300][ T186] __x64_sys_exit_group+0x3c/0x50 [ 9.607302][ T186] x64_sys_call+0x1567/0x1570 [ 9.607304][ T186] do_syscall_64+0xff/0x530 [ 9.607307][ T186] ? exc_page_fault+0xee/0x100 [ 9.607310][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.607313][ T186] RIP: 0033:0x7f96a24211b8 [ 9.607315][ T186] Code: Unable to access opcode bytes at 0x7f96a242118e. [ 9.607317][ T186] RSP: 002b:00007fffd9b884c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.607319][ T186] RAX: ffffffffffffffda RBX: 00007f96a2551f88 RCX: 00007f96a24211b8 [ 9.607320][ T186] RDX: 00007f96a216bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.607322][ T186] RBP: 00007fffd9b88520 R08: 0000000000000000 R09: 0000000000008010 [ 9.607322][ T186] R10: 00007fffd9b882e0 R11: 0000000000000246 R12: 0000000000000001 [ 9.607323][ T186] R13: 0000000000000000 R14: 00007f96a2550680 R15: 00007f96a2551fa0 [ 9.607330][ T186]