[ 10.222069][ T186] ip (186) used greatest stack depth: 23552 bytes left [ 10.222090][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.222092][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: ip [ 10.222094][ T186] preempt_count: 2, expected: 0 [ 10.222095][ T186] RCU nest depth: 0, expected: 0 [ 10.222096][ T186] locks held by ip/186: 5, last CPU#0: [ 10.222098][ T186] #0: ffffffffbae02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 10.222110][ T186] #1: ffffffffbaf6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.222116][ T186] #2: ffffffffbaf6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.222119][ T186] #3: ffffffffbae89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.222122][ T186] #4: ffffffffbae89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.222126][ T186] irq event stamp: 22280 [ 10.222127][ T186] hardirqs last enabled at (22279): [] __down_trylock_console_sem+0x86/0xa0 [ 10.222130][ T186] hardirqs last disabled at (22280): [] console_emit_next_record+0x3d4/0x4c0 [ 10.222132][ T186] softirqs last enabled at (20718): [] netlink_release+0x17b/0xcf0 [ 10.222136][ T186] softirqs last disabled at (20716): [] netlink_release+0xd2/0xcf0 [ 10.222138][ T186] Preemption disabled at: [ 10.222139][ T186] [<0000000000000000>] 0x0 [ 10.222145][ T186] CPU: 0 UID: 0 PID: 186 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.222149][ T186] Tainted: [W]=WARN [ 10.222150][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.222152][ T186] Call Trace: [ 10.222153][ T186] [ 10.222155][ T186] dump_stack_lvl+0x6f/0xa0 [ 10.222160][ T186] __might_resched.cold+0x1fe/0x2c1 [ 10.222165][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.222168][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 10.222173][ T186] __kmalloc_noprof+0x443/0x760 [ 10.222176][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 10.222182][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 10.222185][ T186] alloc_buf.isra.0+0x4b/0x260 [ 10.222188][ T186] put_chars+0x1e1/0x2f0 [ 10.222191][ T186] ? __send_to_port+0x420/0x420 [ 10.222198][ T186] hvc_console_print+0x292/0x780 [ 10.222205][ T186] ? hvc_write+0x3a0/0x3a0 [ 10.222208][ T186] ? lock_acquire+0x13c/0x160 [ 10.222212][ T186] console_emit_next_record+0x22f/0x4c0 [ 10.222216][ T186] ? devkmsg_read+0x4b0/0x4b0 [ 10.222217][ T186] ? console_flush_one_record+0x106/0x710 [ 10.222220][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.222223][ T186] ? lock_acquire+0x13c/0x160 [ 10.222227][ T186] console_flush_one_record+0x46f/0x710 [ 10.222231][ T186] ? console_emit_next_record+0x4c0/0x4c0 [ 10.222233][ T186] ? __lock_acquire+0x518/0xc20 [ 10.222238][ T186] console_unlock+0xee/0x1f0 [ 10.222240][ T186] ? console_flush_one_record+0x710/0x710 [ 10.222242][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.222243][ T186] ? lock_acquire+0x60/0x160 [ 10.222247][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.222249][ T186] ? vprintk_emit+0x320/0x3e0 [ 10.222252][ T186] vprintk_emit+0x37c/0x3e0 [ 10.222255][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 10.222258][ T186] ? __lock_acquire+0x518/0xc20 [ 10.222262][ T186] _printk+0xc7/0x100 [ 10.222266][ T186] ? snapshot_read.cold+0x21/0x21 [ 10.222268][ T186] ? do_raw_spin_lock+0x131/0x280 [ 10.222271][ T186] ? __rwlock_init+0x150/0x150 [ 10.222275][ T186] ? do_raw_spin_lock+0x131/0x280 [ 10.222278][ T186] do_exit.cold+0x82/0x9c [ 10.222282][ T186] ? exit_notify+0x890/0x890 [ 10.222284][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 10.222287][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.222290][ T186] do_group_exit+0xb8/0x370 [ 10.222293][ T186] __x64_sys_exit_group+0x3c/0x50 [ 10.222295][ T186] x64_sys_call+0x1567/0x1570 [ 10.222298][ T186] do_syscall_64+0x10e/0x570 [ 10.222302][ T186] ? exc_page_fault+0xee/0x100 [ 10.222305][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.222307][ T186] RIP: 0033:0x7f8f46ab21b8 [ 10.222310][ T186] Code: Unable to access opcode bytes at 0x7f8f46ab218e. [ 10.222311][ T186] RSP: 002b:00007ffdab25c468 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.222313][ T186] RAX: ffffffffffffffda RBX: 00007f8f46be2f88 RCX: 00007f8f46ab21b8 [ 10.222314][ T186] RDX: 00007f8f467fcfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.222315][ T186] RBP: 00007ffdab25c4c0 R08: 0000000000000000 R09: 0000000000000050 [ 10.222316][ T186] R10: 00007ffdab25c280 R11: 0000000000000246 R12: 0000000000000001 [ 10.222317][ T186] R13: 0000000000000000 R14: 00007f8f46be1680 R15: 00007f8f46be2fa0 [ 10.222324][ T186]