[ 21.651589][ T384] socat (384) used greatest stack depth: 22192 bytes left [ 21.651608][ T384] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.651610][ T384] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 384, name: socat [ 21.651612][ T384] preempt_count: 2, expected: 0 [ 21.651613][ T384] RCU nest depth: 0, expected: 0 [ 21.651614][ T384] locks held by socat/384: 5, last CPU#4: [ 21.651616][ T384] #0: ffffffff8a8027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 21.651629][ T384] #1: ffffffff8a999dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.651634][ T384] #2: ffffffff8a999e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.651638][ T384] #3: ffffffff8a889760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.651642][ T384] #4: ffffffff8a889660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 21.651645][ T384] irq event stamp: 102376 [ 21.651646][ T384] hardirqs last enabled at (102375): [] __down_trylock_console_sem+0x86/0xa0 [ 21.651649][ T384] hardirqs last disabled at (102376): [] console_emit_next_record+0x3f8/0x4f0 [ 21.651651][ T384] softirqs last enabled at (101862): [] handle_softirqs+0x67c/0x900 [ 21.651652][ T384] softirqs last disabled at (101853): [] __irq_exit_rcu+0x145/0x1c0 [ 21.651654][ T384] Preemption disabled at: [ 21.651655][ T384] [<0000000000000000>] 0x0 [ 21.651663][ T384] CPU: 4 UID: 0 PID: 384 Comm: socat Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.651666][ T384] Tainted: [W]=WARN [ 21.651667][ T384] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 21.651669][ T384] Call Trace: [ 21.651670][ T384] [ 21.651672][ T384] dump_stack_lvl+0x6f/0xa0 [ 21.651678][ T384] __might_resched.cold+0x1fe/0x2c1 [ 21.651682][ T384] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.651686][ T384] ? __kmalloc_noprof+0xdb/0x760 [ 21.651691][ T384] __kmalloc_noprof+0x443/0x760 [ 21.651693][ T384] ? alloc_buf.isra.0+0x4b/0x260 [ 21.651700][ T384] ? do_raw_spin_unlock+0x59/0x250 [ 21.651702][ T384] alloc_buf.isra.0+0x4b/0x260 [ 21.651706][ T384] put_chars+0x1e1/0x2f0 [ 21.651708][ T384] ? __send_to_port+0x420/0x420 [ 21.651710][ T384] ? printk_get_next_message+0x2fe/0x7d0 [ 21.651714][ T384] ? rcu_read_lock_any_held+0x3c/0x90 [ 21.651716][ T384] ? validate_chain+0x38b/0xc20 [ 21.651720][ T384] hvc_console_print+0x292/0x780 [ 21.651724][ T384] ? __lock_acquire+0x518/0xc20 [ 21.651725][ T384] ? __lock_acquire+0x518/0xc20 [ 21.651729][ T384] ? hvc_write+0x3a0/0x3a0 [ 21.651733][ T384] ? rcu_is_watching+0x16/0xd0 [ 21.651736][ T384] ? lock_acquire+0x13c/0x160 [ 21.651739][ T384] console_emit_next_record+0x252/0x4f0 [ 21.651743][ T384] ? devkmsg_read+0x4e0/0x4e0 [ 21.651747][ T384] ? rcu_is_watching+0x16/0xd0 [ 21.651749][ T384] ? lock_acquire+0x13c/0x160 [ 21.651753][ T384] console_flush_one_record+0x46f/0x710 [ 21.651757][ T384] ? console_emit_next_record+0x4f0/0x4f0 [ 21.651758][ T384] ? __lock_acquire+0x518/0xc20 [ 21.651763][ T384] console_unlock+0xee/0x1f0 [ 21.651766][ T384] ? console_flush_one_record+0x710/0x710 [ 21.651767][ T384] ? rcu_is_watching+0x16/0xd0 [ 21.651770][ T384] ? lock_acquire+0xa0/0x160 [ 21.651773][ T384] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.651774][ T384] ? vprintk_emit+0x320/0x3e0 [ 21.651778][ T384] vprintk_emit+0x37c/0x3e0 [ 21.651781][ T384] ? wake_up_klogd_work_func+0x90/0x90 [ 21.651784][ T384] ? __lock_acquire+0x518/0xc20 [ 21.651788][ T384] _printk+0xc7/0x100 [ 21.651791][ T384] ? snapshot_read.cold+0x21/0x21 [ 21.651794][ T384] ? do_raw_spin_lock+0x131/0x280 [ 21.651796][ T384] ? __rwlock_init+0x150/0x150 [ 21.651800][ T384] ? do_raw_spin_lock+0x131/0x280 [ 21.651802][ T384] do_exit.cold+0x82/0x9c [ 21.651806][ T384] ? exit_notify+0x890/0x890 [ 21.651808][ T384] ? __lock_release.isra.0+0x69/0x1a0 [ 21.651810][ T384] ? rcu_is_watching+0x16/0xd0 [ 21.651814][ T384] do_group_exit+0xb8/0x370 [ 21.651817][ T384] __x64_sys_exit_group+0x3c/0x50 [ 21.651820][ T384] x64_sys_call+0x1567/0x1570 [ 21.651822][ T384] do_syscall_64+0xff/0x530 [ 21.651826][ T384] ? exc_page_fault+0xee/0x100 [ 21.651829][ T384] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.651831][ T384] RIP: 0033:0x7f0bb1f721b8 [ 21.651833][ T384] Code: Unable to access opcode bytes at 0x7f0bb1f7218e. [ 21.651834][ T384] RSP: 002b:00007ffc59bb9258 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 21.651837][ T384] RAX: ffffffffffffffda RBX: 00007f0bb20a2f88 RCX: 00007f0bb1f721b8 [ 21.651838][ T384] RDX: 00007f0bb1e57e88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 21.651839][ T384] RBP: 00007ffc59bb92b0 R08: 0000000000000000 R09: 0000000000004010 [ 21.651840][ T384] R10: 00007ffc59bb90b0 R11: 0000000000000246 R12: 0000000000000003 [ 21.651841][ T384] R13: 0000000000000000 R14: 00007f0bb20a1680 R15: 00007f0bb20a2fa0 [ 21.651847][ T384] [ 47.928928][ T350] python3 (350) used greatest stack depth: 21856 bytes left [ 47.928946][ T350] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 47.928948][ T350] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 350, name: python3 [ 47.928950][ T350] preempt_count: 2, expected: 0 [ 47.928951][ T350] RCU nest depth: 0, expected: 0 [ 47.928951][ T350] locks held by python3/350: 5, last CPU#0: [ 47.928953][ T350] #0: ffffffff8a8027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 47.928965][ T350] #1: ffffffff8a999dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 47.928971][ T350] #2: ffffffff8a999e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 47.928975][ T350] #3: ffffffff8a889760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 47.928979][ T350] #4: ffffffff8a889660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 47.928983][ T350] irq event stamp: 3596546 [ 47.928984][ T350] hardirqs last enabled at (3596545): [] __down_trylock_console_sem+0x86/0xa0 [ 47.928986][ T350] hardirqs last disabled at (3596546): [] console_emit_next_record+0x3f8/0x4f0 [ 47.928988][ T350] softirqs last enabled at (3596374): [] handle_softirqs+0x67c/0x900 [ 47.928990][ T350] softirqs last disabled at (3594485): [] __irq_exit_rcu+0x145/0x1c0 [ 47.928992][ T350] Preemption disabled at: [ 47.928993][ T350] [<0000000000000000>] 0x0 [ 47.929000][ T350] CPU: 0 UID: 0 PID: 350 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 47.929003][ T350] Tainted: [W]=WARN [ 47.929004][ T350] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 47.929006][ T350] Call Trace: [ 47.929008][ T350] [ 47.929009][ T350] dump_stack_lvl+0x6f/0xa0 [ 47.929015][ T350] __might_resched.cold+0x1fe/0x2c1 [ 47.929020][ T350] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 47.929024][ T350] ? __kmalloc_noprof+0xdb/0x760 [ 47.929029][ T350] __kmalloc_noprof+0x443/0x760 [ 47.929031][ T350] ? alloc_buf.isra.0+0x4b/0x260 [ 47.929038][ T350] ? do_raw_spin_unlock+0x59/0x250 [ 47.929040][ T350] alloc_buf.isra.0+0x4b/0x260 [ 47.929044][ T350] put_chars+0x1e1/0x2f0 [ 47.929047][ T350] ? __send_to_port+0x420/0x420 [ 47.929049][ T350] ? printk_get_next_message+0x2fe/0x7d0 [ 47.929052][ T350] ? rcu_read_lock_any_held+0x3c/0x90 [ 47.929055][ T350] ? validate_chain+0x38b/0xc20 [ 47.929059][ T350] hvc_console_print+0x292/0x780 [ 47.929062][ T350] ? __lock_acquire+0x518/0xc20 [ 47.929064][ T350] ? __lock_acquire+0x518/0xc20 [ 47.929068][ T350] ? hvc_write+0x3a0/0x3a0 [ 47.929072][ T350] ? rcu_is_watching+0x16/0xd0 [ 47.929075][ T350] ? lock_acquire+0x13c/0x160 [ 47.929078][ T350] console_emit_next_record+0x252/0x4f0 [ 47.929082][ T350] ? devkmsg_read+0x4e0/0x4e0 [ 47.929086][ T350] ? rcu_is_watching+0x16/0xd0 [ 47.929088][ T350] ? lock_acquire+0x13c/0x160 [ 47.929092][ T350] console_flush_one_record+0x46f/0x710 [ 47.929096][ T350] ? console_emit_next_record+0x4f0/0x4f0 [ 47.929098][ T350] ? __lock_acquire+0x518/0xc20 [ 47.929103][ T350] console_unlock+0xee/0x1f0 [ 47.929105][ T350] ? console_flush_one_record+0x710/0x710 [ 47.929107][ T350] ? rcu_is_watching+0x16/0xd0 [ 47.929109][ T350] ? lock_acquire+0xa0/0x160 [ 47.929113][ T350] ? __down_trylock_console_sem+0x5e/0xa0 [ 47.929114][ T350] ? vprintk_emit+0x320/0x3e0 [ 47.929120][ T350] vprintk_emit+0x37c/0x3e0 [ 47.929123][ T350] ? wake_up_klogd_work_func+0x90/0x90 [ 47.929127][ T350] ? __lock_acquire+0x518/0xc20 [ 47.929130][ T350] _printk+0xc7/0x100 [ 47.929134][ T350] ? snapshot_read.cold+0x21/0x21 [ 47.929136][ T350] ? do_raw_spin_lock+0x131/0x280 [ 47.929139][ T350] ? __rwlock_init+0x150/0x150 [ 47.929142][ T350] ? do_raw_spin_lock+0x131/0x280 [ 47.929145][ T350] do_exit.cold+0x82/0x9c [ 47.929148][ T350] ? exit_notify+0x890/0x890 [ 47.929150][ T350] ? __lock_release.isra.0+0x69/0x1a0 [ 47.929152][ T350] ? rcu_is_watching+0x16/0xd0 [ 47.929156][ T350] do_group_exit+0xb8/0x370 [ 47.929160][ T350] __x64_sys_exit_group+0x3c/0x50 [ 47.929162][ T350] x64_sys_call+0x1567/0x1570 [ 47.929164][ T350] do_syscall_64+0xff/0x530 [ 47.929168][ T350] ? exc_page_fault+0xee/0x100 [ 47.929172][ T350] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 47.929174][ T350] RIP: 0033:0x7fe826a5a1b8 [ 47.929176][ T350] Code: Unable to access opcode bytes at 0x7fe826a5a18e. [ 47.929177][ T350] RSP: 002b:00007fff9714e3f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 47.929180][ T350] RAX: ffffffffffffffda RBX: 00007fe826b8af88 RCX: 00007fe826a5a1b8 [ 47.929181][ T350] RDX: 00007fe826882708 RSI: ffffffffffffff90 RDI: 0000000000000001 [ 47.929182][ T350] RBP: 00007fff9714e450 R08: 0000000000000000 R09: 0000000000000001 [ 47.929183][ T350] R10: 00007fe826f443f5 R11: 0000000000000246 R12: 0000000000000002 [ 47.929184][ T350] R13: 0000000000000001 R14: 00007fe826b89680 R15: 00007fe826b8afa0 [ 47.929190][ T350]