[ 9.614479][ T186] ip (186) used greatest stack depth: 24072 bytes left [ 9.614493][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.614495][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: ip [ 9.614497][ T186] preempt_count: 2, expected: 0 [ 9.614498][ T186] RCU nest depth: 0, expected: 0 [ 9.614499][ T186] locks held by ip/186: 5, last CPU#3: [ 9.614501][ T186] #0: ffffffffae402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 9.614513][ T186] #1: ffffffffae56a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.614518][ T186] #2: ffffffffae56a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.614521][ T186] #3: ffffffffae489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.614524][ T186] #4: ffffffffae489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.614528][ T186] irq event stamp: 23348 [ 9.614528][ T186] hardirqs last enabled at (23347): [] __down_trylock_console_sem+0x86/0xa0 [ 9.614532][ T186] hardirqs last disabled at (23348): [] console_emit_next_record+0x3d4/0x4c0 [ 9.614534][ T186] softirqs last enabled at (21782): [] netlink_release+0x17b/0xcf0 [ 9.614538][ T186] softirqs last disabled at (21780): [] netlink_release+0xd2/0xcf0 [ 9.614540][ T186] Preemption disabled at: [ 9.614541][ T186] [<0000000000000000>] 0x0 [ 9.614547][ T186] CPU: 3 UID: 0 PID: 186 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.614551][ T186] Tainted: [W]=WARN [ 9.614551][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.614553][ T186] Call Trace: [ 9.614555][ T186] [ 9.614556][ T186] dump_stack_lvl+0x6f/0xa0 [ 9.614562][ T186] __might_resched.cold+0x1fe/0x2c1 [ 9.614566][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.614569][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 9.614574][ T186] __kmalloc_noprof+0x443/0x760 [ 9.614577][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 9.614583][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 9.614586][ T186] alloc_buf.isra.0+0x4b/0x260 [ 9.614589][ T186] put_chars+0x1e1/0x2f0 [ 9.614592][ T186] ? __send_to_port+0x420/0x420 [ 9.614598][ T186] hvc_console_print+0x292/0x780 [ 9.614605][ T186] ? hvc_write+0x3a0/0x3a0 [ 9.614608][ T186] ? lock_acquire+0x13c/0x160 [ 9.614612][ T186] console_emit_next_record+0x22f/0x4c0 [ 9.614615][ T186] ? devkmsg_read+0x4b0/0x4b0 [ 9.614616][ T186] ? console_flush_one_record+0x106/0x710 [ 9.614619][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.614622][ T186] ? lock_acquire+0x13c/0x160 [ 9.614626][ T186] console_flush_one_record+0x46f/0x710 [ 9.614630][ T186] ? console_emit_next_record+0x4c0/0x4c0 [ 9.614631][ T186] ? __lock_acquire+0x518/0xc20 [ 9.614636][ T186] console_unlock+0xee/0x1f0 [ 9.614639][ T186] ? console_flush_one_record+0x710/0x710 [ 9.614640][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.614642][ T186] ? lock_acquire+0x60/0x160 [ 9.614646][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.614647][ T186] ? vprintk_emit+0x320/0x3e0 [ 9.614650][ T186] vprintk_emit+0x37c/0x3e0 [ 9.614654][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 9.614657][ T186] ? __lock_acquire+0x518/0xc20 [ 9.614660][ T186] _printk+0xc7/0x100 [ 9.614664][ T186] ? snapshot_read.cold+0x21/0x21 [ 9.614667][ T186] ? do_raw_spin_lock+0x131/0x280 [ 9.614669][ T186] ? __rwlock_init+0x150/0x150 [ 9.614673][ T186] ? do_raw_spin_lock+0x131/0x280 [ 9.614676][ T186] do_exit.cold+0x82/0x9c [ 9.614680][ T186] ? exit_notify+0x890/0x890 [ 9.614681][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 9.614684][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.614688][ T186] do_group_exit+0xb8/0x370 [ 9.614691][ T186] __x64_sys_exit_group+0x3c/0x50 [ 9.614693][ T186] x64_sys_call+0x1567/0x1570 [ 9.614696][ T186] do_syscall_64+0x10e/0x570 [ 9.614699][ T186] ? exc_page_fault+0xee/0x100 [ 9.614702][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.614704][ T186] RIP: 0033:0x7f9083de01b8 [ 9.614706][ T186] Code: Unable to access opcode bytes at 0x7f9083de018e. [ 9.614707][ T186] RSP: 002b:00007ffca17baee8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.614710][ T186] RAX: ffffffffffffffda RBX: 00007f9083f10f88 RCX: 00007f9083de01b8 [ 9.614711][ T186] RDX: 00007f9083b2afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.614712][ T186] RBP: 00007ffca17baf40 R08: 0000000000000000 R09: 0000000000000050 [ 9.614712][ T186] R10: 00007ffca17bad00 R11: 0000000000000246 R12: 0000000000000001 [ 9.614713][ T186] R13: 0000000000000000 R14: 00007f9083f0f680 R15: 00007f9083f10fa0 [ 9.614720][ T186] [ 9.968780][ T194] ip (194) used greatest stack depth: 23712 bytes left