[ 20.319171][ T331] ip (331) used greatest stack depth: 23856 bytes left [ 20.319190][ T331] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 20.319192][ T331] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 331, name: ip [ 20.319194][ T331] preempt_count: 2, expected: 0 [ 20.319195][ T331] RCU nest depth: 0, expected: 0 [ 20.319196][ T331] locks held by ip/331: 5, last CPU#0: [ 20.319198][ T331] #0: ffffffffa16167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 20.319209][ T331] #1: ffffffffa177ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 20.319214][ T331] #2: ffffffffa177de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 20.319219][ T331] #3: ffffffffa169d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 20.319222][ T331] #4: ffffffffa169d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 20.319226][ T331] irq event stamp: 26126 [ 20.319227][ T331] hardirqs last enabled at (26125): [] __down_trylock_console_sem+0x86/0xa0 [ 20.319230][ T331] hardirqs last disabled at (26126): [] console_emit_next_record+0x3d4/0x4c0 [ 20.319232][ T331] softirqs last enabled at (24556): [] netlink_release+0x17b/0xcf0 [ 20.319236][ T331] softirqs last disabled at (24554): [] netlink_release+0xd2/0xcf0 [ 20.319239][ T331] Preemption disabled at: [ 20.319240][ T331] [<0000000000000000>] 0x0 [ 20.319246][ T331] CPU: 0 UID: 0 PID: 331 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 20.319250][ T331] Tainted: [W]=WARN [ 20.319251][ T331] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.319253][ T331] Call Trace: [ 20.319254][ T331] [ 20.319256][ T331] dump_stack_lvl+0x6f/0xa0 [ 20.319262][ T331] __might_resched.cold+0x1fe/0x2c1 [ 20.319267][ T331] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 20.319271][ T331] ? __kmalloc_noprof+0xdb/0x760 [ 20.319275][ T331] __kmalloc_noprof+0x443/0x760 [ 20.319277][ T331] ? alloc_buf.isra.0+0x4b/0x260 [ 20.319284][ T331] ? do_raw_spin_unlock+0x59/0x250 [ 20.319287][ T331] alloc_buf.isra.0+0x4b/0x260 [ 20.319291][ T331] put_chars+0x1e1/0x2f0 [ 20.319293][ T331] ? __send_to_port+0x420/0x420 [ 20.319294][ T331] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 20.319298][ T331] ? validate_chain+0x38b/0xc20 [ 20.319303][ T331] hvc_console_print+0x292/0x780 [ 20.319311][ T331] ? hvc_write+0x3a0/0x3a0 [ 20.319314][ T331] ? rcu_is_watching+0x16/0xd0 [ 20.319316][ T331] ? lock_acquire+0x13c/0x160 [ 20.319320][ T331] console_emit_next_record+0x22f/0x4c0 [ 20.319324][ T331] ? devkmsg_read+0x4b0/0x4b0 [ 20.319325][ T331] ? console_flush_one_record+0x106/0x710 [ 20.319329][ T331] ? rcu_is_watching+0x16/0xd0 [ 20.319330][ T331] ? lock_acquire+0x13c/0x160 [ 20.319334][ T331] console_flush_one_record+0x46f/0x710 [ 20.319338][ T331] ? console_emit_next_record+0x4c0/0x4c0 [ 20.319340][ T331] ? __lock_acquire+0x518/0xc20 [ 20.319345][ T331] console_unlock+0xee/0x1f0 [ 20.319348][ T331] ? console_flush_one_record+0x710/0x710 [ 20.319350][ T331] ? rcu_is_watching+0x16/0xd0 [ 20.319352][ T331] ? lock_acquire+0xe0/0x160 [ 20.319355][ T331] ? __down_trylock_console_sem+0x5e/0xa0 [ 20.319357][ T331] ? vprintk_emit+0x320/0x3e0 [ 20.319360][ T331] vprintk_emit+0x37c/0x3e0 [ 20.319363][ T331] ? wake_up_klogd_work_func+0x90/0x90 [ 20.319366][ T331] ? __lock_acquire+0x518/0xc20 [ 20.319369][ T331] _printk+0xc7/0x100 [ 20.319373][ T331] ? snapshot_read.cold+0x21/0x21 [ 20.319376][ T331] ? do_raw_spin_lock+0x131/0x280 [ 20.319378][ T331] ? __rwlock_init+0x150/0x150 [ 20.319382][ T331] ? do_raw_spin_lock+0x131/0x280 [ 20.319385][ T331] do_exit.cold+0x82/0x9c [ 20.319389][ T331] ? exit_notify+0x890/0x890 [ 20.319390][ T331] ? __lock_release.isra.0+0x69/0x1a0 [ 20.319393][ T331] ? rcu_is_watching+0x16/0xd0 [ 20.319396][ T331] do_group_exit+0xb8/0x370 [ 20.319399][ T331] __x64_sys_exit_group+0x3c/0x50 [ 20.319401][ T331] x64_sys_call+0x1567/0x1570 [ 20.319403][ T331] do_syscall_64+0xff/0x530 [ 20.319407][ T331] ? exc_page_fault+0xee/0x100 [ 20.319410][ T331] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 20.319413][ T331] RIP: 0033:0x7fd9587b71b8 [ 20.319415][ T331] Code: Unable to access opcode bytes at 0x7fd9587b718e. [ 20.319416][ T331] RSP: 002b:00007ffc476569c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 20.319418][ T331] RAX: ffffffffffffffda RBX: 00007fd9588e7f88 RCX: 00007fd9587b71b8 [ 20.319420][ T331] RDX: 00007fd958501fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 20.319420][ T331] RBP: 00007ffc47656a20 R08: 0000000000000000 R09: 0000000000000050 [ 20.319421][ T331] R10: 00007ffc476567e0 R11: 0000000000000246 R12: 0000000000000001 [ 20.319422][ T331] R13: 0000000000000000 R14: 00007fd9588e6680 R15: 00007fd9588e7fa0 [ 20.319429][ T331]