[ 30.004216][ T466] socat (466) used greatest stack depth: 21672 bytes left [ 30.004236][ T466] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.004238][ T466] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 466, name: socat [ 30.004240][ T466] preempt_count: 2, expected: 0 [ 30.004241][ T466] RCU nest depth: 0, expected: 0 [ 30.004242][ T466] locks held by socat/466: 5, last CPU#4: [ 30.004244][ T466] #0: ffffffffac6027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 30.004257][ T466] #1: ffffffffac799dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.004262][ T466] #2: ffffffffac799e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.004266][ T466] #3: ffffffffac689760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.004269][ T466] #4: ffffffffac689660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 30.004273][ T466] irq event stamp: 69354 [ 30.004274][ T466] hardirqs last enabled at (69353): [] __down_trylock_console_sem+0x86/0xa0 [ 30.004276][ T466] hardirqs last disabled at (69354): [] console_emit_next_record+0x3f8/0x4f0 [ 30.004278][ T466] softirqs last enabled at (68078): [] unix_release_sock+0x446/0xe50 [ 30.004282][ T466] softirqs last disabled at (68076): [] unix_release_sock+0x39f/0xe50 [ 30.004285][ T466] Preemption disabled at: [ 30.004286][ T466] [<0000000000000000>] 0x0 [ 30.004293][ T466] CPU: 4 UID: 0 PID: 466 Comm: socat Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.004296][ T466] Tainted: [W]=WARN [ 30.004297][ T466] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 30.004299][ T466] Call Trace: [ 30.004301][ T466] [ 30.004302][ T466] dump_stack_lvl+0x6f/0xa0 [ 30.004308][ T466] __might_resched.cold+0x1fe/0x2c1 [ 30.004313][ T466] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.004317][ T466] ? __kmalloc_noprof+0xdb/0x760 [ 30.004322][ T466] __kmalloc_noprof+0x443/0x760 [ 30.004324][ T466] ? alloc_buf.isra.0+0x4b/0x260 [ 30.004330][ T466] ? do_raw_spin_unlock+0x59/0x250 [ 30.004333][ T466] alloc_buf.isra.0+0x4b/0x260 [ 30.004336][ T466] put_chars+0x1e1/0x2f0 [ 30.004340][ T466] ? __send_to_port+0x420/0x420 [ 30.004341][ T466] ? printk_get_next_message+0x2fe/0x7d0 [ 30.004345][ T466] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.004347][ T466] ? validate_chain+0x38b/0xc20 [ 30.004352][ T466] hvc_console_print+0x292/0x780 [ 30.004355][ T466] ? __lock_acquire+0x518/0xc20 [ 30.004357][ T466] ? __lock_acquire+0x518/0xc20 [ 30.004361][ T466] ? hvc_write+0x3a0/0x3a0 [ 30.004364][ T466] ? rcu_is_watching+0x16/0xd0 [ 30.004367][ T466] ? lock_acquire+0x13c/0x160 [ 30.004371][ T466] console_emit_next_record+0x252/0x4f0 [ 30.004374][ T466] ? devkmsg_read+0x4e0/0x4e0 [ 30.004379][ T466] ? rcu_is_watching+0x16/0xd0 [ 30.004381][ T466] ? lock_acquire+0x13c/0x160 [ 30.004384][ T466] console_flush_one_record+0x46f/0x710 [ 30.004388][ T466] ? console_emit_next_record+0x4f0/0x4f0 [ 30.004390][ T466] ? __lock_acquire+0x518/0xc20 [ 30.004395][ T466] console_unlock+0xee/0x1f0 [ 30.004398][ T466] ? console_flush_one_record+0x710/0x710 [ 30.004399][ T466] ? rcu_is_watching+0x16/0xd0 [ 30.004401][ T466] ? lock_acquire+0xa0/0x160 [ 30.004405][ T466] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.004406][ T466] ? vprintk_emit+0x320/0x3e0 [ 30.004410][ T466] vprintk_emit+0x37c/0x3e0 [ 30.004413][ T466] ? wake_up_klogd_work_func+0x90/0x90 [ 30.004417][ T466] ? __lock_acquire+0x518/0xc20 [ 30.004420][ T466] _printk+0xc7/0x100 [ 30.004423][ T466] ? snapshot_read.cold+0x21/0x21 [ 30.004426][ T466] ? do_raw_spin_lock+0x131/0x280 [ 30.004429][ T466] ? __rwlock_init+0x150/0x150 [ 30.004432][ T466] ? do_raw_spin_lock+0x131/0x280 [ 30.004435][ T466] do_exit.cold+0x82/0x9c [ 30.004438][ T466] ? exit_notify+0x890/0x890 [ 30.004440][ T466] ? __lock_release.isra.0+0x69/0x1a0 [ 30.004443][ T466] ? rcu_is_watching+0x16/0xd0 [ 30.004447][ T466] do_group_exit+0xb8/0x370 [ 30.004450][ T466] __x64_sys_exit_group+0x3c/0x50 [ 30.004452][ T466] x64_sys_call+0x1567/0x1570 [ 30.004455][ T466] do_syscall_64+0xff/0x530 [ 30.004458][ T466] ? exc_page_fault+0xee/0x100 [ 30.004462][ T466] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.004464][ T466] RIP: 0033:0x7f32c5ffe1b8 [ 30.004466][ T466] Code: Unable to access opcode bytes at 0x7f32c5ffe18e. [ 30.004467][ T466] RSP: 002b:00007fff1ca667b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.004470][ T466] RAX: ffffffffffffffda RBX: 00007f32c612ef88 RCX: 00007f32c5ffe1b8 [ 30.004471][ T466] RDX: 00007f32c5ee3e88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 30.004472][ T466] RBP: 00007fff1ca66810 R08: 0000000000000000 R09: 0000000000004010 [ 30.004473][ T466] R10: 00007fff1ca66610 R11: 0000000000000246 R12: 0000000000000003 [ 30.004474][ T466] R13: 0000000000000000 R14: 00007f32c612d680 R15: 00007f32c612efa0 [ 30.004480][ T466] [ 48.729266][ T351] python3 (351) used greatest stack depth: 21648 bytes left [ 48.729287][ T351] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 48.729289][ T351] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 351, name: python3 [ 48.729291][ T351] preempt_count: 2, expected: 0 [ 48.729291][ T351] RCU nest depth: 0, expected: 0 [ 48.729293][ T351] locks held by python3/351: 5, last CPU#0: [ 48.729294][ T351] #0: ffffffffac6027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 48.729307][ T351] #1: ffffffffac799dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 48.729312][ T351] #2: ffffffffac799e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 48.729316][ T351] #3: ffffffffac689760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 48.729320][ T351] #4: ffffffffac689660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 48.729324][ T351] irq event stamp: 3494324 [ 48.729325][ T351] hardirqs last enabled at (3494323): [] __down_trylock_console_sem+0x86/0xa0 [ 48.729327][ T351] hardirqs last disabled at (3494324): [] console_emit_next_record+0x3f8/0x4f0 [ 48.729329][ T351] softirqs last enabled at (3493050): [] handle_softirqs+0x67c/0x900 [ 48.729331][ T351] softirqs last disabled at (3493043): [] __irq_exit_rcu+0x145/0x1c0 [ 48.729333][ T351] Preemption disabled at: [ 48.729334][ T351] [<0000000000000000>] 0x0 [ 48.729342][ T351] CPU: 0 UID: 0 PID: 351 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 48.729346][ T351] Tainted: [W]=WARN [ 48.729346][ T351] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 48.729349][ T351] Call Trace: [ 48.729350][ T351] [ 48.729352][ T351] dump_stack_lvl+0x6f/0xa0 [ 48.729358][ T351] __might_resched.cold+0x1fe/0x2c1 [ 48.729362][ T351] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 48.729366][ T351] ? __kmalloc_noprof+0xdb/0x760 [ 48.729371][ T351] __kmalloc_noprof+0x443/0x760 [ 48.729374][ T351] ? alloc_buf.isra.0+0x4b/0x260 [ 48.729380][ T351] ? do_raw_spin_unlock+0x59/0x250 [ 48.729383][ T351] alloc_buf.isra.0+0x4b/0x260 [ 48.729386][ T351] put_chars+0x1e1/0x2f0 [ 48.729389][ T351] ? __send_to_port+0x420/0x420 [ 48.729391][ T351] ? printk_get_next_message+0x2fe/0x7d0 [ 48.729394][ T351] ? rcu_read_lock_any_held+0x3c/0x90 [ 48.729397][ T351] ? validate_chain+0x38b/0xc20 [ 48.729401][ T351] hvc_console_print+0x292/0x780 [ 48.729405][ T351] ? __lock_acquire+0x518/0xc20 [ 48.729406][ T351] ? __lock_acquire+0x518/0xc20 [ 48.729410][ T351] ? hvc_write+0x3a0/0x3a0 [ 48.729414][ T351] ? rcu_is_watching+0x16/0xd0 [ 48.729416][ T351] ? lock_acquire+0x13c/0x160 [ 48.729420][ T351] console_emit_next_record+0x252/0x4f0 [ 48.729424][ T351] ? devkmsg_read+0x4e0/0x4e0 [ 48.729428][ T351] ? rcu_is_watching+0x16/0xd0 [ 48.729430][ T351] ? lock_acquire+0x13c/0x160 [ 48.729434][ T351] console_flush_one_record+0x46f/0x710 [ 48.729438][ T351] ? console_emit_next_record+0x4f0/0x4f0 [ 48.729440][ T351] ? __lock_acquire+0x518/0xc20 [ 48.729445][ T351] console_unlock+0xee/0x1f0 [ 48.729447][ T351] ? console_flush_one_record+0x710/0x710 [ 48.729449][ T351] ? rcu_is_watching+0x16/0xd0 [ 48.729451][ T351] ? lock_acquire+0xa0/0x160 [ 48.729455][ T351] ? __down_trylock_console_sem+0x5e/0xa0 [ 48.729456][ T351] ? vprintk_emit+0x320/0x3e0 [ 48.729459][ T351] vprintk_emit+0x37c/0x3e0 [ 48.729463][ T351] ? wake_up_klogd_work_func+0x90/0x90 [ 48.729465][ T351] ? do_raw_spin_unlock+0x59/0x250 [ 48.729467][ T351] ? __lock_acquire+0x518/0xc20 [ 48.729471][ T351] _printk+0xc7/0x100 [ 48.729474][ T351] ? snapshot_read.cold+0x21/0x21 [ 48.729477][ T351] ? do_raw_spin_lock+0x131/0x280 [ 48.729479][ T351] ? __rwlock_init+0x150/0x150 [ 48.729483][ T351] ? do_raw_spin_lock+0x131/0x280 [ 48.729485][ T351] do_exit.cold+0x82/0x9c [ 48.729489][ T351] ? exit_notify+0x890/0x890 [ 48.729491][ T351] ? __lock_release.isra.0+0x69/0x1a0 [ 48.729493][ T351] ? rcu_is_watching+0x16/0xd0 [ 48.729497][ T351] do_group_exit+0xb8/0x370 [ 48.729500][ T351] __x64_sys_exit_group+0x3c/0x50 [ 48.729503][ T351] x64_sys_call+0x1567/0x1570 [ 48.729505][ T351] do_syscall_64+0xff/0x530 [ 48.729509][ T351] ? exc_page_fault+0xee/0x100 [ 48.729512][ T351] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 48.729515][ T351] RIP: 0033:0x7f91ca7d81b8 [ 48.729517][ T351] Code: Unable to access opcode bytes at 0x7f91ca7d818e. [ 48.729518][ T351] RSP: 002b:00007ffecb76c1b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 48.729520][ T351] RAX: ffffffffffffffda RBX: 00007f91ca908f88 RCX: 00007f91ca7d81b8 [ 48.729522][ T351] RDX: 00007f91ca600708 RSI: ffffffffffffff90 RDI: 0000000000000001 [ 48.729523][ T351] RBP: 00007ffecb76c210 R08: 0000000000000000 R09: 0000000000000001 [ 48.729524][ T351] R10: 00007f91cacc23f5 R11: 0000000000000246 R12: 0000000000000002 [ 48.729524][ T351] R13: 0000000000000001 R14: 00007f91ca907680 R15: 00007f91ca908fa0 [ 48.729531][ T351]