[ 38.694798][ T1048] tls (1048) used greatest stack depth: 24192 bytes left [ 38.694819][ T1048] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 38.694821][ T1048] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1048, name: tls [ 38.694823][ T1048] preempt_count: 2, expected: 0 [ 38.694824][ T1048] RCU nest depth: 0, expected: 0 [ 38.694825][ T1048] locks held by tls/1048: 5, last CPU#1: [ 38.694827][ T1048] #0: ffffffff942167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 38.694838][ T1048] #1: ffffffff9437ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 38.694843][ T1048] #2: ffffffff9437de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 38.694847][ T1048] #3: ffffffff9429d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 38.694850][ T1048] #4: ffffffff9429d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 38.694855][ T1048] irq event stamp: 63724 [ 38.694856][ T1048] hardirqs last enabled at (63723): [] __down_trylock_console_sem+0x86/0xa0 [ 38.694859][ T1048] hardirqs last disabled at (63724): [] console_emit_next_record+0x3d4/0x4c0 [ 38.694861][ T1048] softirqs last enabled at (61110): [] handle_softirqs+0x67c/0x900 [ 38.694864][ T1048] softirqs last disabled at (60837): [] __irq_exit_rcu+0x145/0x1c0 [ 38.694866][ T1048] Preemption disabled at: [ 38.694867][ T1048] [<0000000000000000>] 0x0 [ 38.694874][ T1048] CPU: 1 UID: 0 PID: 1048 Comm: tls Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 38.694877][ T1048] Tainted: [W]=WARN [ 38.694878][ T1048] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 38.694880][ T1048] Call Trace: [ 38.694882][ T1048] [ 38.694883][ T1048] dump_stack_lvl+0x6f/0xa0 [ 38.694890][ T1048] __might_resched.cold+0x1fe/0x2c1 [ 38.694895][ T1048] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 38.694899][ T1048] ? __kmalloc_noprof+0xdb/0x760 [ 38.694903][ T1048] __kmalloc_noprof+0x443/0x760 [ 38.694905][ T1048] ? alloc_buf.isra.0+0x4b/0x260 [ 38.694912][ T1048] ? do_raw_spin_unlock+0x59/0x250 [ 38.694914][ T1048] alloc_buf.isra.0+0x4b/0x260 [ 38.694918][ T1048] put_chars+0x1e1/0x2f0 [ 38.694921][ T1048] ? __send_to_port+0x420/0x420 [ 38.694922][ T1048] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 38.694925][ T1048] ? validate_chain+0x38b/0xc20 [ 38.694931][ T1048] hvc_console_print+0x292/0x780 [ 38.694938][ T1048] ? hvc_write+0x3a0/0x3a0 [ 38.694941][ T1048] ? rcu_is_watching+0x16/0xd0 [ 38.694943][ T1048] ? lock_acquire+0x13c/0x160 [ 38.694947][ T1048] console_emit_next_record+0x22f/0x4c0 [ 38.694951][ T1048] ? devkmsg_read+0x4b0/0x4b0 [ 38.694953][ T1048] ? console_flush_one_record+0x106/0x710 [ 38.694956][ T1048] ? rcu_is_watching+0x16/0xd0 [ 38.694957][ T1048] ? lock_acquire+0x13c/0x160 [ 38.694961][ T1048] console_flush_one_record+0x46f/0x710 [ 38.694965][ T1048] ? console_emit_next_record+0x4c0/0x4c0 [ 38.694967][ T1048] ? __lock_acquire+0x518/0xc20 [ 38.694972][ T1048] console_unlock+0xee/0x1f0 [ 38.694975][ T1048] ? console_flush_one_record+0x710/0x710 [ 38.694977][ T1048] ? rcu_is_watching+0x16/0xd0 [ 38.694979][ T1048] ? lock_acquire+0xe0/0x160 [ 38.694982][ T1048] ? __down_trylock_console_sem+0x5e/0xa0 [ 38.694984][ T1048] ? vprintk_emit+0x320/0x3e0 [ 38.694987][ T1048] vprintk_emit+0x37c/0x3e0 [ 38.694990][ T1048] ? wake_up_klogd_work_func+0x90/0x90 [ 38.694992][ T1048] ? __lock_acquire+0x518/0xc20 [ 38.694996][ T1048] _printk+0xc7/0x100 [ 38.695000][ T1048] ? snapshot_read.cold+0x21/0x21 [ 38.695002][ T1048] ? do_raw_spin_lock+0x131/0x280 [ 38.695005][ T1048] ? __rwlock_init+0x150/0x150 [ 38.695009][ T1048] ? do_raw_spin_lock+0x131/0x280 [ 38.695012][ T1048] do_exit.cold+0x82/0x9c [ 38.695015][ T1048] ? exit_notify+0x890/0x890 [ 38.695017][ T1048] ? __lock_release.isra.0+0x69/0x1a0 [ 38.695019][ T1048] ? rcu_is_watching+0x16/0xd0 [ 38.695023][ T1048] do_group_exit+0xb8/0x370 [ 38.695026][ T1048] __x64_sys_exit_group+0x3c/0x50 [ 38.695027][ T1048] x64_sys_call+0x1567/0x1570 [ 38.695030][ T1048] do_syscall_64+0xff/0x530 [ 38.695034][ T1048] ? exc_page_fault+0xee/0x100 [ 38.695037][ T1048] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 38.695039][ T1048] RIP: 0033:0x7f57e49221b8 [ 38.695042][ T1048] Code: Unable to access opcode bytes at 0x7f57e492218e. [ 38.695043][ T1048] RSP: 002b:00007ffcafb368f8 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7 [ 38.695045][ T1048] RAX: ffffffffffffffda RBX: 00007f57e4829000 RCX: 00007f57e49221b8 [ 38.695046][ T1048] RDX: 0000000000000003 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 38.695047][ T1048] RBP: 00007ffcafb36914 R08: 0000000000000000 R09: 0000000000000000 [ 38.695048][ T1048] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000042fba0 [ 38.695049][ T1048] R13: 000000000042fca0 R14: 000000000000010e R15: 00007f57e4829000 [ 38.695056][ T1048]