[ 9.483490][ T209] ip (209) used greatest stack depth: 23664 bytes left [ 9.483505][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.483507][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: ip [ 9.483508][ T209] preempt_count: 2, expected: 0 [ 9.483509][ T209] RCU nest depth: 0, expected: 0 [ 9.483510][ T209] locks held by ip/209: 5, last CPU#3: [ 9.483512][ T209] #0: ffffffffba4167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.483523][ T209] #1: ffffffffba57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.483527][ T209] #2: ffffffffba57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.483531][ T209] #3: ffffffffba49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.483535][ T209] #4: ffffffffba49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.483539][ T209] irq event stamp: 34564 [ 9.483540][ T209] hardirqs last enabled at (34563): [] __down_trylock_console_sem+0x86/0xa0 [ 9.483543][ T209] hardirqs last disabled at (34564): [] console_emit_next_record+0x3d4/0x4c0 [ 9.483545][ T209] softirqs last enabled at (33272): [] netlink_release+0x17b/0xcf0 [ 9.483549][ T209] softirqs last disabled at (33270): [] netlink_release+0xd2/0xcf0 [ 9.483551][ T209] Preemption disabled at: [ 9.483552][ T209] [<0000000000000000>] 0x0 [ 9.483558][ T209] CPU: 3 UID: 0 PID: 209 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.483561][ T209] Tainted: [W]=WARN [ 9.483562][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.483564][ T209] Call Trace: [ 9.483565][ T209] [ 9.483567][ T209] dump_stack_lvl+0x6f/0xa0 [ 9.483573][ T209] __might_resched.cold+0x1fe/0x2c1 [ 9.483577][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.483581][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 9.483586][ T209] __kmalloc_noprof+0x443/0x760 [ 9.483588][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 9.483594][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 9.483596][ T209] alloc_buf.isra.0+0x4b/0x260 [ 9.483600][ T209] put_chars+0x1e1/0x2f0 [ 9.483602][ T209] ? __send_to_port+0x420/0x420 [ 9.483604][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.483607][ T209] ? validate_chain+0x38b/0xc20 [ 9.483612][ T209] hvc_console_print+0x292/0x780 [ 9.483620][ T209] ? hvc_write+0x3a0/0x3a0 [ 9.483622][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.483624][ T209] ? lock_acquire+0x13c/0x160 [ 9.483628][ T209] console_emit_next_record+0x22f/0x4c0 [ 9.483632][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 9.483634][ T209] ? console_flush_one_record+0x106/0x710 [ 9.483637][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.483639][ T209] ? lock_acquire+0x13c/0x160 [ 9.483643][ T209] console_flush_one_record+0x46f/0x710 [ 9.483647][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 9.483649][ T209] ? __lock_acquire+0x518/0xc20 [ 9.483654][ T209] console_unlock+0xee/0x1f0 [ 9.483657][ T209] ? console_flush_one_record+0x710/0x710 [ 9.483658][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.483660][ T209] ? lock_acquire+0xe0/0x160 [ 9.483664][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.483666][ T209] ? vprintk_emit+0x320/0x3e0 [ 9.483668][ T209] vprintk_emit+0x37c/0x3e0 [ 9.483671][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 9.483674][ T209] ? __lock_acquire+0x518/0xc20 [ 9.483678][ T209] _printk+0xc7/0x100 [ 9.483682][ T209] ? snapshot_read.cold+0x21/0x21 [ 9.483684][ T209] ? do_raw_spin_lock+0x131/0x280 [ 9.483687][ T209] ? __rwlock_init+0x150/0x150 [ 9.483691][ T209] ? do_raw_spin_lock+0x131/0x280 [ 9.483693][ T209] do_exit.cold+0x82/0x9c [ 9.483697][ T209] ? exit_notify+0x890/0x890 [ 9.483698][ T209] ? __lock_release.isra.0+0x69/0x1a0 [ 9.483701][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.483705][ T209] do_group_exit+0xb8/0x370 [ 9.483708][ T209] __x64_sys_exit_group+0x3c/0x50 [ 9.483709][ T209] x64_sys_call+0x1567/0x1570 [ 9.483712][ T209] do_syscall_64+0xff/0x530 [ 9.483715][ T209] ? exc_page_fault+0xee/0x100 [ 9.483718][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.483720][ T209] RIP: 0033:0x7f4b66ff71b8 [ 9.483722][ T209] Code: Unable to access opcode bytes at 0x7f4b66ff718e. [ 9.483723][ T209] RSP: 002b:00007ffc4a8c38d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.483725][ T209] RAX: ffffffffffffffda RBX: 00007f4b67127f88 RCX: 00007f4b66ff71b8 [ 9.483727][ T209] RDX: 00007f4b66d41fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.483728][ T209] RBP: 00007ffc4a8c3930 R08: 0000000000000000 R09: 0000000000008010 [ 9.483729][ T209] R10: 00007ffc4a8c36f0 R11: 0000000000000246 R12: 0000000000000001 [ 9.483729][ T209] R13: 0000000000000000 R14: 00007f4b67126680 R15: 00007f4b67127fa0 [ 9.483736][ T209]