[ 9.226367][ T199] ip (199) used greatest stack depth: 23896 bytes left [ 9.226383][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.226385][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: ip [ 9.226386][ T199] preempt_count: 2, expected: 0 [ 9.226387][ T199] RCU nest depth: 0, expected: 0 [ 9.226388][ T199] locks held by ip/199: 5, last CPU#1: [ 9.226390][ T199] #0: ffffffffb24167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.226401][ T199] #1: ffffffffb257ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.226405][ T199] #2: ffffffffb257de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.226410][ T199] #3: ffffffffb249d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.226413][ T199] #4: ffffffffb249d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.226417][ T199] irq event stamp: 20940 [ 9.226418][ T199] hardirqs last enabled at (20939): [] __down_trylock_console_sem+0x86/0xa0 [ 9.226421][ T199] hardirqs last disabled at (20940): [] console_emit_next_record+0x3d4/0x4c0 [ 9.226423][ T199] softirqs last enabled at (20288): [] handle_softirqs+0x67c/0x900 [ 9.226425][ T199] softirqs last disabled at (20281): [] __irq_exit_rcu+0x145/0x1c0 [ 9.226428][ T199] Preemption disabled at: [ 9.226428][ T199] [<0000000000000000>] 0x0 [ 9.226435][ T199] CPU: 1 UID: 0 PID: 199 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.226438][ T199] Tainted: [W]=WARN [ 9.226440][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.226441][ T199] Call Trace: [ 9.226443][ T199] [ 9.226444][ T199] dump_stack_lvl+0x6f/0xa0 [ 9.226451][ T199] __might_resched.cold+0x1fe/0x2c1 [ 9.226455][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.226459][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 9.226463][ T199] __kmalloc_noprof+0x443/0x760 [ 9.226468][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 9.226475][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 9.226478][ T199] alloc_buf.isra.0+0x4b/0x260 [ 9.226482][ T199] put_chars+0x1e1/0x2f0 [ 9.226484][ T199] ? __send_to_port+0x420/0x420 [ 9.226485][ T199] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.226489][ T199] ? validate_chain+0x38b/0xc20 [ 9.226494][ T199] hvc_console_print+0x292/0x780 [ 9.226502][ T199] ? hvc_write+0x3a0/0x3a0 [ 9.226504][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.226506][ T199] ? lock_acquire+0x13c/0x160 [ 9.226510][ T199] console_emit_next_record+0x22f/0x4c0 [ 9.226514][ T199] ? devkmsg_read+0x4b0/0x4b0 [ 9.226516][ T199] ? console_flush_one_record+0x106/0x710 [ 9.226519][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.226520][ T199] ? lock_acquire+0x13c/0x160 [ 9.226524][ T199] console_flush_one_record+0x46f/0x710 [ 9.226529][ T199] ? console_emit_next_record+0x4c0/0x4c0 [ 9.226530][ T199] ? __lock_acquire+0x518/0xc20 [ 9.226536][ T199] console_unlock+0xee/0x1f0 [ 9.226539][ T199] ? console_flush_one_record+0x710/0x710 [ 9.226540][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.226542][ T199] ? lock_acquire+0xe0/0x160 [ 9.226546][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.226547][ T199] ? vprintk_emit+0x320/0x3e0 [ 9.226550][ T199] vprintk_emit+0x37c/0x3e0 [ 9.226553][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 9.226556][ T199] ? __lock_acquire+0x518/0xc20 [ 9.226559][ T199] _printk+0xc7/0x100 [ 9.226563][ T199] ? snapshot_read.cold+0x21/0x21 [ 9.226566][ T199] ? do_raw_spin_lock+0x131/0x280 [ 9.226568][ T199] ? __rwlock_init+0x150/0x150 [ 9.226572][ T199] ? do_raw_spin_lock+0x131/0x280 [ 9.226575][ T199] do_exit.cold+0x82/0x9c [ 9.226579][ T199] ? exit_notify+0x890/0x890 [ 9.226580][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 9.226583][ T199] ? rcu_is_watching+0x16/0xd0 [ 9.226586][ T199] do_group_exit+0xb8/0x370 [ 9.226589][ T199] __x64_sys_exit_group+0x3c/0x50 [ 9.226591][ T199] x64_sys_call+0x1567/0x1570 [ 9.226593][ T199] do_syscall_64+0xff/0x530 [ 9.226597][ T199] ? exc_page_fault+0xee/0x100 [ 9.226600][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.226602][ T199] RIP: 0033:0x7f4affd4b1b8 [ 9.226604][ T199] Code: Unable to access opcode bytes at 0x7f4affd4b18e. [ 9.226605][ T199] RSP: 002b:00007fffb539a898 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.226608][ T199] RAX: ffffffffffffffda RBX: 00007f4affe7bf88 RCX: 00007f4affd4b1b8 [ 9.226609][ T199] RDX: 00007f4affa95fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.226610][ T199] RBP: 00007fffb539a8f0 R08: 0000000000000000 R09: 0000000000000050 [ 9.226611][ T199] R10: 00007fffb539a6b0 R11: 0000000000000246 R12: 0000000000000001 [ 9.226611][ T199] R13: 0000000000000000 R14: 00007f4affe7a680 R15: 00007f4affe7bfa0 [ 9.226618][ T199] [ 25.632390][ T918] ip (918) used greatest stack depth: 23136 bytes left [ 25.632407][ T918] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 25.632409][ T918] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 918, name: ip [ 25.632411][ T918] preempt_count: 2, expected: 0 [ 25.632412][ T918] RCU nest depth: 0, expected: 0 [ 25.632412][ T918] locks held by ip/918: 5, last CPU#3: [ 25.632414][ T918] #0: ffffffffb24167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 25.632425][ T918] #1: ffffffffb257ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 25.632430][ T918] #2: ffffffffb257de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 25.632435][ T918] #3: ffffffffb249d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 25.632438][ T918] #4: ffffffffb249d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 25.632443][ T918] irq event stamp: 25626 [ 25.632443][ T918] hardirqs last enabled at (25625): [] __down_trylock_console_sem+0x86/0xa0 [ 25.632446][ T918] hardirqs last disabled at (25626): [] console_emit_next_record+0x3d4/0x4c0 [ 25.632448][ T918] softirqs last enabled at (24898): [] handle_softirqs+0x67c/0x900 [ 25.632451][ T918] softirqs last disabled at (24893): [] __irq_exit_rcu+0x145/0x1c0 [ 25.632453][ T918] Preemption disabled at: [ 25.632454][ T918] [<0000000000000000>] 0x0 [ 25.632460][ T918] CPU: 3 UID: 0 PID: 918 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 25.632463][ T918] Tainted: [W]=WARN [ 25.632464][ T918] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.632468][ T918] Call Trace: [ 25.632469][ T918] [ 25.632471][ T918] dump_stack_lvl+0x6f/0xa0 [ 25.632477][ T918] __might_resched.cold+0x1fe/0x2c1 [ 25.632482][ T918] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 25.632486][ T918] ? __kmalloc_noprof+0xdb/0x760 [ 25.632490][ T918] __kmalloc_noprof+0x443/0x760 [ 25.632492][ T918] ? alloc_buf.isra.0+0x4b/0x260 [ 25.632499][ T918] ? do_raw_spin_unlock+0x59/0x250 [ 25.632501][ T918] alloc_buf.isra.0+0x4b/0x260 [ 25.632505][ T918] put_chars+0x1e1/0x2f0 [ 25.632507][ T918] ? __send_to_port+0x420/0x420 [ 25.632508][ T918] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 25.632512][ T918] ? validate_chain+0x38b/0xc20 [ 25.632517][ T918] hvc_console_print+0x292/0x780 [ 25.632524][ T918] ? hvc_write+0x3a0/0x3a0 [ 25.632527][ T918] ? rcu_is_watching+0x16/0xd0 [ 25.632529][ T918] ? lock_acquire+0x13c/0x160 [ 25.632533][ T918] console_emit_next_record+0x22f/0x4c0 [ 25.632537][ T918] ? devkmsg_read+0x4b0/0x4b0 [ 25.632539][ T918] ? console_flush_one_record+0x106/0x710 [ 25.632542][ T918] ? rcu_is_watching+0x16/0xd0 [ 25.632544][ T918] ? lock_acquire+0x13c/0x160 [ 25.632547][ T918] console_flush_one_record+0x46f/0x710 [ 25.632551][ T918] ? console_emit_next_record+0x4c0/0x4c0 [ 25.632553][ T918] ? __lock_acquire+0x518/0xc20 [ 25.632558][ T918] console_unlock+0xee/0x1f0 [ 25.632561][ T918] ? console_flush_one_record+0x710/0x710 [ 25.632563][ T918] ? rcu_is_watching+0x16/0xd0 [ 25.632565][ T918] ? lock_acquire+0xe0/0x160 [ 25.632568][ T918] ? __down_trylock_console_sem+0x5e/0xa0 [ 25.632570][ T918] ? vprintk_emit+0x320/0x3e0 [ 25.632573][ T918] vprintk_emit+0x37c/0x3e0 [ 25.632576][ T918] ? wake_up_klogd_work_func+0x90/0x90 [ 25.632579][ T918] ? __lock_acquire+0x518/0xc20 [ 25.632582][ T918] _printk+0xc7/0x100 [ 25.632586][ T918] ? snapshot_read.cold+0x21/0x21 [ 25.632589][ T918] ? do_raw_spin_lock+0x131/0x280 [ 25.632591][ T918] ? __rwlock_init+0x150/0x150 [ 25.632595][ T918] ? do_raw_spin_lock+0x131/0x280 [ 25.632597][ T918] do_exit.cold+0x82/0x9c [ 25.632601][ T918] ? exit_notify+0x890/0x890 [ 25.632602][ T918] ? __lock_release.isra.0+0x69/0x1a0 [ 25.632605][ T918] ? rcu_is_watching+0x16/0xd0 [ 25.632608][ T918] do_group_exit+0xb8/0x370 [ 25.632611][ T918] __x64_sys_exit_group+0x3c/0x50 [ 25.632613][ T918] x64_sys_call+0x1567/0x1570 [ 25.632615][ T918] do_syscall_64+0xff/0x530 [ 25.632619][ T918] ? exc_page_fault+0xee/0x100 [ 25.632622][ T918] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 25.632624][ T918] RIP: 0033:0x7f0a918e41b8 [ 25.632627][ T918] Code: Unable to access opcode bytes at 0x7f0a918e418e. [ 25.632628][ T918] RSP: 002b:00007ffdfaefcb78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 25.632630][ T918] RAX: ffffffffffffffda RBX: 00007f0a91a14f88 RCX: 00007f0a918e41b8 [ 25.632631][ T918] RDX: 00007f0a9162efc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 25.632632][ T918] RBP: 00007ffdfaefcbd0 R08: 0000000000000000 R09: 0000000000000050 [ 25.632633][ T918] R10: 00007ffdfaefc990 R11: 0000000000000246 R12: 0000000000000001 [ 25.632634][ T918] R13: 0000000000000000 R14: 00007f0a91a13680 R15: 00007f0a91a14fa0 [ 25.632640][ T918]