[ 14.803348][ T330] ip (330) used greatest stack depth: 23776 bytes left [ 14.803367][ T330] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.803370][ T330] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 330, name: ip [ 14.803371][ T330] preempt_count: 2, expected: 0 [ 14.803372][ T330] RCU nest depth: 0, expected: 0 [ 14.803373][ T330] locks held by ip/330: 5, last CPU#3: [ 14.803375][ T330] #0: ffffffffa54167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.803386][ T330] #1: ffffffffa557ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.803391][ T330] #2: ffffffffa557de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.803395][ T330] #3: ffffffffa549d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.803399][ T330] #4: ffffffffa549d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.803403][ T330] irq event stamp: 37966 [ 14.803403][ T330] hardirqs last enabled at (37965): [] __down_trylock_console_sem+0x86/0xa0 [ 14.803407][ T330] hardirqs last disabled at (37966): [] console_emit_next_record+0x3d4/0x4c0 [ 14.803409][ T330] softirqs last enabled at (36552): [] handle_softirqs+0x67c/0x900 [ 14.803411][ T330] softirqs last disabled at (35569): [] __irq_exit_rcu+0x145/0x1c0 [ 14.803413][ T330] Preemption disabled at: [ 14.803414][ T330] [<0000000000000000>] 0x0 [ 14.803421][ T330] CPU: 3 UID: 0 PID: 330 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.803424][ T330] Tainted: [W]=WARN [ 14.803425][ T330] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.803427][ T330] Call Trace: [ 14.803429][ T330] [ 14.803430][ T330] dump_stack_lvl+0x6f/0xa0 [ 14.803436][ T330] __might_resched.cold+0x1fe/0x2c1 [ 14.803441][ T330] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.803447][ T330] ? __kmalloc_noprof+0xdb/0x760 [ 14.803452][ T330] __kmalloc_noprof+0x443/0x760 [ 14.803454][ T330] ? alloc_buf.isra.0+0x4b/0x260 [ 14.803461][ T330] ? do_raw_spin_unlock+0x59/0x250 [ 14.803464][ T330] alloc_buf.isra.0+0x4b/0x260 [ 14.803468][ T330] put_chars+0x1e1/0x2f0 [ 14.803470][ T330] ? __send_to_port+0x420/0x420 [ 14.803471][ T330] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.803475][ T330] ? validate_chain+0x38b/0xc20 [ 14.803480][ T330] hvc_console_print+0x292/0x780 [ 14.803487][ T330] ? hvc_write+0x3a0/0x3a0 [ 14.803490][ T330] ? rcu_is_watching+0x16/0xd0 [ 14.803492][ T330] ? lock_acquire+0x13c/0x160 [ 14.803496][ T330] console_emit_next_record+0x22f/0x4c0 [ 14.803500][ T330] ? devkmsg_read+0x4b0/0x4b0 [ 14.803502][ T330] ? console_flush_one_record+0x106/0x710 [ 14.803505][ T330] ? rcu_is_watching+0x16/0xd0 [ 14.803506][ T330] ? lock_acquire+0x13c/0x160 [ 14.803510][ T330] console_flush_one_record+0x46f/0x710 [ 14.803514][ T330] ? console_emit_next_record+0x4c0/0x4c0 [ 14.803516][ T330] ? __lock_acquire+0x518/0xc20 [ 14.803521][ T330] console_unlock+0xee/0x1f0 [ 14.803524][ T330] ? console_flush_one_record+0x710/0x710 [ 14.803526][ T330] ? rcu_is_watching+0x16/0xd0 [ 14.803528][ T330] ? lock_acquire+0xe0/0x160 [ 14.803531][ T330] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.803533][ T330] ? vprintk_emit+0x320/0x3e0 [ 14.803536][ T330] vprintk_emit+0x37c/0x3e0 [ 14.803539][ T330] ? wake_up_klogd_work_func+0x90/0x90 [ 14.803542][ T330] ? __lock_acquire+0x518/0xc20 [ 14.803545][ T330] _printk+0xc7/0x100 [ 14.803549][ T330] ? snapshot_read.cold+0x21/0x21 [ 14.803552][ T330] ? do_raw_spin_lock+0x131/0x280 [ 14.803555][ T330] ? __rwlock_init+0x150/0x150 [ 14.803559][ T330] ? do_raw_spin_lock+0x131/0x280 [ 14.803561][ T330] do_exit.cold+0x82/0x9c [ 14.803565][ T330] ? exit_notify+0x890/0x890 [ 14.803566][ T330] ? __lock_release.isra.0+0x69/0x1a0 [ 14.803569][ T330] ? rcu_is_watching+0x16/0xd0 [ 14.803572][ T330] do_group_exit+0xb8/0x370 [ 14.803575][ T330] __x64_sys_exit_group+0x3c/0x50 [ 14.803577][ T330] x64_sys_call+0x1567/0x1570 [ 14.803579][ T330] do_syscall_64+0xff/0x530 [ 14.803583][ T330] ? exc_page_fault+0xee/0x100 [ 14.803586][ T330] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.803588][ T330] RIP: 0033:0x7fc56a9641b8 [ 14.803590][ T330] Code: Unable to access opcode bytes at 0x7fc56a96418e. [ 14.803591][ T330] RSP: 002b:00007ffd71c3a368 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.803594][ T330] RAX: ffffffffffffffda RBX: 00007fc56aa94f88 RCX: 00007fc56a9641b8 [ 14.803595][ T330] RDX: 00007fc56a6aefc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 14.803596][ T330] RBP: 00007ffd71c3a3c0 R08: 0000000000000000 R09: 0000000000008010 [ 14.803597][ T330] R10: 00007ffd71c3a180 R11: 0000000000000246 R12: 0000000000000001 [ 14.803598][ T330] R13: 0000000000000000 R14: 00007fc56aa93680 R15: 00007fc56aa94fa0 [ 14.803605][ T330]