[ 10.431735][ T187] ip (187) used greatest stack depth: 23296 bytes left [ 10.431753][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.431755][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 10.431756][ T187] preempt_count: 2, expected: 0 [ 10.431757][ T187] RCU nest depth: 0, expected: 0 [ 10.431758][ T187] locks held by ip/187: 5, last CPU#3: [ 10.431761][ T187] #0: ffffffffb0a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.431773][ T187] #1: ffffffffb0b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.431779][ T187] #2: ffffffffb0b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.431783][ T187] #3: ffffffffb0a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.431787][ T187] #4: ffffffffb0a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.431791][ T187] irq event stamp: 29942 [ 10.431791][ T187] hardirqs last enabled at (29941): [] __down_trylock_console_sem+0x86/0xa0 [ 10.431794][ T187] hardirqs last disabled at (29942): [] console_emit_next_record+0x3d4/0x4c0 [ 10.431796][ T187] softirqs last enabled at (28858): [] handle_softirqs+0x67c/0x900 [ 10.431798][ T187] softirqs last disabled at (28853): [] __irq_exit_rcu+0x145/0x1c0 [ 10.431800][ T187] Preemption disabled at: [ 10.431801][ T187] [<0000000000000000>] 0x0 [ 10.431807][ T187] CPU: 3 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.431811][ T187] Tainted: [W]=WARN [ 10.431812][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.431813][ T187] Call Trace: [ 10.431815][ T187] [ 10.431817][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.431823][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.431827][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.431832][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.431837][ T187] __kmalloc_noprof+0x443/0x760 [ 10.431839][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.431845][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.431850][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.431853][ T187] put_chars+0x1e1/0x2f0 [ 10.431856][ T187] ? __send_to_port+0x420/0x420 [ 10.431857][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.431862][ T187] ? validate_chain+0x38b/0xc20 [ 10.431867][ T187] hvc_console_print+0x292/0x780 [ 10.431874][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.431876][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.431878][ T187] ? lock_acquire+0x13c/0x160 [ 10.431882][ T187] console_emit_next_record+0x22f/0x4c0 [ 10.431886][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 10.431888][ T187] ? console_flush_one_record+0x106/0x710 [ 10.431891][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.431893][ T187] ? lock_acquire+0x13c/0x160 [ 10.431897][ T187] console_flush_one_record+0x46f/0x710 [ 10.431901][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 10.431903][ T187] ? __lock_acquire+0x518/0xc20 [ 10.431909][ T187] console_unlock+0xee/0x1f0 [ 10.431911][ T187] ? console_flush_one_record+0x710/0x710 [ 10.431913][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.431916][ T187] ? lock_acquire+0x60/0x160 [ 10.431919][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.431921][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.431925][ T187] vprintk_emit+0x37c/0x3e0 [ 10.431928][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.431932][ T187] ? __lock_acquire+0x518/0xc20 [ 10.431935][ T187] _printk+0xc7/0x100 [ 10.431939][ T187] ? snapshot_read.cold+0x21/0x21 [ 10.431942][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.431945][ T187] ? __rwlock_init+0x150/0x150 [ 10.431949][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.431951][ T187] do_exit.cold+0x82/0x9c [ 10.431955][ T187] ? exit_notify+0x890/0x890 [ 10.431957][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.431960][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.431964][ T187] do_group_exit+0xb8/0x370 [ 10.431967][ T187] __x64_sys_exit_group+0x3c/0x50 [ 10.431968][ T187] x64_sys_call+0x1567/0x1570 [ 10.431971][ T187] do_syscall_64+0xff/0x530 [ 10.431974][ T187] ? exc_page_fault+0xee/0x100 [ 10.431977][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.431980][ T187] RIP: 0033:0x7f92633ba1b8 [ 10.431982][ T187] Code: Unable to access opcode bytes at 0x7f92633ba18e. [ 10.431983][ T187] RSP: 002b:00007ffda559f258 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.431985][ T187] RAX: ffffffffffffffda RBX: 00007f92634eaf88 RCX: 00007f92633ba1b8 [ 10.431987][ T187] RDX: 00007f9263104fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.431988][ T187] RBP: 00007ffda559f2b0 R08: 0000000000000000 R09: 0000000000008010 [ 10.431989][ T187] R10: 00007ffda559f070 R11: 0000000000000246 R12: 0000000000000001 [ 10.431990][ T187] R13: 0000000000000000 R14: 00007f92634e9680 R15: 00007f92634eafa0 [ 10.431996][ T187]