[ 22.672357][ T321] ip (321) used greatest stack depth: 24016 bytes left [ 22.672377][ T321] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.672380][ T321] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 321, name: ip [ 22.672381][ T321] preempt_count: 2, expected: 0 [ 22.672382][ T321] RCU nest depth: 0, expected: 0 [ 22.672383][ T321] locks held by ip/321: 5, last CPU#0: [ 22.672384][ T321] #0: ffffffff8c6167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 22.672396][ T321] #1: ffffffff8c77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.672401][ T321] #2: ffffffff8c77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.672405][ T321] #3: ffffffff8c69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.672409][ T321] #4: ffffffff8c69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 22.672413][ T321] irq event stamp: 22516 [ 22.672414][ T321] hardirqs last enabled at (22515): [] __down_trylock_console_sem+0x86/0xa0 [ 22.672417][ T321] hardirqs last disabled at (22516): [] console_emit_next_record+0x3d4/0x4c0 [ 22.672420][ T321] softirqs last enabled at (20944): [] netlink_release+0x17b/0xcf0 [ 22.672424][ T321] softirqs last disabled at (20942): [] netlink_release+0xd2/0xcf0 [ 22.672427][ T321] Preemption disabled at: [ 22.672427][ T321] [<0000000000000000>] 0x0 [ 22.672434][ T321] CPU: 0 UID: 0 PID: 321 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.672438][ T321] Tainted: [W]=WARN [ 22.672439][ T321] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.672441][ T321] Call Trace: [ 22.672442][ T321] [ 22.672444][ T321] dump_stack_lvl+0x6f/0xa0 [ 22.672451][ T321] __might_resched.cold+0x1fe/0x2c1 [ 22.672455][ T321] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.672459][ T321] ? __kmalloc_noprof+0xdb/0x760 [ 22.672464][ T321] __kmalloc_noprof+0x443/0x760 [ 22.672466][ T321] ? alloc_buf.isra.0+0x4b/0x260 [ 22.672472][ T321] ? do_raw_spin_unlock+0x59/0x250 [ 22.672475][ T321] alloc_buf.isra.0+0x4b/0x260 [ 22.672479][ T321] put_chars+0x1e1/0x2f0 [ 22.672481][ T321] ? __send_to_port+0x420/0x420 [ 22.672482][ T321] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.672486][ T321] ? validate_chain+0x38b/0xc20 [ 22.672491][ T321] hvc_console_print+0x292/0x780 [ 22.672498][ T321] ? hvc_write+0x3a0/0x3a0 [ 22.672501][ T321] ? rcu_is_watching+0x16/0xd0 [ 22.672503][ T321] ? lock_acquire+0x13c/0x160 [ 22.672507][ T321] console_emit_next_record+0x22f/0x4c0 [ 22.672511][ T321] ? devkmsg_read+0x4b0/0x4b0 [ 22.672513][ T321] ? console_flush_one_record+0x106/0x710 [ 22.672516][ T321] ? rcu_is_watching+0x16/0xd0 [ 22.672518][ T321] ? lock_acquire+0x13c/0x160 [ 22.672522][ T321] console_flush_one_record+0x46f/0x710 [ 22.672526][ T321] ? console_emit_next_record+0x4c0/0x4c0 [ 22.672528][ T321] ? __lock_acquire+0x518/0xc20 [ 22.672533][ T321] console_unlock+0xee/0x1f0 [ 22.672540][ T321] ? console_flush_one_record+0x710/0x710 [ 22.672542][ T321] ? rcu_is_watching+0x16/0xd0 [ 22.672544][ T321] ? lock_acquire+0xe0/0x160 [ 22.672547][ T321] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.672549][ T321] ? vprintk_emit+0x320/0x3e0 [ 22.672552][ T321] vprintk_emit+0x37c/0x3e0 [ 22.672555][ T321] ? wake_up_klogd_work_func+0x90/0x90 [ 22.672558][ T321] ? __lock_acquire+0x518/0xc20 [ 22.672562][ T321] _printk+0xc7/0x100 [ 22.672566][ T321] ? snapshot_read.cold+0x21/0x21 [ 22.672569][ T321] ? do_raw_spin_lock+0x131/0x280 [ 22.672571][ T321] ? __rwlock_init+0x150/0x150 [ 22.672575][ T321] ? do_raw_spin_lock+0x131/0x280 [ 22.672578][ T321] do_exit.cold+0x82/0x9c [ 22.672581][ T321] ? exit_notify+0x890/0x890 [ 22.672583][ T321] ? __lock_release.isra.0+0x69/0x1a0 [ 22.672586][ T321] ? rcu_is_watching+0x16/0xd0 [ 22.672589][ T321] do_group_exit+0xb8/0x370 [ 22.672593][ T321] __x64_sys_exit_group+0x3c/0x50 [ 22.672595][ T321] x64_sys_call+0x1567/0x1570 [ 22.672598][ T321] do_syscall_64+0xff/0x530 [ 22.672602][ T321] ? exc_page_fault+0xee/0x100 [ 22.672605][ T321] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.672607][ T321] RIP: 0033:0x7fc5ec49d1b8 [ 22.672609][ T321] Code: Unable to access opcode bytes at 0x7fc5ec49d18e. [ 22.672610][ T321] RSP: 002b:00007ffc6c751b58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 22.672613][ T321] RAX: ffffffffffffffda RBX: 00007fc5ec5cdf88 RCX: 00007fc5ec49d1b8 [ 22.672614][ T321] RDX: 00007fc5ec1e7fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 22.672615][ T321] RBP: 00007ffc6c751bb0 R08: 0000000000000000 R09: 0000000000000050 [ 22.672616][ T321] R10: 00007ffc6c751970 R11: 0000000000000246 R12: 0000000000000001 [ 22.672617][ T321] R13: 0000000000000000 R14: 00007fc5ec5cc680 R15: 00007fc5ec5cdfa0 [ 22.672624][ T321]