[ 8.901577][ T131] sed (131) used greatest stack depth: 24704 bytes left [ 8.901596][ T131] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.901599][ T131] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 131, name: sed [ 8.901600][ T131] preempt_count: 2, expected: 0 [ 8.901601][ T131] RCU nest depth: 0, expected: 0 [ 8.901602][ T131] locks held by sed/131: 5, last CPU#2: [ 8.901604][ T131] #0: ffffffffae2027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.901617][ T131] #1: ffffffffae369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.901623][ T131] #2: ffffffffae369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.901626][ T131] #3: ffffffffae289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.901630][ T131] #4: ffffffffae289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.901633][ T131] irq event stamp: 14440 [ 8.901634][ T131] hardirqs last enabled at (14439): [] __down_trylock_console_sem+0x86/0xa0 [ 8.901637][ T131] hardirqs last disabled at (14440): [] console_emit_next_record+0x3d4/0x4c0 [ 8.901639][ T131] softirqs last enabled at (13438): [] handle_softirqs+0x67c/0x900 [ 8.901641][ T131] softirqs last disabled at (12915): [] __irq_exit_rcu+0x145/0x1c0 [ 8.901643][ T131] Preemption disabled at: [ 8.901644][ T131] [<0000000000000000>] 0x0 [ 8.901651][ T131] CPU: 2 UID: 0 PID: 131 Comm: sed Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.901654][ T131] Tainted: [W]=WARN [ 8.901655][ T131] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.901657][ T131] Call Trace: [ 8.901658][ T131] [ 8.901660][ T131] dump_stack_lvl+0x6f/0xa0 [ 8.901665][ T131] __might_resched.cold+0x1fe/0x2c1 [ 8.901670][ T131] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.901673][ T131] ? __kmalloc_noprof+0xdb/0x760 [ 8.901678][ T131] __kmalloc_noprof+0x443/0x760 [ 8.901681][ T131] ? alloc_buf.isra.0+0x4b/0x260 [ 8.901687][ T131] ? do_raw_spin_unlock+0x59/0x250 [ 8.901690][ T131] alloc_buf.isra.0+0x4b/0x260 [ 8.901693][ T131] put_chars+0x1e1/0x2f0 [ 8.901696][ T131] ? __send_to_port+0x420/0x420 [ 8.901698][ T131] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 8.901702][ T131] ? validate_chain+0x38b/0xc20 [ 8.901707][ T131] hvc_console_print+0x292/0x780 [ 8.901714][ T131] ? hvc_write+0x3a0/0x3a0 [ 8.901716][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.901718][ T131] ? lock_acquire+0x13c/0x160 [ 8.901722][ T131] console_emit_next_record+0x22f/0x4c0 [ 8.901725][ T131] ? devkmsg_read+0x4b0/0x4b0 [ 8.901726][ T131] ? console_flush_one_record+0x106/0x710 [ 8.901729][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.901731][ T131] ? lock_acquire+0x13c/0x160 [ 8.901735][ T131] console_flush_one_record+0x46f/0x710 [ 8.901738][ T131] ? console_emit_next_record+0x4c0/0x4c0 [ 8.901739][ T131] ? __lock_acquire+0x518/0xc20 [ 8.901745][ T131] console_unlock+0xee/0x1f0 [ 8.901747][ T131] ? console_flush_one_record+0x710/0x710 [ 8.901748][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.901750][ T131] ? lock_acquire+0x60/0x160 [ 8.901753][ T131] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.901755][ T131] ? vprintk_emit+0x320/0x3e0 [ 8.901758][ T131] vprintk_emit+0x37c/0x3e0 [ 8.901761][ T131] ? wake_up_klogd_work_func+0x90/0x90 [ 8.901764][ T131] ? __lock_acquire+0x518/0xc20 [ 8.901768][ T131] _printk+0xc7/0x100 [ 8.901772][ T131] ? snapshot_read.cold+0x21/0x21 [ 8.901774][ T131] ? do_raw_spin_lock+0x131/0x280 [ 8.901777][ T131] ? __rwlock_init+0x150/0x150 [ 8.901781][ T131] ? do_raw_spin_lock+0x131/0x280 [ 8.901784][ T131] do_exit.cold+0x82/0x9c [ 8.901787][ T131] ? exit_notify+0x890/0x890 [ 8.901789][ T131] ? __lock_release.isra.0+0x69/0x1a0 [ 8.901792][ T131] ? rcu_is_watching+0x16/0xd0 [ 8.901795][ T131] do_group_exit+0xb8/0x370 [ 8.901798][ T131] __x64_sys_exit_group+0x3c/0x50 [ 8.901800][ T131] x64_sys_call+0x1567/0x1570 [ 8.901803][ T131] do_syscall_64+0xff/0x530 [ 8.901807][ T131] ? exc_page_fault+0xee/0x100 [ 8.901809][ T131] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.901811][ T131] RIP: 0033:0x7fd266c9e1b8 [ 8.901814][ T131] Code: Unable to access opcode bytes at 0x7fd266c9e18e. [ 8.901815][ T131] RSP: 002b:00007ffe6871c8e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.901817][ T131] RAX: ffffffffffffffda RBX: 00007fd266dcef88 RCX: 00007fd266c9e1b8 [ 8.901818][ T131] RDX: 00007fd266afbb48 RSI: fffffffffffffec8 RDI: 0000000000000000 [ 8.901819][ T131] RBP: 00007ffe6871c940 R08: 00000000ffffffff R09: 0000000000001010 [ 8.901820][ T131] R10: 00007ffe6871c760 R11: 0000000000000246 R12: 0000000000000002 [ 8.901821][ T131] R13: 0000000000000000 R14: 00007fd266dcd680 R15: 00007fd266dcefa0 [ 8.901827][ T131]