[ 13.096389][ T266] tc (266) used greatest stack depth: 24352 bytes left [ 13.096409][ T266] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.096411][ T266] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 266, name: tc [ 13.096413][ T266] preempt_count: 2, expected: 0 [ 13.096414][ T266] RCU nest depth: 0, expected: 0 [ 13.096415][ T266] locks held by tc/266: 5, last CPU#1: [ 13.096417][ T266] #0: ffffffffb74027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.096429][ T266] #1: ffffffffb7569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.096435][ T266] #2: ffffffffb7569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.096438][ T266] #3: ffffffffb7489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.096442][ T266] #4: ffffffffb7489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.096445][ T266] irq event stamp: 27362 [ 13.096446][ T266] hardirqs last enabled at (27361): [] __down_trylock_console_sem+0x86/0xa0 [ 13.096450][ T266] hardirqs last disabled at (27362): [] console_emit_next_record+0x3d4/0x4c0 [ 13.096451][ T266] softirqs last enabled at (26754): [] handle_softirqs+0x67c/0x900 [ 13.096453][ T266] softirqs last disabled at (26749): [] __irq_exit_rcu+0x145/0x1c0 [ 13.096456][ T266] Preemption disabled at: [ 13.096457][ T266] [<0000000000000000>] 0x0 [ 13.096463][ T266] CPU: 1 UID: 0 PID: 266 Comm: tc Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.096467][ T266] Tainted: [W]=WARN [ 13.096468][ T266] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.096469][ T266] Call Trace: [ 13.096471][ T266] [ 13.096473][ T266] dump_stack_lvl+0x6f/0xa0 [ 13.096478][ T266] __might_resched.cold+0x1fe/0x2c1 [ 13.096483][ T266] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.096486][ T266] ? __kmalloc_noprof+0xdb/0x760 [ 13.096491][ T266] __kmalloc_noprof+0x443/0x760 [ 13.096493][ T266] ? alloc_buf.isra.0+0x4b/0x260 [ 13.096499][ T266] ? do_raw_spin_unlock+0x59/0x250 [ 13.096502][ T266] alloc_buf.isra.0+0x4b/0x260 [ 13.096505][ T266] put_chars+0x1e1/0x2f0 [ 13.096508][ T266] ? __send_to_port+0x420/0x420 [ 13.096510][ T266] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.096514][ T266] ? validate_chain+0x38b/0xc20 [ 13.096519][ T266] hvc_console_print+0x292/0x780 [ 13.096526][ T266] ? hvc_write+0x3a0/0x3a0 [ 13.096528][ T266] ? rcu_is_watching+0x16/0xd0 [ 13.096530][ T266] ? lock_acquire+0x13c/0x160 [ 13.096535][ T266] console_emit_next_record+0x22f/0x4c0 [ 13.096540][ T266] ? devkmsg_read+0x4b0/0x4b0 [ 13.096542][ T266] ? console_flush_one_record+0x106/0x710 [ 13.096546][ T266] ? rcu_is_watching+0x16/0xd0 [ 13.096549][ T266] ? lock_acquire+0x13c/0x160 [ 13.096555][ T266] console_flush_one_record+0x46f/0x710 [ 13.096561][ T266] ? console_emit_next_record+0x4c0/0x4c0 [ 13.096563][ T266] ? __lock_acquire+0x518/0xc20 [ 13.096569][ T266] console_unlock+0xee/0x1f0 [ 13.096577][ T266] ? console_flush_one_record+0x710/0x710 [ 13.096579][ T266] ? rcu_is_watching+0x16/0xd0 [ 13.096580][ T266] ? lock_acquire+0x60/0x160 [ 13.096584][ T266] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.096586][ T266] ? vprintk_emit+0x320/0x3e0 [ 13.096589][ T266] vprintk_emit+0x37c/0x3e0 [ 13.096592][ T266] ? wake_up_klogd_work_func+0x90/0x90 [ 13.096595][ T266] ? __lock_acquire+0x518/0xc20 [ 13.096599][ T266] _printk+0xc7/0x100 [ 13.096603][ T266] ? snapshot_read.cold+0x21/0x21 [ 13.096605][ T266] ? do_raw_spin_lock+0x131/0x280 [ 13.096608][ T266] ? __rwlock_init+0x150/0x150 [ 13.096612][ T266] ? do_raw_spin_lock+0x131/0x280 [ 13.096615][ T266] do_exit.cold+0x82/0x9c [ 13.096618][ T266] ? exit_notify+0x890/0x890 [ 13.096620][ T266] ? __lock_release.isra.0+0x69/0x1a0 [ 13.096623][ T266] ? rcu_is_watching+0x16/0xd0 [ 13.096626][ T266] do_group_exit+0xb8/0x370 [ 13.096629][ T266] __x64_sys_exit_group+0x3c/0x50 [ 13.096631][ T266] x64_sys_call+0x1567/0x1570 [ 13.096634][ T266] do_syscall_64+0xff/0x530 [ 13.096638][ T266] ? exc_page_fault+0xee/0x100 [ 13.096640][ T266] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.096643][ T266] RIP: 0033:0x7ff5a99491b8 [ 13.096645][ T266] Code: Unable to access opcode bytes at 0x7ff5a994918e. [ 13.096646][ T266] RSP: 002b:00007ffc0c0d5458 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.096649][ T266] RAX: ffffffffffffffda RBX: 00007ff5a9a79f88 RCX: 00007ff5a99491b8 [ 13.096650][ T266] RDX: 00007ff5a9694588 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.096651][ T266] RBP: 00007ffc0c0d54b0 R08: 0000000000000000 R09: 0000000000000000 [ 13.096652][ T266] R10: 00007ffc0c0d5250 R11: 0000000000000246 R12: 0000000000000001 [ 13.096653][ T266] R13: 0000000000000000 R14: 00007ff5a9a78680 R15: 00007ff5a9a79fa0 [ 13.096659][ T266]