[ 12.413438][ T207] ip (207) used greatest stack depth: 23936 bytes left [ 12.413460][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.413463][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: ip [ 12.413465][ T207] preempt_count: 2, expected: 0 [ 12.413466][ T207] RCU nest depth: 0, expected: 0 [ 12.413468][ T207] locks held by ip/207: 5, last CPU#2: [ 12.413471][ T207] #0: ffffffffa7402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 12.413486][ T207] #1: ffffffffa756a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.413493][ T207] #2: ffffffffa756a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.413499][ T207] #3: ffffffffa7489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.413504][ T207] #4: ffffffffa7489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.413509][ T207] irq event stamp: 30972 [ 12.413513][ T207] hardirqs last enabled at (30971): [] __down_trylock_console_sem+0x86/0xa0 [ 12.413518][ T207] hardirqs last disabled at (30972): [] console_emit_next_record+0x3d4/0x4c0 [ 12.413521][ T207] softirqs last enabled at (29590): [] handle_softirqs+0x67c/0x900 [ 12.413525][ T207] softirqs last disabled at (29479): [] __irq_exit_rcu+0x145/0x1c0 [ 12.413528][ T207] Preemption disabled at: [ 12.413529][ T207] [<0000000000000000>] 0x0 [ 12.413538][ T207] CPU: 2 UID: 0 PID: 207 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.413543][ T207] Tainted: [W]=WARN [ 12.413544][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.413546][ T207] Call Trace: [ 12.413548][ T207] [ 12.413551][ T207] dump_stack_lvl+0x6f/0xa0 [ 12.413558][ T207] __might_resched.cold+0x1fe/0x2c1 [ 12.413564][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.413569][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 12.413576][ T207] __kmalloc_noprof+0x443/0x760 [ 12.413580][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 12.413589][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 12.413593][ T207] alloc_buf.isra.0+0x4b/0x260 [ 12.413598][ T207] put_chars+0x1e1/0x2f0 [ 12.413609][ T207] ? __send_to_port+0x420/0x420 [ 12.413621][ T207] hvc_console_print+0x292/0x780 [ 12.413632][ T207] ? hvc_write+0x3a0/0x3a0 [ 12.413636][ T207] ? lock_acquire+0x13c/0x160 [ 12.413644][ T207] console_emit_next_record+0x22f/0x4c0 [ 12.413649][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 12.413651][ T207] ? console_flush_one_record+0x106/0x710 [ 12.413656][ T207] ? rcu_is_watching+0x16/0xd0 [ 12.413660][ T207] ? lock_acquire+0x13c/0x160 [ 12.413667][ T207] console_flush_one_record+0x46f/0x710 [ 12.413673][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 12.413676][ T207] ? __lock_acquire+0x518/0xc20 [ 12.413685][ T207] console_unlock+0xee/0x1f0 [ 12.413689][ T207] ? console_flush_one_record+0x710/0x710 [ 12.413691][ T207] ? rcu_is_watching+0x16/0xd0 [ 12.413694][ T207] ? lock_acquire+0x60/0x160 [ 12.413701][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.413704][ T207] ? vprintk_emit+0x320/0x3e0 [ 12.413709][ T207] vprintk_emit+0x37c/0x3e0 [ 12.413714][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 12.413719][ T207] ? __lock_acquire+0x518/0xc20 [ 12.413726][ T207] _printk+0xc7/0x100 [ 12.413731][ T207] ? snapshot_read.cold+0x21/0x21 [ 12.413735][ T207] ? do_raw_spin_lock+0x131/0x280 [ 12.413740][ T207] ? __rwlock_init+0x150/0x150 [ 12.413746][ T207] ? do_raw_spin_lock+0x131/0x280 [ 12.413751][ T207] do_exit.cold+0x82/0x9c [ 12.413756][ T207] ? exit_notify+0x890/0x890 [ 12.413758][ T207] ? __lock_release.isra.0+0x69/0x1a0 [ 12.413763][ T207] ? rcu_is_watching+0x16/0xd0 [ 12.413770][ T207] do_group_exit+0xb8/0x370 [ 12.413775][ T207] __x64_sys_exit_group+0x3c/0x50 [ 12.413778][ T207] x64_sys_call+0x1567/0x1570 [ 12.413781][ T207] do_syscall_64+0x10e/0x570 [ 12.413786][ T207] ? exc_page_fault+0xee/0x100 [ 12.413791][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.413795][ T207] RIP: 0033:0x7efcb3c291b8 [ 12.413798][ T207] Code: Unable to access opcode bytes at 0x7efcb3c2918e. [ 12.413799][ T207] RSP: 002b:00007ffe64110008 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.413802][ T207] RAX: ffffffffffffffda RBX: 00007efcb3d59f88 RCX: 00007efcb3c291b8 [ 12.413804][ T207] RDX: 00007efcb3973fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.413806][ T207] RBP: 00007ffe64110060 R08: 0000000000000000 R09: 0000000000008010 [ 12.413807][ T207] R10: 00007ffe6410fe20 R11: 0000000000000246 R12: 0000000000000001 [ 12.413809][ T207] R13: 0000000000000000 R14: 00007efcb3d58680 R15: 00007efcb3d59fa0 [ 12.413822][ T207]