[ 53.897520][ T5730] ip (5730) used greatest stack depth: 23408 bytes left [ 53.897540][ T5730] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 53.897543][ T5730] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5730, name: ip [ 53.897544][ T5730] preempt_count: 2, expected: 0 [ 53.897545][ T5730] RCU nest depth: 0, expected: 0 [ 53.897546][ T5730] locks held by ip/5730: 5, last CPU#0: [ 53.897548][ T5730] #0: ffffffffa66167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 53.897560][ T5730] #1: ffffffffa677ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 53.897565][ T5730] #2: ffffffffa677de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 53.897569][ T5730] #3: ffffffffa669d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 53.897573][ T5730] #4: ffffffffa669d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 53.897577][ T5730] irq event stamp: 31812 [ 53.897578][ T5730] hardirqs last enabled at (31811): [] __down_trylock_console_sem+0x86/0xa0 [ 53.897582][ T5730] hardirqs last disabled at (31812): [] console_emit_next_record+0x3d4/0x4c0 [ 53.897584][ T5730] softirqs last enabled at (31350): [] handle_softirqs+0x67c/0x900 [ 53.897586][ T5730] softirqs last disabled at (30127): [] __irq_exit_rcu+0x145/0x1c0 [ 53.897589][ T5730] Preemption disabled at: [ 53.897589][ T5730] [<0000000000000000>] 0x0 [ 53.897596][ T5730] CPU: 0 UID: 0 PID: 5730 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 53.897600][ T5730] Tainted: [W]=WARN [ 53.897601][ T5730] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 53.897602][ T5730] Call Trace: [ 53.897604][ T5730] [ 53.897606][ T5730] dump_stack_lvl+0x6f/0xa0 [ 53.897612][ T5730] __might_resched.cold+0x1fe/0x2c1 [ 53.897617][ T5730] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 53.897622][ T5730] ? __kmalloc_noprof+0xdb/0x760 [ 53.897626][ T5730] __kmalloc_noprof+0x443/0x760 [ 53.897628][ T5730] ? alloc_buf.isra.0+0x4b/0x260 [ 53.897636][ T5730] ? do_raw_spin_unlock+0x59/0x250 [ 53.897638][ T5730] alloc_buf.isra.0+0x4b/0x260 [ 53.897642][ T5730] put_chars+0x1e1/0x2f0 [ 53.897645][ T5730] ? __send_to_port+0x420/0x420 [ 53.897646][ T5730] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 53.897650][ T5730] ? validate_chain+0x38b/0xc20 [ 53.897656][ T5730] hvc_console_print+0x292/0x780 [ 53.897664][ T5730] ? hvc_write+0x3a0/0x3a0 [ 53.897667][ T5730] ? rcu_is_watching+0x16/0xd0 [ 53.897669][ T5730] ? lock_acquire+0x13c/0x160 [ 53.897674][ T5730] console_emit_next_record+0x22f/0x4c0 [ 53.897679][ T5730] ? devkmsg_read+0x4b0/0x4b0 [ 53.897681][ T5730] ? console_flush_one_record+0x106/0x710 [ 53.897684][ T5730] ? rcu_is_watching+0x16/0xd0 [ 53.897686][ T5730] ? lock_acquire+0x13c/0x160 [ 53.897691][ T5730] console_flush_one_record+0x46f/0x710 [ 53.897695][ T5730] ? console_emit_next_record+0x4c0/0x4c0 [ 53.897698][ T5730] ? __lock_acquire+0x518/0xc20 [ 53.897704][ T5730] console_unlock+0xee/0x1f0 [ 53.897707][ T5730] ? console_flush_one_record+0x710/0x710 [ 53.897709][ T5730] ? rcu_is_watching+0x16/0xd0 [ 53.897711][ T5730] ? lock_acquire+0xe0/0x160 [ 53.897716][ T5730] ? __down_trylock_console_sem+0x5e/0xa0 [ 53.897718][ T5730] ? vprintk_emit+0x320/0x3e0 [ 53.897721][ T5730] vprintk_emit+0x37c/0x3e0 [ 53.897724][ T5730] ? wake_up_klogd_work_func+0x90/0x90 [ 53.897728][ T5730] ? __lock_acquire+0x518/0xc20 [ 53.897732][ T5730] _printk+0xc7/0x100 [ 53.897736][ T5730] ? snapshot_read.cold+0x21/0x21 [ 53.897739][ T5730] ? do_raw_spin_lock+0x131/0x280 [ 53.897742][ T5730] ? __rwlock_init+0x150/0x150 [ 53.897747][ T5730] ? do_raw_spin_lock+0x131/0x280 [ 53.897750][ T5730] do_exit.cold+0x82/0x9c [ 53.897754][ T5730] ? exit_notify+0x890/0x890 [ 53.897755][ T5730] ? __lock_release.isra.0+0x69/0x1a0 [ 53.897758][ T5730] ? rcu_is_watching+0x16/0xd0 [ 53.897762][ T5730] do_group_exit+0xb8/0x370 [ 53.897765][ T5730] __x64_sys_exit_group+0x3c/0x50 [ 53.897767][ T5730] x64_sys_call+0x1567/0x1570 [ 53.897770][ T5730] do_syscall_64+0xff/0x530 [ 53.897774][ T5730] ? exc_page_fault+0xee/0x100 [ 53.897777][ T5730] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 53.897779][ T5730] RIP: 0033:0x7fddf56a21b8 [ 53.897782][ T5730] Code: Unable to access opcode bytes at 0x7fddf56a218e. [ 53.897783][ T5730] RSP: 002b:00007fff80776758 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 53.897785][ T5730] RAX: ffffffffffffffda RBX: 00007fddf57d2f88 RCX: 00007fddf56a21b8 [ 53.897787][ T5730] RDX: 00007fddf53ecfc8 RSI: fffffffffffffeb8 RDI: 0000000000000002 [ 53.897788][ T5730] RBP: 00007fff807767b0 R08: 0000000000000000 R09: 0000000000008010 [ 53.897789][ T5730] R10: 00007fff80776570 R11: 0000000000000246 R12: 0000000000000001 [ 53.897790][ T5730] R13: 0000000000000002 R14: 00007fddf57d1680 R15: 00007fddf57d2fa0 [ 53.897797][ T5730]