[ 9.572148][ T207] ip (207) used greatest stack depth: 23688 bytes left [ 9.572164][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.572166][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: ip [ 9.572167][ T207] preempt_count: 2, expected: 0 [ 9.572168][ T207] RCU nest depth: 0, expected: 0 [ 9.572169][ T207] locks held by ip/207: 5, last CPU#0: [ 9.572171][ T207] #0: ffffffffad0167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.572182][ T207] #1: ffffffffad17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.572187][ T207] #2: ffffffffad17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.572191][ T207] #3: ffffffffad09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.572195][ T207] #4: ffffffffad09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.572199][ T207] irq event stamp: 30244 [ 9.572199][ T207] hardirqs last enabled at (30243): [] __down_trylock_console_sem+0x86/0xa0 [ 9.572203][ T207] hardirqs last disabled at (30244): [] console_emit_next_record+0x3d4/0x4c0 [ 9.572205][ T207] softirqs last enabled at (29764): [] handle_softirqs+0x67c/0x900 [ 9.572207][ T207] softirqs last disabled at (29759): [] __irq_exit_rcu+0x145/0x1c0 [ 9.572209][ T207] Preemption disabled at: [ 9.572209][ T207] [<0000000000000000>] 0x0 [ 9.572216][ T207] CPU: 0 UID: 0 PID: 207 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.572219][ T207] Tainted: [W]=WARN [ 9.572220][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.572222][ T207] Call Trace: [ 9.572224][ T207] [ 9.572225][ T207] dump_stack_lvl+0x6f/0xa0 [ 9.572231][ T207] __might_resched.cold+0x1fe/0x2c1 [ 9.572235][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.572239][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 9.572243][ T207] __kmalloc_noprof+0x443/0x760 [ 9.572245][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 9.572252][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 9.572255][ T207] alloc_buf.isra.0+0x4b/0x260 [ 9.572258][ T207] put_chars+0x1e1/0x2f0 [ 9.572261][ T207] ? __send_to_port+0x420/0x420 [ 9.572262][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.572265][ T207] ? validate_chain+0x38b/0xc20 [ 9.572271][ T207] hvc_console_print+0x292/0x780 [ 9.572278][ T207] ? hvc_write+0x3a0/0x3a0 [ 9.572281][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.572283][ T207] ? lock_acquire+0x13c/0x160 [ 9.572286][ T207] console_emit_next_record+0x22f/0x4c0 [ 9.572290][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 9.572292][ T207] ? console_flush_one_record+0x106/0x710 [ 9.572295][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.572297][ T207] ? lock_acquire+0x13c/0x160 [ 9.572301][ T207] console_flush_one_record+0x46f/0x710 [ 9.572305][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 9.572307][ T207] ? __lock_acquire+0x518/0xc20 [ 9.572312][ T207] console_unlock+0xee/0x1f0 [ 9.572315][ T207] ? console_flush_one_record+0x710/0x710 [ 9.572317][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.572318][ T207] ? lock_acquire+0xe0/0x160 [ 9.572322][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.572324][ T207] ? vprintk_emit+0x320/0x3e0 [ 9.572326][ T207] vprintk_emit+0x37c/0x3e0 [ 9.572329][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 9.572332][ T207] ? __lock_acquire+0x518/0xc20 [ 9.572336][ T207] _printk+0xc7/0x100 [ 9.572339][ T207] ? snapshot_read.cold+0x21/0x21 [ 9.572342][ T207] ? do_raw_spin_lock+0x131/0x280 [ 9.572345][ T207] ? __rwlock_init+0x150/0x150 [ 9.572348][ T207] ? do_raw_spin_lock+0x131/0x280 [ 9.572351][ T207] do_exit.cold+0x82/0x9c [ 9.572355][ T207] ? exit_notify+0x890/0x890 [ 9.572356][ T207] ? __lock_release.isra.0+0x69/0x1a0 [ 9.572359][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.572362][ T207] do_group_exit+0xb8/0x370 [ 9.572365][ T207] __x64_sys_exit_group+0x3c/0x50 [ 9.572367][ T207] x64_sys_call+0x1567/0x1570 [ 9.572369][ T207] do_syscall_64+0xff/0x530 [ 9.572373][ T207] ? exc_page_fault+0xee/0x100 [ 9.572376][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.572378][ T207] RIP: 0033:0x7fdef1e491b8 [ 9.572380][ T207] Code: Unable to access opcode bytes at 0x7fdef1e4918e. [ 9.572381][ T207] RSP: 002b:00007ffcb925f458 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.572383][ T207] RAX: ffffffffffffffda RBX: 00007fdef1f79f88 RCX: 00007fdef1e491b8 [ 9.572385][ T207] RDX: 00007fdef1b93fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.572386][ T207] RBP: 00007ffcb925f4b0 R08: 0000000000000000 R09: 0000000000000050 [ 9.572386][ T207] R10: 00007ffcb925f270 R11: 0000000000000246 R12: 0000000000000001 [ 9.572387][ T207] R13: 0000000000000000 R14: 00007fdef1f78680 R15: 00007fdef1f79fa0 [ 9.572394][ T207]