[ 10.250991][ T240] ip (240) used greatest stack depth: 24352 bytes left [ 10.251011][ T240] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.251013][ T240] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 240, name: ip [ 10.251015][ T240] preempt_count: 2, expected: 0 [ 10.251016][ T240] RCU nest depth: 0, expected: 0 [ 10.251017][ T240] locks held by ip/240: 5, last CPU#2: [ 10.251019][ T240] #0: ffffffff8c0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.251032][ T240] #1: ffffffff8c169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.251037][ T240] #2: ffffffff8c169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.251041][ T240] #3: ffffffff8c089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.251044][ T240] #4: ffffffff8c089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.251048][ T240] irq event stamp: 17580 [ 10.251049][ T240] hardirqs last enabled at (17579): [] __down_trylock_console_sem+0x86/0xa0 [ 10.251053][ T240] hardirqs last disabled at (17580): [] console_emit_next_record+0x3d4/0x4c0 [ 10.251054][ T240] softirqs last enabled at (16438): [] handle_softirqs+0x67c/0x900 [ 10.251056][ T240] softirqs last disabled at (15557): [] __irq_exit_rcu+0x145/0x1c0 [ 10.251059][ T240] Preemption disabled at: [ 10.251060][ T240] [<0000000000000000>] 0x0 [ 10.251066][ T240] CPU: 2 UID: 0 PID: 240 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.251070][ T240] Tainted: [W]=WARN [ 10.251071][ T240] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.251072][ T240] Call Trace: [ 10.251074][ T240] [ 10.251076][ T240] dump_stack_lvl+0x6f/0xa0 [ 10.251081][ T240] __might_resched.cold+0x1fe/0x2c1 [ 10.251086][ T240] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.251089][ T240] ? __kmalloc_noprof+0xdb/0x760 [ 10.251095][ T240] __kmalloc_noprof+0x443/0x760 [ 10.251097][ T240] ? alloc_buf.isra.0+0x4b/0x260 [ 10.251104][ T240] ? do_raw_spin_unlock+0x59/0x250 [ 10.251107][ T240] alloc_buf.isra.0+0x4b/0x260 [ 10.251111][ T240] put_chars+0x1e1/0x2f0 [ 10.251114][ T240] ? __send_to_port+0x420/0x420 [ 10.251116][ T240] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.251120][ T240] ? validate_chain+0x38b/0xc20 [ 10.251126][ T240] hvc_console_print+0x292/0x780 [ 10.251133][ T240] ? hvc_write+0x3a0/0x3a0 [ 10.251136][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.251138][ T240] ? lock_acquire+0x13c/0x160 [ 10.251142][ T240] console_emit_next_record+0x22f/0x4c0 [ 10.251146][ T240] ? devkmsg_read+0x4b0/0x4b0 [ 10.251147][ T240] ? console_flush_one_record+0x106/0x710 [ 10.251150][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.251153][ T240] ? lock_acquire+0x13c/0x160 [ 10.251157][ T240] console_flush_one_record+0x46f/0x710 [ 10.251161][ T240] ? console_emit_next_record+0x4c0/0x4c0 [ 10.251162][ T240] ? __lock_acquire+0x518/0xc20 [ 10.251168][ T240] console_unlock+0xee/0x1f0 [ 10.251170][ T240] ? console_flush_one_record+0x710/0x710 [ 10.251172][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.251174][ T240] ? lock_acquire+0x60/0x160 [ 10.251178][ T240] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.251180][ T240] ? vprintk_emit+0x320/0x3e0 [ 10.251183][ T240] vprintk_emit+0x37c/0x3e0 [ 10.251187][ T240] ? wake_up_klogd_work_func+0x90/0x90 [ 10.251190][ T240] ? __lock_acquire+0x518/0xc20 [ 10.251194][ T240] _printk+0xc7/0x100 [ 10.251198][ T240] ? snapshot_read.cold+0x21/0x21 [ 10.251201][ T240] ? do_raw_spin_lock+0x131/0x280 [ 10.251204][ T240] ? __rwlock_init+0x150/0x150 [ 10.251209][ T240] ? do_raw_spin_lock+0x131/0x280 [ 10.251212][ T240] do_exit.cold+0x82/0x9c [ 10.251216][ T240] ? exit_notify+0x890/0x890 [ 10.251217][ T240] ? __lock_release.isra.0+0x69/0x1a0 [ 10.251220][ T240] ? rcu_is_watching+0x16/0xd0 [ 10.251225][ T240] do_group_exit+0xb8/0x370 [ 10.251228][ T240] __x64_sys_exit_group+0x3c/0x50 [ 10.251230][ T240] x64_sys_call+0x1567/0x1570 [ 10.251233][ T240] do_syscall_64+0xff/0x530 [ 10.251237][ T240] ? exc_page_fault+0xee/0x100 [ 10.251240][ T240] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.251242][ T240] RIP: 0033:0x7ffbd46251b8 [ 10.251245][ T240] Code: Unable to access opcode bytes at 0x7ffbd462518e. [ 10.251246][ T240] RSP: 002b:00007ffcf029a888 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.251248][ T240] RAX: ffffffffffffffda RBX: 00007ffbd4755f88 RCX: 00007ffbd46251b8 [ 10.251250][ T240] RDX: 00007ffbd436ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.251251][ T240] RBP: 00007ffcf029a8e0 R08: 0000000000000000 R09: 0000000000008010 [ 10.251252][ T240] R10: 00007ffcf029a6a0 R11: 0000000000000246 R12: 0000000000000001 [ 10.251253][ T240] R13: 0000000000000000 R14: 00007ffbd4754680 R15: 00007ffbd4755fa0 [ 10.251260][ T240]