[ 11.100331][ T188] ip (188) used greatest stack depth: 23600 bytes left [ 11.100349][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.100352][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 11.100353][ T188] preempt_count: 2, expected: 0 [ 11.100354][ T188] RCU nest depth: 0, expected: 0 [ 11.100355][ T188] locks held by ip/188: 5, last CPU#0: [ 11.100357][ T188] #0: ffffffff8aa02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 11.100369][ T188] #1: ffffffff8ab6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.100375][ T188] #2: ffffffff8ab6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.100378][ T188] #3: ffffffff8aa89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.100381][ T188] #4: ffffffff8aa89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.100385][ T188] irq event stamp: 23370 [ 11.100386][ T188] hardirqs last enabled at (23369): [] __down_trylock_console_sem+0x86/0xa0 [ 11.100389][ T188] hardirqs last disabled at (23370): [] console_emit_next_record+0x3d4/0x4c0 [ 11.100391][ T188] softirqs last enabled at (21796): [] netlink_release+0x17b/0xcf0 [ 11.100395][ T188] softirqs last disabled at (21794): [] netlink_release+0xd2/0xcf0 [ 11.100397][ T188] Preemption disabled at: [ 11.100398][ T188] [<0000000000000000>] 0x0 [ 11.100405][ T188] CPU: 0 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.100408][ T188] Tainted: [W]=WARN [ 11.100409][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.100411][ T188] Call Trace: [ 11.100412][ T188] [ 11.100414][ T188] dump_stack_lvl+0x6f/0xa0 [ 11.100419][ T188] __might_resched.cold+0x1fe/0x2c1 [ 11.100424][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.100427][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 11.100433][ T188] __kmalloc_noprof+0x443/0x760 [ 11.100435][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 11.100441][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 11.100444][ T188] alloc_buf.isra.0+0x4b/0x260 [ 11.100447][ T188] put_chars+0x1e1/0x2f0 [ 11.100450][ T188] ? __send_to_port+0x420/0x420 [ 11.100457][ T188] hvc_console_print+0x292/0x780 [ 11.100464][ T188] ? hvc_write+0x3a0/0x3a0 [ 11.100467][ T188] ? lock_acquire+0x13c/0x160 [ 11.100472][ T188] console_emit_next_record+0x22f/0x4c0 [ 11.100475][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 11.100476][ T188] ? console_flush_one_record+0x106/0x710 [ 11.100479][ T188] ? rcu_is_watching+0x16/0xd0 [ 11.100482][ T188] ? lock_acquire+0x13c/0x160 [ 11.100487][ T188] console_flush_one_record+0x46f/0x710 [ 11.100490][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 11.100492][ T188] ? __lock_acquire+0x518/0xc20 [ 11.100497][ T188] console_unlock+0xee/0x1f0 [ 11.100500][ T188] ? console_flush_one_record+0x710/0x710 [ 11.100501][ T188] ? rcu_is_watching+0x16/0xd0 [ 11.100503][ T188] ? lock_acquire+0x60/0x160 [ 11.100507][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.100509][ T188] ? vprintk_emit+0x320/0x3e0 [ 11.100512][ T188] vprintk_emit+0x37c/0x3e0 [ 11.100515][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 11.100518][ T188] ? __lock_acquire+0x518/0xc20 [ 11.100522][ T188] _printk+0xc7/0x100 [ 11.100526][ T188] ? snapshot_read.cold+0x21/0x21 [ 11.100528][ T188] ? do_raw_spin_lock+0x131/0x280 [ 11.100531][ T188] ? __rwlock_init+0x150/0x150 [ 11.100535][ T188] ? do_raw_spin_lock+0x131/0x280 [ 11.100538][ T188] do_exit.cold+0x82/0x9c [ 11.100542][ T188] ? exit_notify+0x890/0x890 [ 11.100544][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 11.100547][ T188] ? rcu_is_watching+0x16/0xd0 [ 11.100550][ T188] do_group_exit+0xb8/0x370 [ 11.100554][ T188] __x64_sys_exit_group+0x3c/0x50 [ 11.100556][ T188] x64_sys_call+0x1567/0x1570 [ 11.100559][ T188] do_syscall_64+0x10e/0x570 [ 11.100562][ T188] ? exc_page_fault+0xee/0x100 [ 11.100566][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.100568][ T188] RIP: 0033:0x7f5018daa1b8 [ 11.100570][ T188] Code: Unable to access opcode bytes at 0x7f5018daa18e. [ 11.100572][ T188] RSP: 002b:00007ffccd712258 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.100574][ T188] RAX: ffffffffffffffda RBX: 00007f5018edaf88 RCX: 00007f5018daa1b8 [ 11.100575][ T188] RDX: 00007f5018af4fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.100576][ T188] RBP: 00007ffccd7122b0 R08: 0000000000000000 R09: 0000000000000050 [ 11.100577][ T188] R10: 00007ffccd712070 R11: 0000000000000246 R12: 0000000000000001 [ 11.100578][ T188] R13: 0000000000000000 R14: 00007f5018ed9680 R15: 00007f5018edafa0 [ 11.100585][ T188] [ 15.636248][ T305] ip (305) used greatest stack depth: 23552 bytes left [ 15.636265][ T305] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.636267][ T305] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 305, name: ip [ 15.636269][ T305] preempt_count: 2, expected: 0 [ 15.636270][ T305] RCU nest depth: 0, expected: 0 [ 15.636271][ T305] locks held by ip/305: 5, last CPU#0: [ 15.636273][ T305] #0: ffffffff8aa02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 15.636285][ T305] #1: ffffffff8ab6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.636290][ T305] #2: ffffffff8ab6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.636294][ T305] #3: ffffffff8aa89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.636297][ T305] #4: ffffffff8aa89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.636301][ T305] irq event stamp: 36468 [ 15.636301][ T305] hardirqs last enabled at (36467): [] __down_trylock_console_sem+0x86/0xa0 [ 15.636305][ T305] hardirqs last disabled at (36468): [] console_emit_next_record+0x3d4/0x4c0 [ 15.636307][ T305] softirqs last enabled at (35812): [] handle_softirqs+0x67c/0x900 [ 15.636309][ T305] softirqs last disabled at (35805): [] __irq_exit_rcu+0x145/0x1c0 [ 15.636312][ T305] Preemption disabled at: [ 15.636312][ T305] [<0000000000000000>] 0x0 [ 15.636319][ T305] CPU: 0 UID: 0 PID: 305 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.636323][ T305] Tainted: [W]=WARN [ 15.636324][ T305] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.636325][ T305] Call Trace: [ 15.636327][ T305] [ 15.636328][ T305] dump_stack_lvl+0x6f/0xa0 [ 15.636334][ T305] __might_resched.cold+0x1fe/0x2c1 [ 15.636339][ T305] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.636342][ T305] ? __kmalloc_noprof+0xdb/0x760 [ 15.636347][ T305] __kmalloc_noprof+0x443/0x760 [ 15.636350][ T305] ? alloc_buf.isra.0+0x4b/0x260 [ 15.636356][ T305] ? do_raw_spin_unlock+0x59/0x250 [ 15.636359][ T305] alloc_buf.isra.0+0x4b/0x260 [ 15.636364][ T305] put_chars+0x1e1/0x2f0 [ 15.636368][ T305] ? __send_to_port+0x420/0x420 [ 15.636377][ T305] hvc_console_print+0x292/0x780 [ 15.636384][ T305] ? hvc_write+0x3a0/0x3a0 [ 15.636388][ T305] ? lock_acquire+0x13c/0x160 [ 15.636392][ T305] console_emit_next_record+0x22f/0x4c0 [ 15.636396][ T305] ? devkmsg_read+0x4b0/0x4b0 [ 15.636397][ T305] ? console_flush_one_record+0x106/0x710 [ 15.636400][ T305] ? rcu_is_watching+0x16/0xd0 [ 15.636403][ T305] ? lock_acquire+0x13c/0x160 [ 15.636408][ T305] console_flush_one_record+0x46f/0x710 [ 15.636411][ T305] ? console_emit_next_record+0x4c0/0x4c0 [ 15.636413][ T305] ? __lock_acquire+0x518/0xc20 [ 15.636418][ T305] console_unlock+0xee/0x1f0 [ 15.636421][ T305] ? console_flush_one_record+0x710/0x710 [ 15.636422][ T305] ? rcu_is_watching+0x16/0xd0 [ 15.636424][ T305] ? lock_acquire+0x60/0x160 [ 15.636428][ T305] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.636430][ T305] ? vprintk_emit+0x320/0x3e0 [ 15.636433][ T305] vprintk_emit+0x37c/0x3e0 [ 15.636436][ T305] ? wake_up_klogd_work_func+0x90/0x90 [ 15.636439][ T305] ? __lock_acquire+0x518/0xc20 [ 15.636443][ T305] _printk+0xc7/0x100 [ 15.636447][ T305] ? snapshot_read.cold+0x21/0x21 [ 15.636450][ T305] ? do_raw_spin_lock+0x131/0x280 [ 15.636453][ T305] ? __rwlock_init+0x150/0x150 [ 15.636457][ T305] ? do_raw_spin_lock+0x131/0x280 [ 15.636460][ T305] do_exit.cold+0x82/0x9c [ 15.636464][ T305] ? exit_notify+0x890/0x890 [ 15.636465][ T305] ? __lock_release.isra.0+0x69/0x1a0 [ 15.636468][ T305] ? rcu_is_watching+0x16/0xd0 [ 15.636472][ T305] do_group_exit+0xb8/0x370 [ 15.636475][ T305] __x64_sys_exit_group+0x3c/0x50 [ 15.636477][ T305] x64_sys_call+0x1567/0x1570 [ 15.636480][ T305] do_syscall_64+0x10e/0x570 [ 15.636484][ T305] ? exc_page_fault+0xee/0x100 [ 15.636487][ T305] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.636489][ T305] RIP: 0033:0x7f1192a2e1b8 [ 15.636492][ T305] Code: Unable to access opcode bytes at 0x7f1192a2e18e. [ 15.636493][ T305] RSP: 002b:00007ffc2626ff28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 15.636495][ T305] RAX: ffffffffffffffda RBX: 00007f1192b5ef88 RCX: 00007f1192a2e1b8 [ 15.636496][ T305] RDX: 00007f1192778fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 15.636497][ T305] RBP: 00007ffc2626ff80 R08: 0000000000000000 R09: 0000000000000000 [ 15.636498][ T305] R10: 00007ffc2626fd40 R11: 0000000000000246 R12: 0000000000000001 [ 15.636499][ T305] R13: 0000000000000000 R14: 00007f1192b5d680 R15: 00007f1192b5efa0 [ 15.636506][ T305]