[ 32.509295][ T156] ksft_runner.sh (156) used greatest stack depth: 23392 bytes left [ 32.509313][ T156] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.509316][ T156] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 156, name: ksft_runner.sh [ 32.509317][ T156] preempt_count: 2, expected: 0 [ 32.509318][ T156] RCU nest depth: 0, expected: 0 [ 32.509319][ T156] locks held by ksft_runner.sh/156: 5, last CPU#1: [ 32.509322][ T156] #0: ffffffffa34027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 32.509334][ T156] #1: ffffffffa3569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.509339][ T156] #2: ffffffffa3569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.509343][ T156] #3: ffffffffa3489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.509346][ T156] #4: ffffffffa3489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 32.509349][ T156] irq event stamp: 31084 [ 32.509350][ T156] hardirqs last enabled at (31083): [] __down_trylock_console_sem+0x86/0xa0 [ 32.509353][ T156] hardirqs last disabled at (31084): [] console_emit_next_record+0x3d4/0x4c0 [ 32.509355][ T156] softirqs last enabled at (28668): [] restore_fpregs_from_user+0x1cf/0x490 [ 32.509359][ T156] softirqs last disabled at (28666): [] restore_fpregs_from_user+0xc3/0x490 [ 32.509362][ T156] Preemption disabled at: [ 32.509363][ T156] [<0000000000000000>] 0x0 [ 32.509369][ T156] CPU: 1 UID: 0 PID: 156 Comm: ksft_runner.sh Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.509373][ T156] Tainted: [W]=WARN [ 32.509374][ T156] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.509375][ T156] Call Trace: [ 32.509377][ T156] [ 32.509379][ T156] dump_stack_lvl+0x6f/0xa0 [ 32.509384][ T156] __might_resched.cold+0x1fe/0x2c1 [ 32.509388][ T156] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.509391][ T156] ? __kmalloc_noprof+0xdb/0x760 [ 32.509397][ T156] __kmalloc_noprof+0x443/0x760 [ 32.509399][ T156] ? alloc_buf.isra.0+0x4b/0x260 [ 32.509405][ T156] ? do_raw_spin_unlock+0x59/0x250 [ 32.509408][ T156] alloc_buf.isra.0+0x4b/0x260 [ 32.509412][ T156] put_chars+0x1e1/0x2f0 [ 32.509414][ T156] ? __send_to_port+0x420/0x420 [ 32.509416][ T156] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 32.509420][ T156] ? validate_chain+0x38b/0xc20 [ 32.509425][ T156] hvc_console_print+0x292/0x780 [ 32.509432][ T156] ? hvc_write+0x3a0/0x3a0 [ 32.509434][ T156] ? rcu_is_watching+0x16/0xd0 [ 32.509436][ T156] ? lock_acquire+0x13c/0x160 [ 32.509440][ T156] console_emit_next_record+0x22f/0x4c0 [ 32.509444][ T156] ? devkmsg_read+0x4b0/0x4b0 [ 32.509445][ T156] ? console_flush_one_record+0x106/0x710 [ 32.509447][ T156] ? rcu_is_watching+0x16/0xd0 [ 32.509449][ T156] ? lock_acquire+0x13c/0x160 [ 32.509453][ T156] console_flush_one_record+0x46f/0x710 [ 32.509457][ T156] ? console_emit_next_record+0x4c0/0x4c0 [ 32.509458][ T156] ? __lock_acquire+0x518/0xc20 [ 32.509463][ T156] console_unlock+0xee/0x1f0 [ 32.509465][ T156] ? console_flush_one_record+0x710/0x710 [ 32.509467][ T156] ? rcu_is_watching+0x16/0xd0 [ 32.509469][ T156] ? lock_acquire+0x60/0x160 [ 32.509472][ T156] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.509474][ T156] ? vprintk_emit+0x320/0x3e0 [ 32.509477][ T156] vprintk_emit+0x37c/0x3e0 [ 32.509480][ T156] ? wake_up_klogd_work_func+0x90/0x90 [ 32.509483][ T156] ? __lock_acquire+0x518/0xc20 [ 32.509487][ T156] _printk+0xc7/0x100 [ 32.509491][ T156] ? snapshot_read.cold+0x21/0x21 [ 32.509494][ T156] ? do_raw_spin_lock+0x131/0x280 [ 32.509496][ T156] ? __rwlock_init+0x150/0x150 [ 32.509500][ T156] ? do_raw_spin_lock+0x131/0x280 [ 32.509503][ T156] do_exit.cold+0x82/0x9c [ 32.509507][ T156] ? exit_notify+0x890/0x890 [ 32.509508][ T156] ? __lock_release.isra.0+0x69/0x1a0 [ 32.509511][ T156] ? rcu_is_watching+0x16/0xd0 [ 32.509514][ T156] do_group_exit+0xb8/0x370 [ 32.509517][ T156] __x64_sys_exit_group+0x3c/0x50 [ 32.509519][ T156] x64_sys_call+0x1567/0x1570 [ 32.509522][ T156] do_syscall_64+0xff/0x530 [ 32.509526][ T156] ? exc_page_fault+0xee/0x100 [ 32.509529][ T156] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.509531][ T156] RIP: 0033:0x7fc13c2341b8 [ 32.509533][ T156] Code: Unable to access opcode bytes at 0x7fc13c23418e. [ 32.509534][ T156] RSP: 002b:00007fff2dea70f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 32.509537][ T156] RAX: ffffffffffffffda RBX: 00007fc13c364f88 RCX: 00007fc13c2341b8 [ 32.509538][ T156] RDX: 00007fc13c172e88 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 32.509539][ T156] RBP: 00007fff2dea7150 R08: 0000000000000000 R09: 0000000000000000 [ 32.509540][ T156] R10: 00007fff2dea6f90 R11: 0000000000000246 R12: 0000000000000001 [ 32.509541][ T156] R13: 0000000000000000 R14: 00007fc13c363680 R15: 00007fc13c364fa0 [ 32.509547][ T156]