[ 9.976065][ T209] ip (209) used greatest stack depth: 23856 bytes left [ 9.976081][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.976084][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: ip [ 9.976085][ T209] preempt_count: 2, expected: 0 [ 9.976086][ T209] RCU nest depth: 0, expected: 0 [ 9.976087][ T209] locks held by ip/209: 5, last CPU#1: [ 9.976089][ T209] #0: ffffffff958027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.976102][ T209] #1: ffffffff95969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.976108][ T209] #2: ffffffff95969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.976112][ T209] #3: ffffffff95889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.976116][ T209] #4: ffffffff95889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.976120][ T209] irq event stamp: 33548 [ 9.976121][ T209] hardirqs last enabled at (33547): [] __down_trylock_console_sem+0x86/0xa0 [ 9.976123][ T209] hardirqs last disabled at (33548): [] console_emit_next_record+0x3d4/0x4c0 [ 9.976125][ T209] softirqs last enabled at (33106): [] handle_softirqs+0x67c/0x900 [ 9.976127][ T209] softirqs last disabled at (33099): [] __irq_exit_rcu+0x145/0x1c0 [ 9.976129][ T209] Preemption disabled at: [ 9.976130][ T209] [<0000000000000000>] 0x0 [ 9.976137][ T209] CPU: 1 UID: 0 PID: 209 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.976140][ T209] Tainted: [W]=WARN [ 9.976141][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.976142][ T209] Call Trace: [ 9.976144][ T209] [ 9.976146][ T209] dump_stack_lvl+0x6f/0xa0 [ 9.976152][ T209] __might_resched.cold+0x1fe/0x2c1 [ 9.976157][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.976161][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 9.976166][ T209] __kmalloc_noprof+0x443/0x760 [ 9.976168][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 9.976174][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 9.976177][ T209] alloc_buf.isra.0+0x4b/0x260 [ 9.976180][ T209] put_chars+0x1e1/0x2f0 [ 9.976183][ T209] ? __send_to_port+0x420/0x420 [ 9.976188][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.976192][ T209] ? validate_chain+0x38b/0xc20 [ 9.976198][ T209] hvc_console_print+0x292/0x780 [ 9.976204][ T209] ? hvc_write+0x3a0/0x3a0 [ 9.976206][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.976209][ T209] ? lock_acquire+0x13c/0x160 [ 9.976213][ T209] console_emit_next_record+0x22f/0x4c0 [ 9.976216][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 9.976218][ T209] ? console_flush_one_record+0x106/0x710 [ 9.976221][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.976224][ T209] ? lock_acquire+0x13c/0x160 [ 9.976228][ T209] console_flush_one_record+0x46f/0x710 [ 9.976232][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 9.976234][ T209] ? __lock_acquire+0x518/0xc20 [ 9.976239][ T209] console_unlock+0xee/0x1f0 [ 9.976242][ T209] ? console_flush_one_record+0x710/0x710 [ 9.976244][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.976246][ T209] ? lock_acquire+0x60/0x160 [ 9.976250][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.976251][ T209] ? vprintk_emit+0x320/0x3e0 [ 9.976255][ T209] vprintk_emit+0x37c/0x3e0 [ 9.976258][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 9.976262][ T209] ? __lock_acquire+0x518/0xc20 [ 9.976266][ T209] _printk+0xc7/0x100 [ 9.976269][ T209] ? snapshot_read.cold+0x21/0x21 [ 9.976272][ T209] ? do_raw_spin_lock+0x131/0x280 [ 9.976275][ T209] ? __rwlock_init+0x150/0x150 [ 9.976279][ T209] ? do_raw_spin_lock+0x131/0x280 [ 9.976281][ T209] do_exit.cold+0x82/0x9c [ 9.976285][ T209] ? exit_notify+0x890/0x890 [ 9.976287][ T209] ? __lock_release.isra.0+0x69/0x1a0 [ 9.976290][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.976294][ T209] do_group_exit+0xb8/0x370 [ 9.976297][ T209] __x64_sys_exit_group+0x3c/0x50 [ 9.976298][ T209] x64_sys_call+0x1567/0x1570 [ 9.976300][ T209] do_syscall_64+0xff/0x530 [ 9.976304][ T209] ? exc_page_fault+0xee/0x100 [ 9.976307][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.976309][ T209] RIP: 0033:0x7fcf5c6a81b8 [ 9.976311][ T209] Code: Unable to access opcode bytes at 0x7fcf5c6a818e. [ 9.976313][ T209] RSP: 002b:00007ffcbea970b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.976315][ T209] RAX: ffffffffffffffda RBX: 00007fcf5c7d8f88 RCX: 00007fcf5c6a81b8 [ 9.976324][ T209] RDX: 00007fcf5c3f2fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.976325][ T209] RBP: 00007ffcbea97110 R08: 0000000000000000 R09: 0000000000008010 [ 9.976326][ T209] R10: 00007ffcbea96ed0 R11: 0000000000000246 R12: 0000000000000001 [ 9.976327][ T209] R13: 0000000000000000 R14: 00007fcf5c7d7680 R15: 00007fcf5c7d8fa0 [ 9.976334][ T209]