[ 25.915288][ T1214] ip (1214) used greatest stack depth: 23472 bytes left [ 25.915322][ T1214] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.915324][ T1214] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1214, name: ip [ 25.915326][ T1214] preempt_count: 2, expected: 0 [ 25.915327][ T1214] RCU nest depth: 0, expected: 0 [ 25.915328][ T1214] locks held by ip/1214: 5, last CPU#1: [ 25.915330][ T1214] #0: ffffffff91c167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 25.915342][ T1214] #1: ffffffff91d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.915346][ T1214] #2: ffffffff91d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.915351][ T1214] #3: ffffffff91c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.915355][ T1214] #4: ffffffff91c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 25.915359][ T1214] irq event stamp: 30786 [ 25.915360][ T1214] hardirqs last enabled at (30785): [] __down_trylock_console_sem+0x86/0xa0 [ 25.915363][ T1214] hardirqs last disabled at (30786): [] console_emit_next_record+0x3d4/0x4c0 [ 25.915365][ T1214] softirqs last enabled at (30782): [] handle_softirqs+0x67c/0x900 [ 25.915367][ T1214] softirqs last disabled at (30777): [] __irq_exit_rcu+0x145/0x1c0 [ 25.915370][ T1214] Preemption disabled at: [ 25.915370][ T1214] [<0000000000000000>] 0x0 [ 25.915377][ T1214] CPU: 1 UID: 0 PID: 1214 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.915381][ T1214] Tainted: [W]=WARN [ 25.915382][ T1214] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.915383][ T1214] Call Trace: [ 25.915385][ T1214] [ 25.915387][ T1214] dump_stack_lvl+0x6f/0xa0 [ 25.915394][ T1214] __might_resched.cold+0x1fe/0x2c1 [ 25.915398][ T1214] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.915402][ T1214] ? __kmalloc_noprof+0xdb/0x760 [ 25.915407][ T1214] __kmalloc_noprof+0x443/0x760 [ 25.915409][ T1214] ? alloc_buf.isra.0+0x4b/0x260 [ 25.915415][ T1214] ? do_raw_spin_unlock+0x59/0x250 [ 25.915418][ T1214] alloc_buf.isra.0+0x4b/0x260 [ 25.915422][ T1214] put_chars+0x1e1/0x2f0 [ 25.915424][ T1214] ? __send_to_port+0x420/0x420 [ 25.915425][ T1214] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.915429][ T1214] ? validate_chain+0x38b/0xc20 [ 25.915434][ T1214] hvc_console_print+0x292/0x780 [ 25.915442][ T1214] ? hvc_write+0x3a0/0x3a0 [ 25.915445][ T1214] ? rcu_is_watching+0x16/0xd0 [ 25.915447][ T1214] ? lock_acquire+0x13c/0x160 [ 25.915451][ T1214] console_emit_next_record+0x22f/0x4c0 [ 25.915455][ T1214] ? devkmsg_read+0x4b0/0x4b0 [ 25.915457][ T1214] ? console_flush_one_record+0x106/0x710 [ 25.915460][ T1214] ? rcu_is_watching+0x16/0xd0 [ 25.915462][ T1214] ? lock_acquire+0x13c/0x160 [ 25.915466][ T1214] console_flush_one_record+0x46f/0x710 [ 25.915470][ T1214] ? console_emit_next_record+0x4c0/0x4c0 [ 25.915472][ T1214] ? __lock_acquire+0x518/0xc20 [ 25.915477][ T1214] console_unlock+0xee/0x1f0 [ 25.915480][ T1214] ? console_flush_one_record+0x710/0x710 [ 25.915482][ T1214] ? rcu_is_watching+0x16/0xd0 [ 25.915484][ T1214] ? lock_acquire+0xe0/0x160 [ 25.915488][ T1214] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.915489][ T1214] ? vprintk_emit+0x320/0x3e0 [ 25.915492][ T1214] vprintk_emit+0x37c/0x3e0 [ 25.915495][ T1214] ? wake_up_klogd_work_func+0x90/0x90 [ 25.915498][ T1214] ? __lock_acquire+0x518/0xc20 [ 25.915502][ T1214] _printk+0xc7/0x100 [ 25.915506][ T1214] ? snapshot_read.cold+0x21/0x21 [ 25.915508][ T1214] ? do_raw_spin_lock+0x131/0x280 [ 25.915511][ T1214] ? __rwlock_init+0x150/0x150 [ 25.915515][ T1214] ? do_raw_spin_lock+0x131/0x280 [ 25.915518][ T1214] do_exit.cold+0x82/0x9c [ 25.915521][ T1214] ? exit_notify+0x890/0x890 [ 25.915523][ T1214] ? __lock_release.isra.0+0x69/0x1a0 [ 25.915525][ T1214] ? rcu_is_watching+0x16/0xd0 [ 25.915529][ T1214] do_group_exit+0xb8/0x370 [ 25.915532][ T1214] __x64_sys_exit_group+0x3c/0x50 [ 25.915534][ T1214] x64_sys_call+0x1567/0x1570 [ 25.915536][ T1214] do_syscall_64+0xff/0x530 [ 25.915540][ T1214] ? exc_page_fault+0xee/0x100 [ 25.915543][ T1214] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 25.915546][ T1214] RIP: 0033:0x7f3508d8e1b8 [ 25.915548][ T1214] Code: Unable to access opcode bytes at 0x7f3508d8e18e. [ 25.915549][ T1214] RSP: 002b:00007ffee0232e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 25.915551][ T1214] RAX: ffffffffffffffda RBX: 00007f3508ebef88 RCX: 00007f3508d8e1b8 [ 25.915553][ T1214] RDX: 00007f3508ad8fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 25.915553][ T1214] RBP: 00007ffee0232e70 R08: 0000000000000000 R09: 0000000000008010 [ 25.915554][ T1214] R10: 00007ffee0232c30 R11: 0000000000000246 R12: 0000000000000001 [ 25.915555][ T1214] R13: 0000000000000000 R14: 00007f3508ebd680 R15: 00007f3508ebefa0 [ 25.915562][ T1214]