[ 14.277569][ T214] ip (214) used greatest stack depth: 24128 bytes left [ 14.277584][ T214] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.277586][ T214] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 214, name: ip [ 14.277588][ T214] preempt_count: 2, expected: 0 [ 14.277588][ T214] RCU nest depth: 0, expected: 0 [ 14.277589][ T214] locks held by ip/214: 5, last CPU#3: [ 14.277591][ T214] #0: ffffffffab4167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.277603][ T214] #1: ffffffffab57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.277608][ T214] #2: ffffffffab57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.277612][ T214] #3: ffffffffab49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.277615][ T214] #4: ffffffffab49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.277619][ T214] irq event stamp: 40474 [ 14.277620][ T214] hardirqs last enabled at (40473): [] __down_trylock_console_sem+0x86/0xa0 [ 14.277623][ T214] hardirqs last disabled at (40474): [] console_emit_next_record+0x3d4/0x4c0 [ 14.277628][ T214] softirqs last enabled at (39128): [] netlink_release+0x17b/0xcf0 [ 14.277632][ T214] softirqs last disabled at (39126): [] netlink_release+0xd2/0xcf0 [ 14.277635][ T214] Preemption disabled at: [ 14.277636][ T214] [<0000000000000000>] 0x0 [ 14.277643][ T214] CPU: 3 UID: 0 PID: 214 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.277646][ T214] Tainted: [W]=WARN [ 14.277647][ T214] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.277648][ T214] Call Trace: [ 14.277650][ T214] [ 14.277652][ T214] dump_stack_lvl+0x6f/0xa0 [ 14.277658][ T214] __might_resched.cold+0x1fe/0x2c1 [ 14.277662][ T214] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.277666][ T214] ? __kmalloc_noprof+0xdb/0x760 [ 14.277671][ T214] __kmalloc_noprof+0x443/0x760 [ 14.277673][ T214] ? alloc_buf.isra.0+0x4b/0x260 [ 14.277679][ T214] ? do_raw_spin_unlock+0x59/0x250 [ 14.277682][ T214] alloc_buf.isra.0+0x4b/0x260 [ 14.277686][ T214] put_chars+0x1e1/0x2f0 [ 14.277688][ T214] ? __send_to_port+0x420/0x420 [ 14.277689][ T214] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.277693][ T214] ? validate_chain+0x38b/0xc20 [ 14.277698][ T214] hvc_console_print+0x292/0x780 [ 14.277706][ T214] ? hvc_write+0x3a0/0x3a0 [ 14.277708][ T214] ? rcu_is_watching+0x16/0xd0 [ 14.277710][ T214] ? lock_acquire+0x13c/0x160 [ 14.277714][ T214] console_emit_next_record+0x22f/0x4c0 [ 14.277718][ T214] ? devkmsg_read+0x4b0/0x4b0 [ 14.277720][ T214] ? console_flush_one_record+0x106/0x710 [ 14.277723][ T214] ? rcu_is_watching+0x16/0xd0 [ 14.277725][ T214] ? lock_acquire+0x13c/0x160 [ 14.277729][ T214] console_flush_one_record+0x46f/0x710 [ 14.277733][ T214] ? console_emit_next_record+0x4c0/0x4c0 [ 14.277735][ T214] ? __lock_acquire+0x518/0xc20 [ 14.277740][ T214] console_unlock+0xee/0x1f0 [ 14.277743][ T214] ? console_flush_one_record+0x710/0x710 [ 14.277745][ T214] ? rcu_is_watching+0x16/0xd0 [ 14.277746][ T214] ? lock_acquire+0xe0/0x160 [ 14.277750][ T214] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.277752][ T214] ? vprintk_emit+0x320/0x3e0 [ 14.277754][ T214] vprintk_emit+0x37c/0x3e0 [ 14.277758][ T214] ? wake_up_klogd_work_func+0x90/0x90 [ 14.277760][ T214] ? __lock_acquire+0x518/0xc20 [ 14.277764][ T214] _printk+0xc7/0x100 [ 14.277768][ T214] ? snapshot_read.cold+0x21/0x21 [ 14.277770][ T214] ? do_raw_spin_lock+0x131/0x280 [ 14.277773][ T214] ? __rwlock_init+0x150/0x150 [ 14.277777][ T214] ? do_raw_spin_lock+0x131/0x280 [ 14.277779][ T214] do_exit.cold+0x82/0x9c [ 14.277783][ T214] ? exit_notify+0x890/0x890 [ 14.277784][ T214] ? __lock_release.isra.0+0x69/0x1a0 [ 14.277787][ T214] ? rcu_is_watching+0x16/0xd0 [ 14.277790][ T214] do_group_exit+0xb8/0x370 [ 14.277793][ T214] __x64_sys_exit_group+0x3c/0x50 [ 14.277795][ T214] x64_sys_call+0x1567/0x1570 [ 14.277797][ T214] do_syscall_64+0xff/0x530 [ 14.277801][ T214] ? exc_page_fault+0xee/0x100 [ 14.277804][ T214] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.277806][ T214] RIP: 0033:0x7f3b427361b8 [ 14.277808][ T214] Code: Unable to access opcode bytes at 0x7f3b4273618e. [ 14.277809][ T214] RSP: 002b:00007ffec772e1a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.277812][ T214] RAX: ffffffffffffffda RBX: 00007f3b42866f88 RCX: 00007f3b427361b8 [ 14.277813][ T214] RDX: 00007f3b42480fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 14.277814][ T214] RBP: 00007ffec772e200 R08: 0000000000000000 R09: 0000000000000000 [ 14.277815][ T214] R10: 00007ffec772dfc0 R11: 0000000000000246 R12: 0000000000000001 [ 14.277815][ T214] R13: 0000000000000000 R14: 00007f3b42865680 R15: 00007f3b42866fa0 [ 14.277822][ T214]