[ 31.344649][ T854] tls (854) used greatest stack depth: 24112 bytes left [ 31.344668][ T854] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.344670][ T854] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 854, name: tls [ 31.344671][ T854] preempt_count: 2, expected: 0 [ 31.344672][ T854] RCU nest depth: 0, expected: 0 [ 31.344673][ T854] locks held by tls/854: 5, last CPU#0: [ 31.344675][ T854] #0: ffffffff8bc167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 31.344686][ T854] #1: ffffffff8bd7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.344691][ T854] #2: ffffffff8bd7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.344695][ T854] #3: ffffffff8bc9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.344699][ T854] #4: ffffffff8bc9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 31.344703][ T854] irq event stamp: 250398 [ 31.344704][ T854] hardirqs last enabled at (250397): [] __down_trylock_console_sem+0x86/0xa0 [ 31.344707][ T854] hardirqs last disabled at (250398): [] console_emit_next_record+0x3d4/0x4c0 [ 31.344709][ T854] softirqs last enabled at (246924): [] handle_softirqs+0x67c/0x900 [ 31.344712][ T854] softirqs last disabled at (246919): [] __irq_exit_rcu+0x145/0x1c0 [ 31.344714][ T854] Preemption disabled at: [ 31.344715][ T854] [<0000000000000000>] 0x0 [ 31.344722][ T854] CPU: 0 UID: 0 PID: 854 Comm: tls Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.344726][ T854] Tainted: [W]=WARN [ 31.344726][ T854] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.344728][ T854] Call Trace: [ 31.344729][ T854] [ 31.344731][ T854] dump_stack_lvl+0x6f/0xa0 [ 31.344737][ T854] __might_resched.cold+0x1fe/0x2c1 [ 31.344742][ T854] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.344746][ T854] ? __kmalloc_noprof+0xdb/0x760 [ 31.344750][ T854] __kmalloc_noprof+0x443/0x760 [ 31.344752][ T854] ? alloc_buf.isra.0+0x4b/0x260 [ 31.344758][ T854] ? do_raw_spin_unlock+0x59/0x250 [ 31.344761][ T854] alloc_buf.isra.0+0x4b/0x260 [ 31.344765][ T854] put_chars+0x1e1/0x2f0 [ 31.344767][ T854] ? __send_to_port+0x420/0x420 [ 31.344768][ T854] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.344772][ T854] ? validate_chain+0x38b/0xc20 [ 31.344777][ T854] hvc_console_print+0x292/0x780 [ 31.344785][ T854] ? hvc_write+0x3a0/0x3a0 [ 31.344787][ T854] ? rcu_is_watching+0x16/0xd0 [ 31.344789][ T854] ? lock_acquire+0x13c/0x160 [ 31.344793][ T854] console_emit_next_record+0x22f/0x4c0 [ 31.344797][ T854] ? devkmsg_read+0x4b0/0x4b0 [ 31.344799][ T854] ? console_flush_one_record+0x106/0x710 [ 31.344802][ T854] ? rcu_is_watching+0x16/0xd0 [ 31.344804][ T854] ? lock_acquire+0x13c/0x160 [ 31.344807][ T854] console_flush_one_record+0x46f/0x710 [ 31.344812][ T854] ? console_emit_next_record+0x4c0/0x4c0 [ 31.344813][ T854] ? __lock_acquire+0x518/0xc20 [ 31.344819][ T854] console_unlock+0xee/0x1f0 [ 31.344821][ T854] ? console_flush_one_record+0x710/0x710 [ 31.344823][ T854] ? rcu_is_watching+0x16/0xd0 [ 31.344825][ T854] ? lock_acquire+0xe0/0x160 [ 31.344829][ T854] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.344830][ T854] ? vprintk_emit+0x320/0x3e0 [ 31.344833][ T854] vprintk_emit+0x37c/0x3e0 [ 31.344836][ T854] ? wake_up_klogd_work_func+0x90/0x90 [ 31.344839][ T854] ? __lock_acquire+0x518/0xc20 [ 31.344842][ T854] _printk+0xc7/0x100 [ 31.344846][ T854] ? snapshot_read.cold+0x21/0x21 [ 31.344849][ T854] ? do_raw_spin_lock+0x131/0x280 [ 31.344851][ T854] ? __rwlock_init+0x150/0x150 [ 31.344855][ T854] ? do_raw_spin_lock+0x131/0x280 [ 31.344858][ T854] do_exit.cold+0x82/0x9c [ 31.344861][ T854] ? exit_notify+0x890/0x890 [ 31.344863][ T854] ? __lock_release.isra.0+0x69/0x1a0 [ 31.344865][ T854] ? rcu_is_watching+0x16/0xd0 [ 31.344869][ T854] do_group_exit+0xb8/0x370 [ 31.344872][ T854] __x64_sys_exit_group+0x3c/0x50 [ 31.344873][ T854] x64_sys_call+0x1567/0x1570 [ 31.344876][ T854] do_syscall_64+0xff/0x530 [ 31.344880][ T854] ? exc_page_fault+0xee/0x100 [ 31.344883][ T854] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.344885][ T854] RIP: 0033:0x7fb00dfd01b8 [ 31.344887][ T854] Code: Unable to access opcode bytes at 0x7fb00dfd018e. [ 31.344888][ T854] RSP: 002b:00007ffee30b0868 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7 [ 31.344890][ T854] RAX: ffffffffffffffda RBX: 00007fb00ded6000 RCX: 00007fb00dfd01b8 [ 31.344892][ T854] RDX: 00007ffee30b0884 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 31.344893][ T854] RBP: 00007ffee30b0884 R08: 00007fb00e100b20 R09: 0000000000000000 [ 31.344893][ T854] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000042fbe0 [ 31.344894][ T854] R13: 000000000042fca0 R14: 00000000000000cb R15: 00007fb00ded6000 [ 31.344901][ T854]