[ 13.217556][ T264] tc (264) used greatest stack depth: 23776 bytes left [ 13.217573][ T264] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.217575][ T264] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 264, name: tc [ 13.217577][ T264] preempt_count: 2, expected: 0 [ 13.217577][ T264] RCU nest depth: 0, expected: 0 [ 13.217579][ T264] locks held by tc/264: 5, last CPU#2: [ 13.217581][ T264] #0: ffffffff9c0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.217593][ T264] #1: ffffffff9c169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.217598][ T264] #2: ffffffff9c169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.217602][ T264] #3: ffffffff9c089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.217605][ T264] #4: ffffffff9c089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.217609][ T264] irq event stamp: 27486 [ 13.217609][ T264] hardirqs last enabled at (27485): [] __down_trylock_console_sem+0x86/0xa0 [ 13.217613][ T264] hardirqs last disabled at (27486): [] console_emit_next_record+0x3d4/0x4c0 [ 13.217615][ T264] softirqs last enabled at (26966): [] handle_softirqs+0x67c/0x900 [ 13.217617][ T264] softirqs last disabled at (26959): [] __irq_exit_rcu+0x145/0x1c0 [ 13.217619][ T264] Preemption disabled at: [ 13.217620][ T264] [<0000000000000000>] 0x0 [ 13.217627][ T264] CPU: 2 UID: 0 PID: 264 Comm: tc Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.217630][ T264] Tainted: [W]=WARN [ 13.217631][ T264] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.217633][ T264] Call Trace: [ 13.217635][ T264] [ 13.217636][ T264] dump_stack_lvl+0x6f/0xa0 [ 13.217642][ T264] __might_resched.cold+0x1fe/0x2c1 [ 13.217646][ T264] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.217650][ T264] ? __kmalloc_noprof+0xdb/0x760 [ 13.217655][ T264] __kmalloc_noprof+0x443/0x760 [ 13.217657][ T264] ? alloc_buf.isra.0+0x4b/0x260 [ 13.217664][ T264] ? do_raw_spin_unlock+0x59/0x250 [ 13.217669][ T264] alloc_buf.isra.0+0x4b/0x260 [ 13.217673][ T264] put_chars+0x1e1/0x2f0 [ 13.217676][ T264] ? __send_to_port+0x420/0x420 [ 13.217678][ T264] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.217682][ T264] ? validate_chain+0x38b/0xc20 [ 13.217687][ T264] hvc_console_print+0x292/0x780 [ 13.217694][ T264] ? hvc_write+0x3a0/0x3a0 [ 13.217697][ T264] ? rcu_is_watching+0x16/0xd0 [ 13.217699][ T264] ? lock_acquire+0x13c/0x160 [ 13.217703][ T264] console_emit_next_record+0x22f/0x4c0 [ 13.217706][ T264] ? devkmsg_read+0x4b0/0x4b0 [ 13.217708][ T264] ? console_flush_one_record+0x106/0x710 [ 13.217710][ T264] ? rcu_is_watching+0x16/0xd0 [ 13.217712][ T264] ? lock_acquire+0x13c/0x160 [ 13.217716][ T264] console_flush_one_record+0x46f/0x710 [ 13.217720][ T264] ? console_emit_next_record+0x4c0/0x4c0 [ 13.217721][ T264] ? __lock_acquire+0x518/0xc20 [ 13.217727][ T264] console_unlock+0xee/0x1f0 [ 13.217729][ T264] ? console_flush_one_record+0x710/0x710 [ 13.217730][ T264] ? rcu_is_watching+0x16/0xd0 [ 13.217732][ T264] ? lock_acquire+0x60/0x160 [ 13.217736][ T264] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.217738][ T264] ? vprintk_emit+0x320/0x3e0 [ 13.217741][ T264] vprintk_emit+0x37c/0x3e0 [ 13.217744][ T264] ? wake_up_klogd_work_func+0x90/0x90 [ 13.217747][ T264] ? __lock_acquire+0x518/0xc20 [ 13.217751][ T264] _printk+0xc7/0x100 [ 13.217755][ T264] ? snapshot_read.cold+0x21/0x21 [ 13.217758][ T264] ? do_raw_spin_lock+0x131/0x280 [ 13.217761][ T264] ? __rwlock_init+0x150/0x150 [ 13.217769][ T264] ? do_raw_spin_lock+0x131/0x280 [ 13.217772][ T264] do_exit.cold+0x82/0x9c [ 13.217775][ T264] ? exit_notify+0x890/0x890 [ 13.217777][ T264] ? __lock_release.isra.0+0x69/0x1a0 [ 13.217780][ T264] ? rcu_is_watching+0x16/0xd0 [ 13.217784][ T264] do_group_exit+0xb8/0x370 [ 13.217787][ T264] __x64_sys_exit_group+0x3c/0x50 [ 13.217789][ T264] x64_sys_call+0x1567/0x1570 [ 13.217792][ T264] do_syscall_64+0xff/0x530 [ 13.217796][ T264] ? exc_page_fault+0xee/0x100 [ 13.217799][ T264] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.217802][ T264] RIP: 0033:0x7f9dfb0b61b8 [ 13.217804][ T264] Code: Unable to access opcode bytes at 0x7f9dfb0b618e. [ 13.217805][ T264] RSP: 002b:00007fffa99d3a88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.217807][ T264] RAX: ffffffffffffffda RBX: 00007f9dfb1e6f88 RCX: 00007f9dfb0b61b8 [ 13.217808][ T264] RDX: 00007f9dfae01588 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.217809][ T264] RBP: 00007fffa99d3ae0 R08: 0000000000000000 R09: 0000000000000000 [ 13.217810][ T264] R10: 00007fffa99d3880 R11: 0000000000000246 R12: 0000000000000001 [ 13.217811][ T264] R13: 0000000000000000 R14: 00007f9dfb1e5680 R15: 00007f9dfb1e6fa0 [ 13.217818][ T264]