[ 9.846886][ T190] ip (190) used greatest stack depth: 23472 bytes left [ 9.846902][ T190] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.846904][ T190] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 190, name: ip [ 9.846905][ T190] preempt_count: 2, expected: 0 [ 9.846906][ T190] RCU nest depth: 0, expected: 0 [ 9.846907][ T190] locks held by ip/190: 5, last CPU#0: [ 9.846910][ T190] #0: ffffffffb88267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.846922][ T190] #1: ffffffffb898dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.846928][ T190] #2: ffffffffb898dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.846932][ T190] #3: ffffffffb88ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.846935][ T190] #4: ffffffffb88ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.846939][ T190] irq event stamp: 22360 [ 9.846940][ T190] hardirqs last enabled at (22359): [] __down_trylock_console_sem+0x86/0xa0 [ 9.846943][ T190] hardirqs last disabled at (22360): [] console_emit_next_record+0x3d4/0x4c0 [ 9.846944][ T190] softirqs last enabled at (20804): [] netlink_release+0x17b/0xcf0 [ 9.846949][ T190] softirqs last disabled at (20802): [] netlink_release+0xd2/0xcf0 [ 9.846951][ T190] Preemption disabled at: [ 9.846952][ T190] [<0000000000000000>] 0x0 [ 9.846959][ T190] CPU: 0 UID: 0 PID: 190 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.846962][ T190] Tainted: [W]=WARN [ 9.846963][ T190] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.846965][ T190] Call Trace: [ 9.846966][ T190] [ 9.846968][ T190] dump_stack_lvl+0x6f/0xa0 [ 9.846974][ T190] __might_resched.cold+0x1fe/0x2c1 [ 9.846979][ T190] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.846983][ T190] ? __kmalloc_noprof+0xdb/0x760 [ 9.846988][ T190] __kmalloc_noprof+0x443/0x760 [ 9.846990][ T190] ? alloc_buf.isra.0+0x4b/0x260 [ 9.846997][ T190] ? do_raw_spin_unlock+0x59/0x250 [ 9.846999][ T190] alloc_buf.isra.0+0x4b/0x260 [ 9.847003][ T190] put_chars+0x1e1/0x2f0 [ 9.847006][ T190] ? __send_to_port+0x420/0x420 [ 9.847008][ T190] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.847013][ T190] ? validate_chain+0x38b/0xc20 [ 9.847018][ T190] hvc_console_print+0x292/0x780 [ 9.847026][ T190] ? hvc_write+0x3a0/0x3a0 [ 9.847029][ T190] ? rcu_is_watching+0x16/0xd0 [ 9.847031][ T190] ? lock_acquire+0x13c/0x160 [ 9.847035][ T190] console_emit_next_record+0x22f/0x4c0 [ 9.847039][ T190] ? devkmsg_read+0x4b0/0x4b0 [ 9.847041][ T190] ? console_flush_one_record+0x106/0x710 [ 9.847044][ T190] ? rcu_is_watching+0x16/0xd0 [ 9.847046][ T190] ? lock_acquire+0x13c/0x160 [ 9.847050][ T190] console_flush_one_record+0x46f/0x710 [ 9.847054][ T190] ? console_emit_next_record+0x4c0/0x4c0 [ 9.847056][ T190] ? __lock_acquire+0x518/0xc20 [ 9.847061][ T190] console_unlock+0xee/0x1f0 [ 9.847063][ T190] ? console_flush_one_record+0x710/0x710 [ 9.847065][ T190] ? rcu_is_watching+0x16/0xd0 [ 9.847067][ T190] ? lock_acquire+0x60/0x160 [ 9.847071][ T190] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.847073][ T190] ? vprintk_emit+0x320/0x3e0 [ 9.847076][ T190] vprintk_emit+0x37c/0x3e0 [ 9.847079][ T190] ? wake_up_klogd_work_func+0x90/0x90 [ 9.847083][ T190] ? __lock_acquire+0x518/0xc20 [ 9.847086][ T190] _printk+0xc7/0x100 [ 9.847090][ T190] ? snapshot_read.cold+0x21/0x21 [ 9.847093][ T190] ? do_raw_spin_lock+0x131/0x280 [ 9.847095][ T190] ? __rwlock_init+0x150/0x150 [ 9.847099][ T190] ? do_raw_spin_lock+0x131/0x280 [ 9.847102][ T190] do_exit.cold+0x82/0x9c [ 9.847105][ T190] ? exit_notify+0x890/0x890 [ 9.847107][ T190] ? __lock_release.isra.0+0x69/0x1a0 [ 9.847110][ T190] ? rcu_is_watching+0x16/0xd0 [ 9.847114][ T190] do_group_exit+0xb8/0x370 [ 9.847117][ T190] __x64_sys_exit_group+0x3c/0x50 [ 9.847120][ T190] x64_sys_call+0x1567/0x1570 [ 9.847122][ T190] do_syscall_64+0xff/0x530 [ 9.847125][ T190] ? exc_page_fault+0xee/0x100 [ 9.847128][ T190] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.847131][ T190] RIP: 0033:0x7fed97dcd1b8 [ 9.847133][ T190] Code: Unable to access opcode bytes at 0x7fed97dcd18e. [ 9.847134][ T190] RSP: 002b:00007ffed6f9f6b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.847137][ T190] RAX: ffffffffffffffda RBX: 00007fed97efdf88 RCX: 00007fed97dcd1b8 [ 9.847138][ T190] RDX: 00007fed97b17fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.847139][ T190] RBP: 00007ffed6f9f710 R08: 0000000000000000 R09: 0000000000000050 [ 9.847140][ T190] R10: 00007ffed6f9f4d0 R11: 0000000000000246 R12: 0000000000000001 [ 9.847141][ T190] R13: 0000000000000000 R14: 00007fed97efc680 R15: 00007fed97efdfa0 [ 9.847148][ T190]