[ 35.398623][ T502] socat (502) used greatest stack depth: 20944 bytes left [ 35.398644][ T502] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.398647][ T502] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 502, name: socat [ 35.398648][ T502] preempt_count: 2, expected: 0 [ 35.398649][ T502] RCU nest depth: 0, expected: 0 [ 35.398650][ T502] locks held by socat/502: 5, last CPU#3: [ 35.398652][ T502] #0: ffffffff87a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 35.398665][ T502] #1: ffffffff87b99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.398671][ T502] #2: ffffffff87b99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.398675][ T502] #3: ffffffff87a89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.398679][ T502] #4: ffffffff87a89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 35.398683][ T502] irq event stamp: 75126 [ 35.398683][ T502] hardirqs last enabled at (75125): [] __down_trylock_console_sem+0x86/0xa0 [ 35.398686][ T502] hardirqs last disabled at (75126): [] console_emit_next_record+0x3f8/0x4f0 [ 35.398688][ T502] softirqs last enabled at (74056): [] handle_softirqs+0x67c/0x900 [ 35.398690][ T502] softirqs last disabled at (74049): [] __irq_exit_rcu+0x145/0x1c0 [ 35.398692][ T502] Preemption disabled at: [ 35.398693][ T502] [<0000000000000000>] 0x0 [ 35.398700][ T502] CPU: 3 UID: 0 PID: 502 Comm: socat Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.398703][ T502] Tainted: [W]=WARN [ 35.398704][ T502] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.398706][ T502] Call Trace: [ 35.398708][ T502] [ 35.398709][ T502] dump_stack_lvl+0x6f/0xa0 [ 35.398715][ T502] __might_resched.cold+0x1fe/0x2c1 [ 35.398720][ T502] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.398724][ T502] ? __kmalloc_noprof+0xdb/0x760 [ 35.398729][ T502] __kmalloc_noprof+0x443/0x760 [ 35.398732][ T502] ? alloc_buf.isra.0+0x4b/0x260 [ 35.398738][ T502] ? do_raw_spin_unlock+0x59/0x250 [ 35.398741][ T502] alloc_buf.isra.0+0x4b/0x260 [ 35.398745][ T502] put_chars+0x1e1/0x2f0 [ 35.398748][ T502] ? __send_to_port+0x420/0x420 [ 35.398750][ T502] ? printk_get_next_message+0x2fe/0x7d0 [ 35.398754][ T502] ? rcu_read_lock_any_held+0x3c/0x90 [ 35.398757][ T502] ? validate_chain+0x38b/0xc20 [ 35.398761][ T502] hvc_console_print+0x292/0x780 [ 35.398764][ T502] ? __lock_acquire+0x518/0xc20 [ 35.398766][ T502] ? __lock_acquire+0x518/0xc20 [ 35.398770][ T502] ? hvc_write+0x3a0/0x3a0 [ 35.398774][ T502] ? rcu_is_watching+0x16/0xd0 [ 35.398777][ T502] ? lock_acquire+0x13c/0x160 [ 35.398780][ T502] console_emit_next_record+0x252/0x4f0 [ 35.398784][ T502] ? devkmsg_read+0x4e0/0x4e0 [ 35.398789][ T502] ? rcu_is_watching+0x16/0xd0 [ 35.398791][ T502] ? lock_acquire+0x13c/0x160 [ 35.398795][ T502] console_flush_one_record+0x46f/0x710 [ 35.398799][ T502] ? console_emit_next_record+0x4f0/0x4f0 [ 35.398801][ T502] ? __lock_acquire+0x518/0xc20 [ 35.398806][ T502] console_unlock+0xee/0x1f0 [ 35.398809][ T502] ? console_flush_one_record+0x710/0x710 [ 35.398811][ T502] ? rcu_is_watching+0x16/0xd0 [ 35.398813][ T502] ? lock_acquire+0xa0/0x160 [ 35.398816][ T502] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.398818][ T502] ? vprintk_emit+0x320/0x3e0 [ 35.398821][ T502] vprintk_emit+0x37c/0x3e0 [ 35.398825][ T502] ? wake_up_klogd_work_func+0x90/0x90 [ 35.398828][ T502] ? __lock_acquire+0x518/0xc20 [ 35.398832][ T502] _printk+0xc7/0x100 [ 35.398836][ T502] ? snapshot_read.cold+0x21/0x21 [ 35.398838][ T502] ? do_raw_spin_lock+0x131/0x280 [ 35.398841][ T502] ? __rwlock_init+0x150/0x150 [ 35.398845][ T502] ? do_raw_spin_lock+0x131/0x280 [ 35.398847][ T502] do_exit.cold+0x82/0x9c [ 35.398851][ T502] ? exit_notify+0x890/0x890 [ 35.398853][ T502] ? __lock_release.isra.0+0x69/0x1a0 [ 35.398856][ T502] ? rcu_is_watching+0x16/0xd0 [ 35.398860][ T502] do_group_exit+0xb8/0x370 [ 35.398863][ T502] __x64_sys_exit_group+0x3c/0x50 [ 35.398866][ T502] x64_sys_call+0x1567/0x1570 [ 35.398868][ T502] do_syscall_64+0xff/0x530 [ 35.398872][ T502] ? exc_page_fault+0xee/0x100 [ 35.398876][ T502] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.398878][ T502] RIP: 0033:0x7ff2b42d11b8 [ 35.398880][ T502] Code: Unable to access opcode bytes at 0x7ff2b42d118e. [ 35.398881][ T502] RSP: 002b:00007fff9e315b98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 35.398884][ T502] RAX: ffffffffffffffda RBX: 00007ff2b4401f88 RCX: 00007ff2b42d11b8 [ 35.398886][ T502] RDX: 00007ff2b41b6e88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 35.398887][ T502] RBP: 00007fff9e315bf0 R08: 0000000000000000 R09: 0000000000004010 [ 35.398888][ T502] R10: 00007fff9e3159f0 R11: 0000000000000246 R12: 0000000000000003 [ 35.398889][ T502] R13: 0000000000000000 R14: 00007ff2b4400680 R15: 00007ff2b4401fa0 [ 35.398895][ T502]