[ 11.013294][ T209] ip (209) used greatest stack depth: 24320 bytes left [ 11.013315][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.013317][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: ip [ 11.013319][ T209] preempt_count: 2, expected: 0 [ 11.013320][ T209] RCU nest depth: 0, expected: 0 [ 11.013321][ T209] locks held by ip/209: 5, last CPU#2: [ 11.013323][ T209] #0: ffffffff900167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.013335][ T209] #1: ffffffff9017ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.013339][ T209] #2: ffffffff9017de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.013344][ T209] #3: ffffffff9009d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.013347][ T209] #4: ffffffff9009d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.013351][ T209] irq event stamp: 29138 [ 11.013352][ T209] hardirqs last enabled at (29137): [] __down_trylock_console_sem+0x86/0xa0 [ 11.013355][ T209] hardirqs last disabled at (29138): [] console_emit_next_record+0x3d4/0x4c0 [ 11.013357][ T209] softirqs last enabled at (28940): [] handle_softirqs+0x67c/0x900 [ 11.013359][ T209] softirqs last disabled at (28935): [] __irq_exit_rcu+0x145/0x1c0 [ 11.013362][ T209] Preemption disabled at: [ 11.013363][ T209] [<0000000000000000>] 0x0 [ 11.013370][ T209] CPU: 2 UID: 0 PID: 209 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.013373][ T209] Tainted: [W]=WARN [ 11.013374][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.013375][ T209] Call Trace: [ 11.013377][ T209] [ 11.013378][ T209] dump_stack_lvl+0x6f/0xa0 [ 11.013385][ T209] __might_resched.cold+0x1fe/0x2c1 [ 11.013390][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.013394][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 11.013398][ T209] __kmalloc_noprof+0x443/0x760 [ 11.013400][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 11.013407][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 11.013410][ T209] alloc_buf.isra.0+0x4b/0x260 [ 11.013414][ T209] put_chars+0x1e1/0x2f0 [ 11.013416][ T209] ? __send_to_port+0x420/0x420 [ 11.013417][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.013421][ T209] ? validate_chain+0x38b/0xc20 [ 11.013426][ T209] hvc_console_print+0x292/0x780 [ 11.013434][ T209] ? hvc_write+0x3a0/0x3a0 [ 11.013436][ T209] ? rcu_is_watching+0x16/0xd0 [ 11.013438][ T209] ? lock_acquire+0x13c/0x160 [ 11.013442][ T209] console_emit_next_record+0x22f/0x4c0 [ 11.013446][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 11.013448][ T209] ? console_flush_one_record+0x106/0x710 [ 11.013451][ T209] ? rcu_is_watching+0x16/0xd0 [ 11.013453][ T209] ? lock_acquire+0x13c/0x160 [ 11.013457][ T209] console_flush_one_record+0x46f/0x710 [ 11.013461][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 11.013463][ T209] ? __lock_acquire+0x518/0xc20 [ 11.013468][ T209] console_unlock+0xee/0x1f0 [ 11.013471][ T209] ? console_flush_one_record+0x710/0x710 [ 11.013473][ T209] ? rcu_is_watching+0x16/0xd0 [ 11.013475][ T209] ? lock_acquire+0xe0/0x160 [ 11.013479][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.013480][ T209] ? vprintk_emit+0x320/0x3e0 [ 11.013483][ T209] vprintk_emit+0x37c/0x3e0 [ 11.013486][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 11.013489][ T209] ? __lock_acquire+0x518/0xc20 [ 11.013493][ T209] _printk+0xc7/0x100 [ 11.013503][ T209] ? snapshot_read.cold+0x21/0x21 [ 11.013505][ T209] ? do_raw_spin_lock+0x131/0x280 [ 11.013508][ T209] ? __rwlock_init+0x150/0x150 [ 11.013512][ T209] ? do_raw_spin_lock+0x131/0x280 [ 11.013515][ T209] do_exit.cold+0x82/0x9c [ 11.013518][ T209] ? exit_notify+0x890/0x890 [ 11.013520][ T209] ? __lock_release.isra.0+0x69/0x1a0 [ 11.013523][ T209] ? rcu_is_watching+0x16/0xd0 [ 11.013526][ T209] do_group_exit+0xb8/0x370 [ 11.013529][ T209] __x64_sys_exit_group+0x3c/0x50 [ 11.013531][ T209] x64_sys_call+0x1567/0x1570 [ 11.013533][ T209] do_syscall_64+0xff/0x530 [ 11.013537][ T209] ? exc_page_fault+0xee/0x100 [ 11.013540][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.013543][ T209] RIP: 0033:0x7f48a630a1b8 [ 11.013545][ T209] Code: Unable to access opcode bytes at 0x7f48a630a18e. [ 11.013546][ T209] RSP: 002b:00007fff4637a5e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.013548][ T209] RAX: ffffffffffffffda RBX: 00007f48a643af88 RCX: 00007f48a630a1b8 [ 11.013550][ T209] RDX: 00007f48a6054fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.013550][ T209] RBP: 00007fff4637a640 R08: 0000000000000000 R09: 0000000000000050 [ 11.013551][ T209] R10: 00007fff4637a400 R11: 0000000000000246 R12: 0000000000000001 [ 11.013552][ T209] R13: 0000000000000000 R14: 00007f48a6439680 R15: 00007f48a643afa0 [ 11.013559][ T209] [ 11.153256][ T212] ip (212) used greatest stack depth: 24240 bytes left