[ 9.613897][ T169] ip (169) used greatest stack depth: 24416 bytes left [ 9.613920][ T169] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.613922][ T169] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 169, name: ip [ 9.613924][ T169] preempt_count: 2, expected: 0 [ 9.613926][ T169] RCU nest depth: 0, expected: 0 [ 9.613927][ T169] locks held by ip/169: 5, last CPU#2: [ 9.613930][ T169] #0: ffffffff8cc027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.613945][ T169] #1: ffffffff8cd69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.613952][ T169] #2: ffffffff8cd69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.613957][ T169] #3: ffffffff8cc89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.613962][ T169] #4: ffffffff8cc89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.613967][ T169] irq event stamp: 28152 [ 9.613968][ T169] hardirqs last enabled at (28151): [] __down_trylock_console_sem+0x86/0xa0 [ 9.613973][ T169] hardirqs last disabled at (28152): [] console_emit_next_record+0x3d4/0x4c0 [ 9.613975][ T169] softirqs last enabled at (27466): [] handle_softirqs+0x67c/0x900 [ 9.613978][ T169] softirqs last disabled at (26989): [] __irq_exit_rcu+0x145/0x1c0 [ 9.613981][ T169] Preemption disabled at: [ 9.613982][ T169] [<0000000000000000>] 0x0 [ 9.613990][ T169] CPU: 2 UID: 0 PID: 169 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.613995][ T169] Tainted: [W]=WARN [ 9.613996][ T169] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.613998][ T169] Call Trace: [ 9.614000][ T169] [ 9.614002][ T169] dump_stack_lvl+0x6f/0xa0 [ 9.614009][ T169] __might_resched.cold+0x1fe/0x2c1 [ 9.614015][ T169] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.614020][ T169] ? __kmalloc_noprof+0xdb/0x760 [ 9.614027][ T169] __kmalloc_noprof+0x443/0x760 [ 9.614031][ T169] ? alloc_buf.isra.0+0x4b/0x260 [ 9.614040][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 9.614043][ T169] alloc_buf.isra.0+0x4b/0x260 [ 9.614048][ T169] put_chars+0x1e1/0x2f0 [ 9.614053][ T169] ? __send_to_port+0x420/0x420 [ 9.614055][ T169] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.614061][ T169] ? validate_chain+0x38b/0xc20 [ 9.614070][ T169] hvc_console_print+0x292/0x780 [ 9.614081][ T169] ? hvc_write+0x3a0/0x3a0 [ 9.614084][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.614087][ T169] ? lock_acquire+0x13c/0x160 [ 9.614094][ T169] console_emit_next_record+0x22f/0x4c0 [ 9.614100][ T169] ? devkmsg_read+0x4b0/0x4b0 [ 9.614102][ T169] ? console_flush_one_record+0x106/0x710 [ 9.614106][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.614109][ T169] ? lock_acquire+0x13c/0x160 [ 9.614116][ T169] console_flush_one_record+0x46f/0x710 [ 9.614123][ T169] ? console_emit_next_record+0x4c0/0x4c0 [ 9.614125][ T169] ? __lock_acquire+0x518/0xc20 [ 9.614134][ T169] console_unlock+0xee/0x1f0 [ 9.614138][ T169] ? console_flush_one_record+0x710/0x710 [ 9.614140][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.614143][ T169] ? lock_acquire+0x60/0x160 [ 9.614149][ T169] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.614152][ T169] ? vprintk_emit+0x320/0x3e0 [ 9.614157][ T169] vprintk_emit+0x37c/0x3e0 [ 9.614162][ T169] ? wake_up_klogd_work_func+0x90/0x90 [ 9.614167][ T169] ? __lock_acquire+0x518/0xc20 [ 9.614174][ T169] _printk+0xc7/0x100 [ 9.614178][ T169] ? snapshot_read.cold+0x21/0x21 [ 9.614183][ T169] ? do_raw_spin_lock+0x131/0x280 [ 9.614187][ T169] ? __rwlock_init+0x150/0x150 [ 9.614194][ T169] ? do_raw_spin_lock+0x131/0x280 [ 9.614198][ T169] do_exit.cold+0x82/0x9c [ 9.614203][ T169] ? exit_notify+0x890/0x890 [ 9.614205][ T169] ? __lock_release.isra.0+0x69/0x1a0 [ 9.614210][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.614216][ T169] do_group_exit+0xb8/0x370 [ 9.614221][ T169] __x64_sys_exit_group+0x3c/0x50 [ 9.614224][ T169] x64_sys_call+0x1567/0x1570 [ 9.614227][ T169] do_syscall_64+0xff/0x530 [ 9.614232][ T169] ? exc_page_fault+0xee/0x100 [ 9.614236][ T169] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.614240][ T169] RIP: 0033:0x7f04879fb1b8 [ 9.614243][ T169] Code: Unable to access opcode bytes at 0x7f04879fb18e. [ 9.614244][ T169] RSP: 002b:00007ffdbedf66b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.614247][ T169] RAX: ffffffffffffffda RBX: 00007f0487b2bf88 RCX: 00007f04879fb1b8 [ 9.614249][ T169] RDX: 00007f0487745fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.614251][ T169] RBP: 00007ffdbedf6710 R08: 0000000000000000 R09: 0000000000008010 [ 9.614252][ T169] R10: 00007ffdbedf64d0 R11: 0000000000000246 R12: 0000000000000001 [ 9.614253][ T169] R13: 0000000000000000 R14: 00007f0487b2a680 R15: 00007f0487b2bfa0 [ 9.614266][ T169]