[ 21.809116][ T469] ip (469) used greatest stack depth: 23360 bytes left [ 21.809132][ T469] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.809135][ T469] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 469, name: ip [ 21.809137][ T469] preempt_count: 2, expected: 0 [ 21.809138][ T469] RCU nest depth: 0, expected: 0 [ 21.809139][ T469] locks held by ip/469: 5, last CPU#1: [ 21.809141][ T469] #0: ffffffffae402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 21.809153][ T469] #1: ffffffffae56a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.809158][ T469] #2: ffffffffae56a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.809161][ T469] #3: ffffffffae489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.809165][ T469] #4: ffffffffae489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 21.809169][ T469] irq event stamp: 39044 [ 21.809170][ T469] hardirqs last enabled at (39043): [] __down_trylock_console_sem+0x86/0xa0 [ 21.809173][ T469] hardirqs last disabled at (39044): [] console_emit_next_record+0x3d4/0x4c0 [ 21.809175][ T469] softirqs last enabled at (38290): [] handle_softirqs+0x67c/0x900 [ 21.809177][ T469] softirqs last disabled at (38285): [] __irq_exit_rcu+0x145/0x1c0 [ 21.809180][ T469] Preemption disabled at: [ 21.809181][ T469] [<0000000000000000>] 0x0 [ 21.809188][ T469] CPU: 1 UID: 0 PID: 469 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.809191][ T469] Tainted: [W]=WARN [ 21.809192][ T469] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.809194][ T469] Call Trace: [ 21.809196][ T469] [ 21.809197][ T469] dump_stack_lvl+0x6f/0xa0 [ 21.809203][ T469] __might_resched.cold+0x1fe/0x2c1 [ 21.809208][ T469] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.809211][ T469] ? __kmalloc_noprof+0xdb/0x760 [ 21.809216][ T469] __kmalloc_noprof+0x443/0x760 [ 21.809219][ T469] ? alloc_buf.isra.0+0x4b/0x260 [ 21.809225][ T469] ? do_raw_spin_unlock+0x59/0x250 [ 21.809229][ T469] alloc_buf.isra.0+0x4b/0x260 [ 21.809234][ T469] put_chars+0x1e1/0x2f0 [ 21.809239][ T469] ? __send_to_port+0x420/0x420 [ 21.809250][ T469] hvc_console_print+0x292/0x780 [ 21.809258][ T469] ? hvc_write+0x3a0/0x3a0 [ 21.809261][ T469] ? lock_acquire+0x13c/0x160 [ 21.809266][ T469] console_emit_next_record+0x22f/0x4c0 [ 21.809269][ T469] ? devkmsg_read+0x4b0/0x4b0 [ 21.809271][ T469] ? console_flush_one_record+0x106/0x710 [ 21.809273][ T469] ? rcu_is_watching+0x16/0xd0 [ 21.809277][ T469] ? lock_acquire+0x13c/0x160 [ 21.809281][ T469] console_flush_one_record+0x46f/0x710 [ 21.809285][ T469] ? console_emit_next_record+0x4c0/0x4c0 [ 21.809286][ T469] ? __lock_acquire+0x518/0xc20 [ 21.809292][ T469] console_unlock+0xee/0x1f0 [ 21.809294][ T469] ? console_flush_one_record+0x710/0x710 [ 21.809296][ T469] ? rcu_is_watching+0x16/0xd0 [ 21.809298][ T469] ? lock_acquire+0x60/0x160 [ 21.809302][ T469] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.809304][ T469] ? vprintk_emit+0x320/0x3e0 [ 21.809307][ T469] vprintk_emit+0x37c/0x3e0 [ 21.809310][ T469] ? wake_up_klogd_work_func+0x90/0x90 [ 21.809313][ T469] ? __lock_acquire+0x518/0xc20 [ 21.809317][ T469] _printk+0xc7/0x100 [ 21.809321][ T469] ? snapshot_read.cold+0x21/0x21 [ 21.809324][ T469] ? do_raw_spin_lock+0x131/0x280 [ 21.809327][ T469] ? __rwlock_init+0x150/0x150 [ 21.809331][ T469] ? do_raw_spin_lock+0x131/0x280 [ 21.809334][ T469] do_exit.cold+0x82/0x9c [ 21.809338][ T469] ? exit_notify+0x890/0x890 [ 21.809340][ T469] ? __lock_release.isra.0+0x69/0x1a0 [ 21.809343][ T469] ? rcu_is_watching+0x16/0xd0 [ 21.809346][ T469] do_group_exit+0xb8/0x370 [ 21.809350][ T469] __x64_sys_exit_group+0x3c/0x50 [ 21.809352][ T469] x64_sys_call+0x1567/0x1570 [ 21.809355][ T469] do_syscall_64+0x10e/0x570 [ 21.809358][ T469] ? exc_page_fault+0xee/0x100 [ 21.809362][ T469] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.809364][ T469] RIP: 0033:0x7f2d11c5b1b8 [ 21.809366][ T469] Code: Unable to access opcode bytes at 0x7f2d11c5b18e. [ 21.809367][ T469] RSP: 002b:00007ffcdf347268 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 21.809370][ T469] RAX: ffffffffffffffda RBX: 00007f2d11d8bf88 RCX: 00007f2d11c5b1b8 [ 21.809371][ T469] RDX: 00007f2d119a5fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 21.809372][ T469] RBP: 00007ffcdf3472c0 R08: 0000000000000000 R09: 0000000000000000 [ 21.809373][ T469] R10: 00007ffcdf347080 R11: 0000000000000246 R12: 0000000000000001 [ 21.809374][ T469] R13: 0000000000000000 R14: 00007f2d11d8a680 R15: 00007f2d11d8bfa0 [ 21.809381][ T469]