[ 10.631100][ T262] ip (262) used greatest stack depth: 24264 bytes left [ 10.631115][ T262] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.631117][ T262] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 262, name: ip [ 10.631119][ T262] preempt_count: 2, expected: 0 [ 10.631119][ T262] RCU nest depth: 0, expected: 0 [ 10.631120][ T262] locks held by ip/262: 5, last CPU#2: [ 10.631122][ T262] #0: ffffffff978167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.631133][ T262] #1: ffffffff9797ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.631138][ T262] #2: ffffffff9797de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.631142][ T262] #3: ffffffff9789d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.631146][ T262] #4: ffffffff9789d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.631150][ T262] irq event stamp: 22516 [ 10.631150][ T262] hardirqs last enabled at (22515): [] __down_trylock_console_sem+0x86/0xa0 [ 10.631153][ T262] hardirqs last disabled at (22516): [] console_emit_next_record+0x3d4/0x4c0 [ 10.631155][ T262] softirqs last enabled at (21374): [] handle_softirqs+0x67c/0x900 [ 10.631157][ T262] softirqs last disabled at (21083): [] __irq_exit_rcu+0x145/0x1c0 [ 10.631160][ T262] Preemption disabled at: [ 10.631160][ T262] [<0000000000000000>] 0x0 [ 10.631167][ T262] CPU: 2 UID: 0 PID: 262 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.631170][ T262] Tainted: [W]=WARN [ 10.631171][ T262] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.631173][ T262] Call Trace: [ 10.631174][ T262] [ 10.631176][ T262] dump_stack_lvl+0x6f/0xa0 [ 10.631182][ T262] __might_resched.cold+0x1fe/0x2c1 [ 10.631187][ T262] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.631191][ T262] ? __kmalloc_noprof+0xdb/0x760 [ 10.631196][ T262] __kmalloc_noprof+0x443/0x760 [ 10.631198][ T262] ? alloc_buf.isra.0+0x4b/0x260 [ 10.631204][ T262] ? do_raw_spin_unlock+0x59/0x250 [ 10.631207][ T262] alloc_buf.isra.0+0x4b/0x260 [ 10.631211][ T262] put_chars+0x1e1/0x2f0 [ 10.631213][ T262] ? __send_to_port+0x420/0x420 [ 10.631214][ T262] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.631218][ T262] ? validate_chain+0x38b/0xc20 [ 10.631223][ T262] hvc_console_print+0x292/0x780 [ 10.631231][ T262] ? hvc_write+0x3a0/0x3a0 [ 10.631233][ T262] ? rcu_is_watching+0x16/0xd0 [ 10.631235][ T262] ? lock_acquire+0x13c/0x160 [ 10.631239][ T262] console_emit_next_record+0x22f/0x4c0 [ 10.631243][ T262] ? devkmsg_read+0x4b0/0x4b0 [ 10.631245][ T262] ? console_flush_one_record+0x106/0x710 [ 10.631248][ T262] ? rcu_is_watching+0x16/0xd0 [ 10.631250][ T262] ? lock_acquire+0x13c/0x160 [ 10.631254][ T262] console_flush_one_record+0x46f/0x710 [ 10.631258][ T262] ? console_emit_next_record+0x4c0/0x4c0 [ 10.631260][ T262] ? __lock_acquire+0x518/0xc20 [ 10.631265][ T262] console_unlock+0xee/0x1f0 [ 10.631268][ T262] ? console_flush_one_record+0x710/0x710 [ 10.631270][ T262] ? rcu_is_watching+0x16/0xd0 [ 10.631271][ T262] ? lock_acquire+0xe0/0x160 [ 10.631275][ T262] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.631277][ T262] ? vprintk_emit+0x320/0x3e0 [ 10.631279][ T262] vprintk_emit+0x37c/0x3e0 [ 10.631283][ T262] ? wake_up_klogd_work_func+0x90/0x90 [ 10.631285][ T262] ? __lock_acquire+0x518/0xc20 [ 10.631289][ T262] _printk+0xc7/0x100 [ 10.631292][ T262] ? snapshot_read.cold+0x21/0x21 [ 10.631295][ T262] ? do_raw_spin_lock+0x131/0x280 [ 10.631298][ T262] ? __rwlock_init+0x150/0x150 [ 10.631302][ T262] ? do_raw_spin_lock+0x131/0x280 [ 10.631304][ T262] do_exit.cold+0x82/0x9c [ 10.631308][ T262] ? exit_notify+0x890/0x890 [ 10.631309][ T262] ? __lock_release.isra.0+0x69/0x1a0 [ 10.631312][ T262] ? rcu_is_watching+0x16/0xd0 [ 10.631315][ T262] do_group_exit+0xb8/0x370 [ 10.631318][ T262] __x64_sys_exit_group+0x3c/0x50 [ 10.631320][ T262] x64_sys_call+0x1567/0x1570 [ 10.631322][ T262] do_syscall_64+0xff/0x530 [ 10.631326][ T262] ? exc_page_fault+0xee/0x100 [ 10.631329][ T262] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.631331][ T262] RIP: 0033:0x7f10e2ae41b8 [ 10.631333][ T262] Code: Unable to access opcode bytes at 0x7f10e2ae418e. [ 10.631335][ T262] RSP: 002b:00007ffc2a3b6b28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.631337][ T262] RAX: ffffffffffffffda RBX: 00007f10e2c14f88 RCX: 00007f10e2ae41b8 [ 10.631339][ T262] RDX: 00007f10e282efc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.631339][ T262] RBP: 00007ffc2a3b6b80 R08: 0000000000000000 R09: 0000000000000060 [ 10.631340][ T262] R10: 00007ffc2a3b6940 R11: 0000000000000246 R12: 0000000000000001 [ 10.631341][ T262] R13: 0000000000000000 R14: 00007f10e2c13680 R15: 00007f10e2c14fa0 [ 10.631348][ T262]