[ 11.079030][ T213] ip (213) used greatest stack depth: 23888 bytes left [ 11.079105][ T213] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.079107][ T213] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 213, name: ip [ 11.079108][ T213] preempt_count: 2, expected: 0 [ 11.079109][ T213] RCU nest depth: 0, expected: 0 [ 11.079110][ T213] locks held by ip/213: 5, last CPU#3: [ 11.079112][ T213] #0: ffffffffb32167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.079123][ T213] #1: ffffffffb337ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.079127][ T213] #2: ffffffffb337de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.079132][ T213] #3: ffffffffb329d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.079136][ T213] #4: ffffffffb329d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.079139][ T213] irq event stamp: 21208 [ 11.079140][ T213] hardirqs last enabled at (21207): [] irqentry_exit+0x21c/0x790 [ 11.079145][ T213] hardirqs last disabled at (21208): [] console_emit_next_record+0x3d4/0x4c0 [ 11.079147][ T213] softirqs last enabled at (19616): [] netlink_release+0x17b/0xcf0 [ 11.079151][ T213] softirqs last disabled at (19614): [] netlink_release+0xd2/0xcf0 [ 11.079153][ T213] Preemption disabled at: [ 11.079154][ T213] [<0000000000000000>] 0x0 [ 11.079160][ T213] CPU: 3 UID: 0 PID: 213 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.079164][ T213] Tainted: [W]=WARN [ 11.079165][ T213] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.079167][ T213] Call Trace: [ 11.079168][ T213] [ 11.079170][ T213] dump_stack_lvl+0x6f/0xa0 [ 11.079176][ T213] __might_resched.cold+0x1fe/0x2c1 [ 11.079181][ T213] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.079185][ T213] ? __kmalloc_noprof+0xdb/0x760 [ 11.079189][ T213] __kmalloc_noprof+0x443/0x760 [ 11.079191][ T213] ? alloc_buf.isra.0+0x4b/0x260 [ 11.079198][ T213] ? do_raw_spin_unlock+0x59/0x250 [ 11.079201][ T213] alloc_buf.isra.0+0x4b/0x260 [ 11.079204][ T213] put_chars+0x1e1/0x2f0 [ 11.079207][ T213] ? __send_to_port+0x420/0x420 [ 11.079208][ T213] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.079211][ T213] ? validate_chain+0x38b/0xc20 [ 11.079217][ T213] hvc_console_print+0x292/0x780 [ 11.079224][ T213] ? hvc_write+0x3a0/0x3a0 [ 11.079227][ T213] ? rcu_is_watching+0x16/0xd0 [ 11.079229][ T213] ? lock_acquire+0x13c/0x160 [ 11.079233][ T213] console_emit_next_record+0x22f/0x4c0 [ 11.079237][ T213] ? devkmsg_read+0x4b0/0x4b0 [ 11.079238][ T213] ? console_flush_one_record+0x106/0x710 [ 11.079242][ T213] ? rcu_is_watching+0x16/0xd0 [ 11.079243][ T213] ? lock_acquire+0x13c/0x160 [ 11.079247][ T213] console_flush_one_record+0x46f/0x710 [ 11.079251][ T213] ? console_emit_next_record+0x4c0/0x4c0 [ 11.079253][ T213] ? __lock_acquire+0x518/0xc20 [ 11.079255][ T213] ? write_ibpb+0xb/0x30 [ 11.079261][ T213] console_unlock+0xee/0x1f0 [ 11.079264][ T213] ? console_flush_one_record+0x710/0x710 [ 11.079266][ T213] ? rcu_is_watching+0x16/0xd0 [ 11.079267][ T213] ? lock_acquire+0xe0/0x160 [ 11.079271][ T213] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.079273][ T213] ? vprintk_emit+0x320/0x3e0 [ 11.079276][ T213] vprintk_emit+0x37c/0x3e0 [ 11.079279][ T213] ? wake_up_klogd_work_func+0x90/0x90 [ 11.079282][ T213] ? __lock_acquire+0x518/0xc20 [ 11.079285][ T213] _printk+0xc7/0x100 [ 11.079289][ T213] ? snapshot_read.cold+0x21/0x21 [ 11.079291][ T213] ? do_raw_spin_lock+0x131/0x280 [ 11.079294][ T213] ? __rwlock_init+0x150/0x150 [ 11.079298][ T213] ? do_raw_spin_lock+0x131/0x280 [ 11.079301][ T213] do_exit.cold+0x82/0x9c [ 11.079304][ T213] ? exit_notify+0x890/0x890 [ 11.079305][ T213] ? __lock_release.isra.0+0x69/0x1a0 [ 11.079308][ T213] ? rcu_is_watching+0x16/0xd0 [ 11.079311][ T213] do_group_exit+0xb8/0x370 [ 11.079314][ T213] __x64_sys_exit_group+0x3c/0x50 [ 11.079316][ T213] x64_sys_call+0x1567/0x1570 [ 11.079318][ T213] do_syscall_64+0xff/0x530 [ 11.079320][ T213] ? exc_page_fault+0xee/0x100 [ 11.079323][ T213] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.079325][ T213] RIP: 0033:0x7f1685d0a1b8 [ 11.079328][ T213] Code: Unable to access opcode bytes at 0x7f1685d0a18e. [ 11.079329][ T213] RSP: 002b:00007ffed79084b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.079331][ T213] RAX: ffffffffffffffda RBX: 00007f1685e3af88 RCX: 00007f1685d0a1b8 [ 11.079332][ T213] RDX: 00007f1685a54fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.079333][ T213] RBP: 00007ffed7908510 R08: 0000000000000000 R09: 0000000000000050 [ 11.079334][ T213] R10: 00007ffed79082d0 R11: 0000000000000246 R12: 0000000000000001 [ 11.079334][ T213] R13: 0000000000000000 R14: 00007f1685e39680 R15: 00007f1685e3afa0 [ 11.079341][ T213]