[ 26.315008][ T284] ip (284) used greatest stack depth: 23808 bytes left [ 26.315029][ T284] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.315031][ T284] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 284, name: ip [ 26.315033][ T284] preempt_count: 2, expected: 0 [ 26.315034][ T284] RCU nest depth: 0, expected: 0 [ 26.315035][ T284] locks held by ip/284: 5, last CPU#0: [ 26.315037][ T284] #0: ffffffffa0e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 26.315050][ T284] #1: ffffffffa0f99cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.315055][ T284] #2: ffffffffa0f99d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.315059][ T284] #3: ffffffffa0e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.315063][ T284] #4: ffffffffa0e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 26.315067][ T284] irq event stamp: 26678 [ 26.315068][ T284] hardirqs last enabled at (26677): [] __down_trylock_console_sem+0x86/0xa0 [ 26.315070][ T284] hardirqs last disabled at (26678): [] console_emit_next_record+0x3f8/0x4f0 [ 26.315072][ T284] softirqs last enabled at (25014): [] netlink_release+0x17b/0xcf0 [ 26.315076][ T284] softirqs last disabled at (25012): [] netlink_release+0xd2/0xcf0 [ 26.315078][ T284] Preemption disabled at: [ 26.315079][ T284] [<0000000000000000>] 0x0 [ 26.315086][ T284] CPU: 0 UID: 0 PID: 284 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.315090][ T284] Tainted: [W]=WARN [ 26.315091][ T284] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.315093][ T284] Call Trace: [ 26.315094][ T284] [ 26.315096][ T284] dump_stack_lvl+0x6f/0xa0 [ 26.315102][ T284] __might_resched.cold+0x1fe/0x2c1 [ 26.315107][ T284] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.315111][ T284] ? __kmalloc_noprof+0xdb/0x760 [ 26.315116][ T284] __kmalloc_noprof+0x443/0x760 [ 26.315118][ T284] ? alloc_buf.isra.0+0x4b/0x260 [ 26.315124][ T284] ? do_raw_spin_unlock+0x59/0x250 [ 26.315126][ T284] alloc_buf.isra.0+0x4b/0x260 [ 26.315129][ T284] put_chars+0x1e1/0x2f0 [ 26.315132][ T284] ? __send_to_port+0x420/0x420 [ 26.315135][ T284] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.315139][ T284] ? rcu_read_lock_any_held+0x3c/0x90 [ 26.315141][ T284] ? validate_chain+0x38b/0xc20 [ 26.315145][ T284] hvc_console_print+0x292/0x780 [ 26.315147][ T284] ? mark_usage+0x61/0x170 [ 26.315149][ T284] ? __lock_acquire+0x518/0xc20 [ 26.315150][ T284] ? __lock_acquire+0x518/0xc20 [ 26.315154][ T284] ? hvc_write+0x3a0/0x3a0 [ 26.315155][ T284] ? lock_acquire.part.0+0xd4/0x280 [ 26.315159][ T284] ? lock_acquire+0x13c/0x160 [ 26.315163][ T284] console_emit_next_record+0x252/0x4f0 [ 26.315167][ T284] ? devkmsg_read+0x4e0/0x4e0 [ 26.315171][ T284] ? rcu_is_watching+0x16/0xd0 [ 26.315173][ T284] ? lock_acquire+0x13c/0x160 [ 26.315177][ T284] console_flush_one_record+0x46f/0x710 [ 26.315181][ T284] ? console_emit_next_record+0x4f0/0x4f0 [ 26.315182][ T284] ? __lock_acquire+0x518/0xc20 [ 26.315187][ T284] console_unlock+0xee/0x1f0 [ 26.315190][ T284] ? console_flush_one_record+0x710/0x710 [ 26.315191][ T284] ? rcu_is_watching+0x16/0xd0 [ 26.315194][ T284] ? lock_acquire+0x60/0x160 [ 26.315197][ T284] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.315199][ T284] ? vprintk_emit+0x320/0x3e0 [ 26.315202][ T284] vprintk_emit+0x37c/0x3e0 [ 26.315205][ T284] ? wake_up_klogd_work_func+0x90/0x90 [ 26.315209][ T284] ? __lock_acquire+0x518/0xc20 [ 26.315212][ T284] _printk+0xc7/0x100 [ 26.315216][ T284] ? snapshot_read.cold+0x21/0x21 [ 26.315219][ T284] ? do_raw_spin_lock+0x131/0x280 [ 26.315221][ T284] ? __rwlock_init+0x150/0x150 [ 26.315225][ T284] ? do_raw_spin_lock+0x131/0x280 [ 26.315227][ T284] do_exit.cold+0x82/0x9c [ 26.315231][ T284] ? exit_notify+0x890/0x890 [ 26.315233][ T284] ? find_held_lock+0x2b/0x80 [ 26.315237][ T284] ? __lock_release.isra.0+0x69/0x1a0 [ 26.315238][ T284] ? __rwlock_init+0x150/0x150 [ 26.315241][ T284] do_group_exit+0xb8/0x370 [ 26.315243][ T284] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 26.315245][ T284] ? lockdep_hardirqs_on+0x91/0x130 [ 26.315248][ T284] ? _raw_spin_unlock_irq+0x28/0x50 [ 26.315251][ T284] ? _raw_spin_unlock_irq+0x33/0x50 [ 26.315253][ T284] get_signal+0x1886/0x1980 [ 26.315257][ T284] ? ___sys_sendmsg+0x1d0/0x1d0 [ 26.315263][ T284] ? __lock_acquire+0x518/0xc20 [ 26.315266][ T284] ? ptrace_signal+0x600/0x600 [ 26.315272][ T284] arch_do_signal_or_restart+0xc2/0x3a0 [ 26.315277][ T284] ? get_sigframe_size+0x20/0x20 [ 26.315278][ T284] ? __sys_recvmsg+0x129/0x1d0 [ 26.315283][ T284] ? rcu_is_watching+0x16/0xd0 [ 26.315285][ T284] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 26.315290][ T284] exit_to_user_mode_loop+0xd5/0x5a0 [ 26.315292][ T284] ? rcu_is_watching+0x16/0xd0 [ 26.315295][ T284] do_syscall_64+0x3e3/0x530 [ 26.315297][ T284] ? exc_page_fault+0xee/0x100 [ 26.315299][ T284] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.315302][ T284] RIP: 0033:0x7f676960854e [ 26.315304][ T284] Code: Unable to access opcode bytes at 0x7f6769608524. [ 26.315306][ T284] RSP: 002b:00007fff403d52b0 EFLAGS: 00000202 ORIG_RAX: 000000000000002f [ 26.315308][ T284] RAX: fffffffffffffe00 RBX: 0000000000000034 RCX: 00007f676960854e [ 26.315310][ T284] RDX: 0000000000000000 RSI: 00007fff403d5340 RDI: 0000000000000005 [ 26.315311][ T284] RBP: 00007fff403d52c0 R08: 0000000000000000 R09: 0000000000000000 [ 26.315311][ T284] R10: 0000000000000000 R11: 0000000000000202 R12: 00000000004210a0 [ 26.315312][ T284] R13: 00000000004a1620 R14: 00007fff403d73b4 R15: 0000000000000000 [ 26.315319][ T284]