[ 10.214997][ T202] ip (202) used greatest stack depth: 23960 bytes left [ 10.215018][ T202] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.215019][ T202] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 202, name: ip [ 10.215021][ T202] preempt_count: 2, expected: 0 [ 10.215022][ T202] RCU nest depth: 0, expected: 0 [ 10.215023][ T202] locks held by ip/202: 5, last CPU#0: [ 10.215025][ T202] #0: ffffffffb8e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.215036][ T202] #1: ffffffffb8f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.215041][ T202] #2: ffffffffb8f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.215046][ T202] #3: ffffffffb8e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.215050][ T202] #4: ffffffffb8e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.215054][ T202] irq event stamp: 37434 [ 10.215055][ T202] hardirqs last enabled at (37433): [] __down_trylock_console_sem+0x86/0xa0 [ 10.215058][ T202] hardirqs last disabled at (37434): [] console_emit_next_record+0x3d4/0x4c0 [ 10.215060][ T202] softirqs last enabled at (37342): [] handle_softirqs+0x67c/0x900 [ 10.215062][ T202] softirqs last disabled at (37333): [] __irq_exit_rcu+0x145/0x1c0 [ 10.215065][ T202] Preemption disabled at: [ 10.215066][ T202] [<0000000000000000>] 0x0 [ 10.215072][ T202] CPU: 0 UID: 0 PID: 202 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.215076][ T202] Tainted: [W]=WARN [ 10.215077][ T202] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.215079][ T202] Call Trace: [ 10.215080][ T202] [ 10.215082][ T202] dump_stack_lvl+0x6f/0xa0 [ 10.215089][ T202] __might_resched.cold+0x1fe/0x2c1 [ 10.215093][ T202] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.215097][ T202] ? __kmalloc_noprof+0xdb/0x760 [ 10.215102][ T202] __kmalloc_noprof+0x443/0x760 [ 10.215103][ T202] ? alloc_buf.isra.0+0x4b/0x260 [ 10.215111][ T202] ? do_raw_spin_unlock+0x59/0x250 [ 10.215113][ T202] alloc_buf.isra.0+0x4b/0x260 [ 10.215117][ T202] put_chars+0x1e1/0x2f0 [ 10.215120][ T202] ? __send_to_port+0x420/0x420 [ 10.215121][ T202] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.215124][ T202] ? validate_chain+0x38b/0xc20 [ 10.215130][ T202] hvc_console_print+0x292/0x780 [ 10.215137][ T202] ? hvc_write+0x3a0/0x3a0 [ 10.215140][ T202] ? rcu_is_watching+0x16/0xd0 [ 10.215142][ T202] ? lock_acquire+0x13c/0x160 [ 10.215146][ T202] console_emit_next_record+0x22f/0x4c0 [ 10.215150][ T202] ? devkmsg_read+0x4b0/0x4b0 [ 10.215152][ T202] ? console_flush_one_record+0x106/0x710 [ 10.215155][ T202] ? rcu_is_watching+0x16/0xd0 [ 10.215157][ T202] ? lock_acquire+0x13c/0x160 [ 10.215161][ T202] console_flush_one_record+0x46f/0x710 [ 10.215165][ T202] ? console_emit_next_record+0x4c0/0x4c0 [ 10.215167][ T202] ? __lock_acquire+0x518/0xc20 [ 10.215172][ T202] console_unlock+0xee/0x1f0 [ 10.215175][ T202] ? console_flush_one_record+0x710/0x710 [ 10.215177][ T202] ? rcu_is_watching+0x16/0xd0 [ 10.215179][ T202] ? lock_acquire+0xe0/0x160 [ 10.215182][ T202] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.215184][ T202] ? vprintk_emit+0x320/0x3e0 [ 10.215187][ T202] vprintk_emit+0x37c/0x3e0 [ 10.215190][ T202] ? wake_up_klogd_work_func+0x90/0x90 [ 10.215193][ T202] ? __lock_acquire+0x518/0xc20 [ 10.215197][ T202] _printk+0xc7/0x100 [ 10.215200][ T202] ? snapshot_read.cold+0x21/0x21 [ 10.215203][ T202] ? do_raw_spin_lock+0x131/0x280 [ 10.215206][ T202] ? __rwlock_init+0x150/0x150 [ 10.215210][ T202] ? do_raw_spin_lock+0x131/0x280 [ 10.215212][ T202] do_exit.cold+0x82/0x9c [ 10.215216][ T202] ? exit_notify+0x890/0x890 [ 10.215218][ T202] ? __lock_release.isra.0+0x69/0x1a0 [ 10.215220][ T202] ? rcu_is_watching+0x16/0xd0 [ 10.215224][ T202] do_group_exit+0xb8/0x370 [ 10.215227][ T202] __x64_sys_exit_group+0x3c/0x50 [ 10.215229][ T202] x64_sys_call+0x1567/0x1570 [ 10.215231][ T202] do_syscall_64+0xff/0x530 [ 10.215235][ T202] ? exc_page_fault+0xee/0x100 [ 10.215238][ T202] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.215240][ T202] RIP: 0033:0x7fa5f3faf1b8 [ 10.215242][ T202] Code: Unable to access opcode bytes at 0x7fa5f3faf18e. [ 10.215244][ T202] RSP: 002b:00007ffcd3e388e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.215246][ T202] RAX: ffffffffffffffda RBX: 00007fa5f40dff88 RCX: 00007fa5f3faf1b8 [ 10.215247][ T202] RDX: 00007fa5f3cf9fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.215248][ T202] RBP: 00007ffcd3e38940 R08: 0000000000000000 R09: 0000000000000050 [ 10.215249][ T202] R10: 00007ffcd3e38700 R11: 0000000000000246 R12: 0000000000000001 [ 10.215250][ T202] R13: 0000000000000000 R14: 00007fa5f40de680 R15: 00007fa5f40dffa0 [ 10.215257][ T202] [ 14.701874][ T228] ip (228) used greatest stack depth: 23776 bytes left [ 14.701891][ T228] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.701894][ T228] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 228, name: ip [ 14.701895][ T228] preempt_count: 2, expected: 0 [ 14.701896][ T228] RCU nest depth: 0, expected: 0 [ 14.701897][ T228] locks held by ip/228: 5, last CPU#3: [ 14.701899][ T228] #0: ffffffffb8e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.701911][ T228] #1: ffffffffb8f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.701916][ T228] #2: ffffffffb8f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.701923][ T228] #3: ffffffffb8e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.701927][ T228] #4: ffffffffb8e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.701931][ T228] irq event stamp: 33430 [ 14.701932][ T228] hardirqs last enabled at (33429): [] __down_trylock_console_sem+0x86/0xa0 [ 14.701936][ T228] hardirqs last disabled at (33430): [] console_emit_next_record+0x3d4/0x4c0 [ 14.701938][ T228] softirqs last enabled at (32352): [] handle_softirqs+0x67c/0x900 [ 14.701940][ T228] softirqs last disabled at (32347): [] __irq_exit_rcu+0x145/0x1c0 [ 14.701943][ T228] Preemption disabled at: [ 14.701943][ T228] [<0000000000000000>] 0x0 [ 14.701950][ T228] CPU: 3 UID: 0 PID: 228 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.701954][ T228] Tainted: [W]=WARN [ 14.701955][ T228] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.701956][ T228] Call Trace: [ 14.701958][ T228] [ 14.701959][ T228] dump_stack_lvl+0x6f/0xa0 [ 14.701966][ T228] __might_resched.cold+0x1fe/0x2c1 [ 14.701971][ T228] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.701975][ T228] ? __kmalloc_noprof+0xdb/0x760 [ 14.701980][ T228] __kmalloc_noprof+0x443/0x760 [ 14.701982][ T228] ? alloc_buf.isra.0+0x4b/0x260 [ 14.701989][ T228] ? do_raw_spin_unlock+0x59/0x250 [ 14.701992][ T228] alloc_buf.isra.0+0x4b/0x260 [ 14.701996][ T228] put_chars+0x1e1/0x2f0 [ 14.701999][ T228] ? __send_to_port+0x420/0x420 [ 14.702000][ T228] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.702004][ T228] ? validate_chain+0x38b/0xc20 [ 14.702010][ T228] hvc_console_print+0x292/0x780 [ 14.702018][ T228] ? hvc_write+0x3a0/0x3a0 [ 14.702020][ T228] ? rcu_is_watching+0x16/0xd0 [ 14.702022][ T228] ? lock_acquire+0x13c/0x160 [ 14.702027][ T228] console_emit_next_record+0x22f/0x4c0 [ 14.702031][ T228] ? devkmsg_read+0x4b0/0x4b0 [ 14.702033][ T228] ? console_flush_one_record+0x106/0x710 [ 14.702036][ T228] ? rcu_is_watching+0x16/0xd0 [ 14.702038][ T228] ? lock_acquire+0x13c/0x160 [ 14.702042][ T228] console_flush_one_record+0x46f/0x710 [ 14.702047][ T228] ? console_emit_next_record+0x4c0/0x4c0 [ 14.702049][ T228] ? __lock_acquire+0x518/0xc20 [ 14.702054][ T228] console_unlock+0xee/0x1f0 [ 14.702057][ T228] ? console_flush_one_record+0x710/0x710 [ 14.702059][ T228] ? rcu_is_watching+0x16/0xd0 [ 14.702061][ T228] ? lock_acquire+0xe0/0x160 [ 14.702065][ T228] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.702067][ T228] ? vprintk_emit+0x320/0x3e0 [ 14.702069][ T228] vprintk_emit+0x37c/0x3e0 [ 14.702073][ T228] ? wake_up_klogd_work_func+0x90/0x90 [ 14.702076][ T228] ? __lock_acquire+0x518/0xc20 [ 14.702080][ T228] _printk+0xc7/0x100 [ 14.702083][ T228] ? snapshot_read.cold+0x21/0x21 [ 14.702086][ T228] ? do_raw_spin_lock+0x131/0x280 [ 14.702089][ T228] ? __rwlock_init+0x150/0x150 [ 14.702093][ T228] ? do_raw_spin_lock+0x131/0x280 [ 14.702096][ T228] do_exit.cold+0x82/0x9c [ 14.702100][ T228] ? exit_notify+0x890/0x890 [ 14.702101][ T228] ? __lock_release.isra.0+0x69/0x1a0 [ 14.702104][ T228] ? rcu_is_watching+0x16/0xd0 [ 14.702108][ T228] do_group_exit+0xb8/0x370 [ 14.702111][ T228] __x64_sys_exit_group+0x3c/0x50 [ 14.702112][ T228] x64_sys_call+0x1567/0x1570 [ 14.702115][ T228] do_syscall_64+0xff/0x530 [ 14.702119][ T228] ? exc_page_fault+0xee/0x100 [ 14.702122][ T228] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.702125][ T228] RIP: 0033:0x7f21db6371b8 [ 14.702127][ T228] Code: Unable to access opcode bytes at 0x7f21db63718e. [ 14.702128][ T228] RSP: 002b:00007ffc51dbb198 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.702131][ T228] RAX: ffffffffffffffda RBX: 00007f21db767f88 RCX: 00007f21db6371b8 [ 14.702132][ T228] RDX: 00007f21db381fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 14.702133][ T228] RBP: 00007ffc51dbb1f0 R08: 0000000000000000 R09: 0000000000000000 [ 14.702134][ T228] R10: 00007ffc51dbafb0 R11: 0000000000000246 R12: 0000000000000001 [ 14.702135][ T228] R13: 0000000000000000 R14: 00007f21db766680 R15: 00007f21db767fa0 [ 14.702142][ T228]