[ 459.332443][T14313] ip (14313) used greatest stack depth: 23520 bytes left [ 459.332467][T14313] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 459.332469][T14313] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 14313, name: ip [ 459.332471][T14313] preempt_count: 2, expected: 0 [ 459.332472][T14313] RCU nest depth: 0, expected: 0 [ 459.332474][T14313] locks held by ip/14313: 5, last CPU#3: [ 459.332476][T14313] #0: ffffffffba4167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 459.332490][T14313] #1: ffffffffba57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 459.332496][T14313] #2: ffffffffba57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 459.332501][T14313] #3: ffffffffba49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 459.332506][T14313] #4: ffffffffba49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 459.332512][T14313] irq event stamp: 28458 [ 459.332513][T14313] hardirqs last enabled at (28457): [] __down_trylock_console_sem+0x86/0xa0 [ 459.332517][T14313] hardirqs last disabled at (28458): [] console_emit_next_record+0x3d4/0x4c0 [ 459.332520][T14313] softirqs last enabled at (28086): [] handle_softirqs+0x67c/0x900 [ 459.332522][T14313] softirqs last disabled at (28081): [] __irq_exit_rcu+0x145/0x1c0 [ 459.332525][T14313] Preemption disabled at: [ 459.332526][T14313] [<0000000000000000>] 0x0 [ 459.332534][T14313] CPU: 3 UID: 0 PID: 14313 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 459.332538][T14313] Tainted: [W]=WARN [ 459.332539][T14313] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 459.332541][T14313] Call Trace: [ 459.332543][T14313] [ 459.332545][T14313] dump_stack_lvl+0x6f/0xa0 [ 459.332553][T14313] __might_resched.cold+0x1fe/0x2c1 [ 459.332559][T14313] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 459.332564][T14313] ? __kmalloc_noprof+0xdb/0x760 [ 459.332570][T14313] __kmalloc_noprof+0x443/0x760 [ 459.332573][T14313] ? alloc_buf.isra.0+0x4b/0x260 [ 459.332582][T14313] ? do_raw_spin_unlock+0x59/0x250 [ 459.332585][T14313] alloc_buf.isra.0+0x4b/0x260 [ 459.332590][T14313] put_chars+0x1e1/0x2f0 [ 459.332594][T14313] ? __send_to_port+0x420/0x420 [ 459.332596][T14313] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 459.332600][T14313] ? validate_chain+0x38b/0xc20 [ 459.332609][T14313] hvc_console_print+0x292/0x780 [ 459.332619][T14313] ? hvc_write+0x3a0/0x3a0 [ 459.332623][T14313] ? rcu_is_watching+0x16/0xd0 [ 459.332626][T14313] ? lock_acquire+0x13c/0x160 [ 459.332632][T14313] console_emit_next_record+0x22f/0x4c0 [ 459.332637][T14313] ? devkmsg_read+0x4b0/0x4b0 [ 459.332640][T14313] ? console_flush_one_record+0x106/0x710 [ 459.332645][T14313] ? rcu_is_watching+0x16/0xd0 [ 459.332647][T14313] ? lock_acquire+0x13c/0x160 [ 459.332653][T14313] console_flush_one_record+0x46f/0x710 [ 459.332659][T14313] ? console_emit_next_record+0x4c0/0x4c0 [ 459.332662][T14313] ? __lock_acquire+0x518/0xc20 [ 459.332671][T14313] console_unlock+0xee/0x1f0 [ 459.332675][T14313] ? console_flush_one_record+0x710/0x710 [ 459.332678][T14313] ? rcu_is_watching+0x16/0xd0 [ 459.332681][T14313] ? lock_acquire+0xe0/0x160 [ 459.332687][T14313] ? __down_trylock_console_sem+0x5e/0xa0 [ 459.332690][T14313] ? vprintk_emit+0x320/0x3e0 [ 459.332694][T14313] vprintk_emit+0x37c/0x3e0 [ 459.332700][T14313] ? wake_up_klogd_work_func+0x90/0x90 [ 459.332705][T14313] ? __lock_acquire+0x518/0xc20 [ 459.332711][T14313] _printk+0xc7/0x100 [ 459.332716][T14313] ? snapshot_read.cold+0x21/0x21 [ 459.332721][T14313] ? do_raw_spin_lock+0x131/0x280 [ 459.332725][T14313] ? __rwlock_init+0x150/0x150 [ 459.332731][T14313] ? do_raw_spin_lock+0x131/0x280 [ 459.332735][T14313] do_exit.cold+0x82/0x9c [ 459.332741][T14313] ? exit_notify+0x890/0x890 [ 459.332743][T14313] ? __lock_release.isra.0+0x69/0x1a0 [ 459.332747][T14313] ? rcu_is_watching+0x16/0xd0 [ 459.332753][T14313] do_group_exit+0xb8/0x370 [ 459.332758][T14313] __x64_sys_exit_group+0x3c/0x50 [ 459.332761][T14313] x64_sys_call+0x1567/0x1570 [ 459.332765][T14313] do_syscall_64+0xff/0x530 [ 459.332770][T14313] ? exc_page_fault+0xee/0x100 [ 459.332774][T14313] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 459.332777][T14313] RIP: 0033:0x7f05673501b8 [ 459.332780][T14313] Code: Unable to access opcode bytes at 0x7f056735018e. [ 459.332782][T14313] RSP: 002b:00007fffef256348 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 459.332785][T14313] RAX: ffffffffffffffda RBX: 00007f0567480f88 RCX: 00007f05673501b8 [ 459.332787][T14313] RDX: 00007f056709afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 459.332789][T14313] RBP: 00007fffef2563a0 R08: 0000000000000000 R09: 0000000000008010 [ 459.332790][T14313] R10: 00007fffef256160 R11: 0000000000000246 R12: 0000000000000001 [ 459.332791][T14313] R13: 0000000000000000 R14: 00007f056747f680 R15: 00007f0567480fa0 [ 459.332804][T14313]