[ 18.816927][ T702] ip (702) used greatest stack depth: 24160 bytes left [ 18.816942][ T702] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.816944][ T702] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 702, name: ip [ 18.816945][ T702] preempt_count: 2, expected: 0 [ 18.816946][ T702] RCU nest depth: 0, expected: 0 [ 18.816947][ T702] locks held by ip/702: 5, last CPU#3: [ 18.816949][ T702] #0: ffffffffba6167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 18.816960][ T702] #1: ffffffffba77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.816965][ T702] #2: ffffffffba77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.816969][ T702] #3: ffffffffba69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.816973][ T702] #4: ffffffffba69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 18.816976][ T702] irq event stamp: 32396 [ 18.816977][ T702] hardirqs last enabled at (32395): [] __down_trylock_console_sem+0x86/0xa0 [ 18.816981][ T702] hardirqs last disabled at (32396): [] console_emit_next_record+0x3d4/0x4c0 [ 18.816983][ T702] softirqs last enabled at (32086): [] handle_softirqs+0x67c/0x900 [ 18.816985][ T702] softirqs last disabled at (31667): [] __irq_exit_rcu+0x145/0x1c0 [ 18.816987][ T702] Preemption disabled at: [ 18.816988][ T702] [<0000000000000000>] 0x0 [ 18.816994][ T702] CPU: 3 UID: 0 PID: 702 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.816997][ T702] Tainted: [W]=WARN [ 18.816998][ T702] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.817000][ T702] Call Trace: [ 18.817002][ T702] [ 18.817003][ T702] dump_stack_lvl+0x6f/0xa0 [ 18.817010][ T702] __might_resched.cold+0x1fe/0x2c1 [ 18.817014][ T702] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.817018][ T702] ? __kmalloc_noprof+0xdb/0x760 [ 18.817023][ T702] __kmalloc_noprof+0x443/0x760 [ 18.817025][ T702] ? alloc_buf.isra.0+0x4b/0x260 [ 18.817032][ T702] ? do_raw_spin_unlock+0x59/0x250 [ 18.817034][ T702] alloc_buf.isra.0+0x4b/0x260 [ 18.817038][ T702] put_chars+0x1e1/0x2f0 [ 18.817040][ T702] ? __send_to_port+0x420/0x420 [ 18.817042][ T702] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 18.817045][ T702] ? validate_chain+0x38b/0xc20 [ 18.817050][ T702] hvc_console_print+0x292/0x780 [ 18.817058][ T702] ? hvc_write+0x3a0/0x3a0 [ 18.817061][ T702] ? rcu_is_watching+0x16/0xd0 [ 18.817063][ T702] ? lock_acquire+0x13c/0x160 [ 18.817066][ T702] console_emit_next_record+0x22f/0x4c0 [ 18.817070][ T702] ? devkmsg_read+0x4b0/0x4b0 [ 18.817072][ T702] ? console_flush_one_record+0x106/0x710 [ 18.817075][ T702] ? rcu_is_watching+0x16/0xd0 [ 18.817077][ T702] ? lock_acquire+0x13c/0x160 [ 18.817081][ T702] console_flush_one_record+0x46f/0x710 [ 18.817085][ T702] ? console_emit_next_record+0x4c0/0x4c0 [ 18.817086][ T702] ? __lock_acquire+0x518/0xc20 [ 18.817092][ T702] console_unlock+0xee/0x1f0 [ 18.817094][ T702] ? console_flush_one_record+0x710/0x710 [ 18.817096][ T702] ? rcu_is_watching+0x16/0xd0 [ 18.817098][ T702] ? lock_acquire+0xe0/0x160 [ 18.817102][ T702] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.817103][ T702] ? vprintk_emit+0x320/0x3e0 [ 18.817106][ T702] vprintk_emit+0x37c/0x3e0 [ 18.817109][ T702] ? wake_up_klogd_work_func+0x90/0x90 [ 18.817112][ T702] ? __lock_acquire+0x518/0xc20 [ 18.817115][ T702] _printk+0xc7/0x100 [ 18.817119][ T702] ? snapshot_read.cold+0x21/0x21 [ 18.817122][ T702] ? do_raw_spin_lock+0x131/0x280 [ 18.817124][ T702] ? __rwlock_init+0x150/0x150 [ 18.817128][ T702] ? do_raw_spin_lock+0x131/0x280 [ 18.817131][ T702] do_exit.cold+0x82/0x9c [ 18.817134][ T702] ? exit_notify+0x890/0x890 [ 18.817136][ T702] ? __lock_release.isra.0+0x69/0x1a0 [ 18.817138][ T702] ? rcu_is_watching+0x16/0xd0 [ 18.817142][ T702] do_group_exit+0xb8/0x370 [ 18.817144][ T702] __x64_sys_exit_group+0x3c/0x50 [ 18.817146][ T702] x64_sys_call+0x1567/0x1570 [ 18.817149][ T702] do_syscall_64+0xff/0x530 [ 18.817153][ T702] ? exc_page_fault+0xee/0x100 [ 18.817156][ T702] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.817158][ T702] RIP: 0033:0x7f71a403c1b8 [ 18.817160][ T702] Code: Unable to access opcode bytes at 0x7f71a403c18e. [ 18.817161][ T702] RSP: 002b:00007ffd39be1b18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 18.817163][ T702] RAX: ffffffffffffffda RBX: 00007f71a416cf88 RCX: 00007f71a403c1b8 [ 18.817165][ T702] RDX: 00007f71a3d86fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 18.817165][ T702] RBP: 00007ffd39be1b70 R08: 0000000000000000 R09: 0000000000000000 [ 18.817166][ T702] R10: 00007ffd39be1930 R11: 0000000000000246 R12: 0000000000000001 [ 18.817167][ T702] R13: 0000000000000000 R14: 00007f71a416b680 R15: 00007f71a416cfa0 [ 18.817173][ T702]