[ 9.610485][ T214] ip (214) used greatest stack depth: 23920 bytes left [ 9.610503][ T214] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.610505][ T214] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 214, name: ip [ 9.610506][ T214] preempt_count: 2, expected: 0 [ 9.610507][ T214] RCU nest depth: 0, expected: 0 [ 9.610508][ T214] locks held by ip/214: 5, last CPU#2: [ 9.610510][ T214] #0: ffffffffaa0167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.610521][ T214] #1: ffffffffaa17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.610526][ T214] #2: ffffffffaa17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.610530][ T214] #3: ffffffffaa09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.610534][ T214] #4: ffffffffaa09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.610538][ T214] irq event stamp: 22122 [ 9.610539][ T214] hardirqs last enabled at (22121): [] __down_trylock_console_sem+0x86/0xa0 [ 9.610542][ T214] hardirqs last disabled at (22122): [] console_emit_next_record+0x3d4/0x4c0 [ 9.610544][ T214] softirqs last enabled at (21840): [] handle_softirqs+0x67c/0x900 [ 9.610546][ T214] softirqs last disabled at (21835): [] __irq_exit_rcu+0x145/0x1c0 [ 9.610549][ T214] Preemption disabled at: [ 9.610550][ T214] [<0000000000000000>] 0x0 [ 9.610556][ T214] CPU: 2 UID: 0 PID: 214 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.610559][ T214] Tainted: [W]=WARN [ 9.610560][ T214] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.610562][ T214] Call Trace: [ 9.610563][ T214] [ 9.610564][ T214] dump_stack_lvl+0x6f/0xa0 [ 9.610571][ T214] __might_resched.cold+0x1fe/0x2c1 [ 9.610576][ T214] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.610580][ T214] ? __kmalloc_noprof+0xdb/0x760 [ 9.610584][ T214] __kmalloc_noprof+0x443/0x760 [ 9.610586][ T214] ? alloc_buf.isra.0+0x4b/0x260 [ 9.610593][ T214] ? do_raw_spin_unlock+0x59/0x250 [ 9.610595][ T214] alloc_buf.isra.0+0x4b/0x260 [ 9.610599][ T214] put_chars+0x1e1/0x2f0 [ 9.610601][ T214] ? __send_to_port+0x420/0x420 [ 9.610603][ T214] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.610606][ T214] ? validate_chain+0x38b/0xc20 [ 9.610611][ T214] hvc_console_print+0x292/0x780 [ 9.610619][ T214] ? hvc_write+0x3a0/0x3a0 [ 9.610621][ T214] ? rcu_is_watching+0x16/0xd0 [ 9.610623][ T214] ? lock_acquire+0x13c/0x160 [ 9.610627][ T214] console_emit_next_record+0x22f/0x4c0 [ 9.610632][ T214] ? devkmsg_read+0x4b0/0x4b0 [ 9.610633][ T214] ? console_flush_one_record+0x106/0x710 [ 9.610637][ T214] ? rcu_is_watching+0x16/0xd0 [ 9.610638][ T214] ? lock_acquire+0x13c/0x160 [ 9.610642][ T214] console_flush_one_record+0x46f/0x710 [ 9.610646][ T214] ? console_emit_next_record+0x4c0/0x4c0 [ 9.610648][ T214] ? __lock_acquire+0x518/0xc20 [ 9.610653][ T214] console_unlock+0xee/0x1f0 [ 9.610656][ T214] ? console_flush_one_record+0x710/0x710 [ 9.610658][ T214] ? rcu_is_watching+0x16/0xd0 [ 9.610660][ T214] ? lock_acquire+0xe0/0x160 [ 9.610663][ T214] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.610665][ T214] ? vprintk_emit+0x320/0x3e0 [ 9.610668][ T214] vprintk_emit+0x37c/0x3e0 [ 9.610671][ T214] ? wake_up_klogd_work_func+0x90/0x90 [ 9.610674][ T214] ? __lock_acquire+0x518/0xc20 [ 9.610677][ T214] _printk+0xc7/0x100 [ 9.610681][ T214] ? snapshot_read.cold+0x21/0x21 [ 9.610684][ T214] ? do_raw_spin_lock+0x131/0x280 [ 9.610687][ T214] ? __rwlock_init+0x150/0x150 [ 9.610690][ T214] ? do_raw_spin_lock+0x131/0x280 [ 9.610693][ T214] do_exit.cold+0x82/0x9c [ 9.610697][ T214] ? exit_notify+0x890/0x890 [ 9.610698][ T214] ? __lock_release.isra.0+0x69/0x1a0 [ 9.610701][ T214] ? rcu_is_watching+0x16/0xd0 [ 9.610704][ T214] do_group_exit+0xb8/0x370 [ 9.610707][ T214] __x64_sys_exit_group+0x3c/0x50 [ 9.610709][ T214] x64_sys_call+0x1567/0x1570 [ 9.610711][ T214] do_syscall_64+0xff/0x530 [ 9.610715][ T214] ? exc_page_fault+0xee/0x100 [ 9.610718][ T214] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.610721][ T214] RIP: 0033:0x7f12edf8a1b8 [ 9.610723][ T214] Code: Unable to access opcode bytes at 0x7f12edf8a18e. [ 9.610724][ T214] RSP: 002b:00007ffc5ca17bd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.610726][ T214] RAX: ffffffffffffffda RBX: 00007f12ee0baf88 RCX: 00007f12edf8a1b8 [ 9.610727][ T214] RDX: 00007f12edcd4fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.610728][ T214] RBP: 00007ffc5ca17c30 R08: 0000000000000000 R09: 0000000000000050 [ 9.610729][ T214] R10: 00007ffc5ca179f0 R11: 0000000000000246 R12: 0000000000000001 [ 9.610730][ T214] R13: 0000000000000000 R14: 00007f12ee0b9680 R15: 00007f12ee0bafa0 [ 9.610737][ T214]