[ 9.519538][ T212] ip (212) used greatest stack depth: 24016 bytes left [ 9.519553][ T212] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.519555][ T212] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 212, name: ip [ 9.519556][ T212] preempt_count: 2, expected: 0 [ 9.519557][ T212] RCU nest depth: 0, expected: 0 [ 9.519558][ T212] locks held by ip/212: 5, last CPU#2: [ 9.519560][ T212] #0: ffffffffb68167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.519571][ T212] #1: ffffffffb697ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.519576][ T212] #2: ffffffffb697de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.519580][ T212] #3: ffffffffb689d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.519584][ T212] #4: ffffffffb689d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.519588][ T212] irq event stamp: 30114 [ 9.519588][ T212] hardirqs last enabled at (30113): [] __down_trylock_console_sem+0x86/0xa0 [ 9.519592][ T212] hardirqs last disabled at (30114): [] console_emit_next_record+0x3d4/0x4c0 [ 9.519594][ T212] softirqs last enabled at (28550): [] netlink_release+0x17b/0xcf0 [ 9.519598][ T212] softirqs last disabled at (28548): [] netlink_release+0xd2/0xcf0 [ 9.519600][ T212] Preemption disabled at: [ 9.519601][ T212] [<0000000000000000>] 0x0 [ 9.519607][ T212] CPU: 2 UID: 0 PID: 212 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.519611][ T212] Tainted: [W]=WARN [ 9.519612][ T212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.519613][ T212] Call Trace: [ 9.519615][ T212] [ 9.519616][ T212] dump_stack_lvl+0x6f/0xa0 [ 9.519623][ T212] __might_resched.cold+0x1fe/0x2c1 [ 9.519627][ T212] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.519631][ T212] ? __kmalloc_noprof+0xdb/0x760 [ 9.519636][ T212] __kmalloc_noprof+0x443/0x760 [ 9.519638][ T212] ? alloc_buf.isra.0+0x4b/0x260 [ 9.519644][ T212] ? do_raw_spin_unlock+0x59/0x250 [ 9.519647][ T212] alloc_buf.isra.0+0x4b/0x260 [ 9.519651][ T212] put_chars+0x1e1/0x2f0 [ 9.519653][ T212] ? __send_to_port+0x420/0x420 [ 9.519654][ T212] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.519658][ T212] ? validate_chain+0x38b/0xc20 [ 9.519663][ T212] hvc_console_print+0x292/0x780 [ 9.519671][ T212] ? hvc_write+0x3a0/0x3a0 [ 9.519674][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.519675][ T212] ? lock_acquire+0x13c/0x160 [ 9.519679][ T212] console_emit_next_record+0x22f/0x4c0 [ 9.519683][ T212] ? devkmsg_read+0x4b0/0x4b0 [ 9.519685][ T212] ? console_flush_one_record+0x106/0x710 [ 9.519689][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.519690][ T212] ? lock_acquire+0x13c/0x160 [ 9.519694][ T212] console_flush_one_record+0x46f/0x710 [ 9.519699][ T212] ? console_emit_next_record+0x4c0/0x4c0 [ 9.519701][ T212] ? __lock_acquire+0x518/0xc20 [ 9.519706][ T212] console_unlock+0xee/0x1f0 [ 9.519709][ T212] ? console_flush_one_record+0x710/0x710 [ 9.519711][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.519712][ T212] ? lock_acquire+0xe0/0x160 [ 9.519716][ T212] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.519718][ T212] ? vprintk_emit+0x320/0x3e0 [ 9.519721][ T212] vprintk_emit+0x37c/0x3e0 [ 9.519728][ T212] ? wake_up_klogd_work_func+0x90/0x90 [ 9.519731][ T212] ? __lock_acquire+0x518/0xc20 [ 9.519735][ T212] _printk+0xc7/0x100 [ 9.519738][ T212] ? snapshot_read.cold+0x21/0x21 [ 9.519741][ T212] ? do_raw_spin_lock+0x131/0x280 [ 9.519744][ T212] ? __rwlock_init+0x150/0x150 [ 9.519748][ T212] ? do_raw_spin_lock+0x131/0x280 [ 9.519751][ T212] do_exit.cold+0x82/0x9c [ 9.519754][ T212] ? exit_notify+0x890/0x890 [ 9.519756][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 9.519758][ T212] ? rcu_is_watching+0x16/0xd0 [ 9.519762][ T212] do_group_exit+0xb8/0x370 [ 9.519765][ T212] __x64_sys_exit_group+0x3c/0x50 [ 9.519767][ T212] x64_sys_call+0x1567/0x1570 [ 9.519769][ T212] do_syscall_64+0xff/0x530 [ 9.519773][ T212] ? exc_page_fault+0xee/0x100 [ 9.519776][ T212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.519778][ T212] RIP: 0033:0x7f2cf7f6c1b8 [ 9.519781][ T212] Code: Unable to access opcode bytes at 0x7f2cf7f6c18e. [ 9.519782][ T212] RSP: 002b:00007ffef818d5f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.519784][ T212] RAX: ffffffffffffffda RBX: 00007f2cf809cf88 RCX: 00007f2cf7f6c1b8 [ 9.519785][ T212] RDX: 00007f2cf7cb6fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.519787][ T212] RBP: 00007ffef818d650 R08: 0000000000000000 R09: 0000000000000050 [ 9.519787][ T212] R10: 00007ffef818d410 R11: 0000000000000246 R12: 0000000000000001 [ 9.519788][ T212] R13: 0000000000000000 R14: 00007f2cf809b680 R15: 00007f2cf809cfa0 [ 9.519795][ T212]