[ 51.075391][ T264] tc (264) used greatest stack depth: 23808 bytes left [ 51.075408][ T264] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 51.075410][ T264] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 264, name: tc [ 51.075411][ T264] preempt_count: 2, expected: 0 [ 51.075412][ T264] RCU nest depth: 0, expected: 0 [ 51.075413][ T264] locks held by tc/264: 5, last CPU#3: [ 51.075415][ T264] #0: ffffffffbba027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 51.075428][ T264] #1: ffffffffbbb99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 51.075434][ T264] #2: ffffffffbbb99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 51.075438][ T264] #3: ffffffffbba89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 51.075441][ T264] #4: ffffffffbba89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 51.075445][ T264] irq event stamp: 24438 [ 51.075446][ T264] hardirqs last enabled at (24437): [] __down_trylock_console_sem+0x86/0xa0 [ 51.075449][ T264] hardirqs last disabled at (24438): [] console_emit_next_record+0x3f8/0x4f0 [ 51.075451][ T264] softirqs last enabled at (24370): [] handle_softirqs+0x67c/0x900 [ 51.075453][ T264] softirqs last disabled at (24361): [] __irq_exit_rcu+0x145/0x1c0 [ 51.075456][ T264] Preemption disabled at: [ 51.075456][ T264] [<0000000000000000>] 0x0 [ 51.075463][ T264] CPU: 3 UID: 0 PID: 264 Comm: tc Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 51.075467][ T264] Tainted: [W]=WARN [ 51.075468][ T264] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 51.075470][ T264] Call Trace: [ 51.075471][ T264] [ 51.075473][ T264] dump_stack_lvl+0x6f/0xa0 [ 51.075480][ T264] __might_resched.cold+0x1fe/0x2c1 [ 51.075485][ T264] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 51.075489][ T264] ? __kmalloc_noprof+0xdb/0x760 [ 51.075494][ T264] __kmalloc_noprof+0x443/0x760 [ 51.075497][ T264] ? alloc_buf.isra.0+0x4b/0x260 [ 51.075503][ T264] ? do_raw_spin_unlock+0x59/0x250 [ 51.075506][ T264] alloc_buf.isra.0+0x4b/0x260 [ 51.075510][ T264] put_chars+0x1e1/0x2f0 [ 51.075513][ T264] ? __send_to_port+0x420/0x420 [ 51.075515][ T264] ? printk_get_next_message+0x2fe/0x7d0 [ 51.075519][ T264] ? rcu_read_lock_any_held+0x3c/0x90 [ 51.075522][ T264] ? validate_chain+0x38b/0xc20 [ 51.075526][ T264] hvc_console_print+0x292/0x780 [ 51.075530][ T264] ? __lock_acquire+0x518/0xc20 [ 51.075531][ T264] ? __lock_acquire+0x518/0xc20 [ 51.075536][ T264] ? hvc_write+0x3a0/0x3a0 [ 51.075539][ T264] ? rcu_is_watching+0x16/0xd0 [ 51.075543][ T264] ? lock_acquire+0x13c/0x160 [ 51.075547][ T264] console_emit_next_record+0x252/0x4f0 [ 51.075551][ T264] ? devkmsg_read+0x4e0/0x4e0 [ 51.075555][ T264] ? rcu_is_watching+0x16/0xd0 [ 51.075557][ T264] ? lock_acquire+0x13c/0x160 [ 51.075561][ T264] console_flush_one_record+0x46f/0x710 [ 51.075565][ T264] ? console_emit_next_record+0x4f0/0x4f0 [ 51.075567][ T264] ? __lock_acquire+0x518/0xc20 [ 51.075572][ T264] console_unlock+0xee/0x1f0 [ 51.075575][ T264] ? console_flush_one_record+0x710/0x710 [ 51.075577][ T264] ? rcu_is_watching+0x16/0xd0 [ 51.075579][ T264] ? lock_acquire+0xa0/0x160 [ 51.075583][ T264] ? __down_trylock_console_sem+0x5e/0xa0 [ 51.075585][ T264] ? vprintk_emit+0x320/0x3e0 [ 51.075588][ T264] vprintk_emit+0x37c/0x3e0 [ 51.075592][ T264] ? wake_up_klogd_work_func+0x90/0x90 [ 51.075596][ T264] ? __lock_acquire+0x518/0xc20 [ 51.075599][ T264] _printk+0xc7/0x100 [ 51.075603][ T264] ? snapshot_read.cold+0x21/0x21 [ 51.075606][ T264] ? do_raw_spin_lock+0x131/0x280 [ 51.075608][ T264] ? __rwlock_init+0x150/0x150 [ 51.075612][ T264] ? do_raw_spin_lock+0x131/0x280 [ 51.075615][ T264] do_exit.cold+0x82/0x9c [ 51.075619][ T264] ? exit_notify+0x890/0x890 [ 51.075620][ T264] ? __lock_release.isra.0+0x69/0x1a0 [ 51.075623][ T264] ? rcu_is_watching+0x16/0xd0 [ 51.075627][ T264] do_group_exit+0xb8/0x370 [ 51.075630][ T264] __x64_sys_exit_group+0x3c/0x50 [ 51.075632][ T264] x64_sys_call+0x1567/0x1570 [ 51.075634][ T264] do_syscall_64+0xff/0x530 [ 51.075638][ T264] ? exc_page_fault+0xee/0x100 [ 51.075641][ T264] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 51.075644][ T264] RIP: 0033:0x7f2d8b6f71b8 [ 51.075646][ T264] Code: Unable to access opcode bytes at 0x7f2d8b6f718e. [ 51.075647][ T264] RSP: 002b:00007fff3cd98348 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 51.075650][ T264] RAX: ffffffffffffffda RBX: 00007f2d8b827f88 RCX: 00007f2d8b6f71b8 [ 51.075651][ T264] RDX: 00007f2d8b442588 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 51.075652][ T264] RBP: 00007fff3cd983a0 R08: 0000000000000000 R09: 0000000000000000 [ 51.075653][ T264] R10: 00007fff3cd98140 R11: 0000000000000246 R12: 0000000000000001 [ 51.075654][ T264] R13: 0000000000000000 R14: 00007f2d8b826680 R15: 00007f2d8b827fa0 [ 51.075661][ T264]