[ 9.916814][ T169] ip (169) used greatest stack depth: 24472 bytes left [ 9.916830][ T169] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.916832][ T169] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 169, name: ip [ 9.916833][ T169] preempt_count: 2, expected: 0 [ 9.916834][ T169] RCU nest depth: 0, expected: 0 [ 9.916842][ T169] locks held by ip/169: 5, last CPU#1: [ 9.916844][ T169] #0: ffffffff8cc02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 9.916856][ T169] #1: ffffffff8cd6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.916861][ T169] #2: ffffffff8cd6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.916864][ T169] #3: ffffffff8cc89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.916868][ T169] #4: ffffffff8cc89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.916871][ T169] irq event stamp: 33016 [ 9.916872][ T169] hardirqs last enabled at (33015): [] __down_trylock_console_sem+0x86/0xa0 [ 9.916876][ T169] hardirqs last disabled at (33016): [] console_emit_next_record+0x3d4/0x4c0 [ 9.916877][ T169] softirqs last enabled at (32774): [] handle_softirqs+0x67c/0x900 [ 9.916880][ T169] softirqs last disabled at (32769): [] __irq_exit_rcu+0x145/0x1c0 [ 9.916882][ T169] Preemption disabled at: [ 9.916883][ T169] [<0000000000000000>] 0x0 [ 9.916890][ T169] CPU: 1 UID: 0 PID: 169 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.916894][ T169] Tainted: [W]=WARN [ 9.916894][ T169] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.916896][ T169] Call Trace: [ 9.916898][ T169] [ 9.916899][ T169] dump_stack_lvl+0x6f/0xa0 [ 9.916904][ T169] __might_resched.cold+0x1fe/0x2c1 [ 9.916909][ T169] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.916912][ T169] ? __kmalloc_noprof+0xdb/0x760 [ 9.916917][ T169] __kmalloc_noprof+0x443/0x760 [ 9.916920][ T169] ? alloc_buf.isra.0+0x4b/0x260 [ 9.916926][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 9.916929][ T169] alloc_buf.isra.0+0x4b/0x260 [ 9.916932][ T169] put_chars+0x1e1/0x2f0 [ 9.916935][ T169] ? __send_to_port+0x420/0x420 [ 9.916942][ T169] hvc_console_print+0x292/0x780 [ 9.916949][ T169] ? hvc_write+0x3a0/0x3a0 [ 9.916951][ T169] ? lock_acquire+0x13c/0x160 [ 9.916956][ T169] console_emit_next_record+0x22f/0x4c0 [ 9.916959][ T169] ? devkmsg_read+0x4b0/0x4b0 [ 9.916961][ T169] ? console_flush_one_record+0x106/0x710 [ 9.916963][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.916967][ T169] ? lock_acquire+0x13c/0x160 [ 9.916971][ T169] console_flush_one_record+0x46f/0x710 [ 9.916975][ T169] ? console_emit_next_record+0x4c0/0x4c0 [ 9.916976][ T169] ? __lock_acquire+0x518/0xc20 [ 9.916982][ T169] console_unlock+0xee/0x1f0 [ 9.916984][ T169] ? console_flush_one_record+0x710/0x710 [ 9.916985][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.916987][ T169] ? lock_acquire+0x60/0x160 [ 9.916991][ T169] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.916993][ T169] ? vprintk_emit+0x320/0x3e0 [ 9.916996][ T169] vprintk_emit+0x37c/0x3e0 [ 9.916999][ T169] ? wake_up_klogd_work_func+0x90/0x90 [ 9.917002][ T169] ? __lock_acquire+0x518/0xc20 [ 9.917006][ T169] _printk+0xc7/0x100 [ 9.917010][ T169] ? snapshot_read.cold+0x21/0x21 [ 9.917012][ T169] ? do_raw_spin_lock+0x131/0x280 [ 9.917015][ T169] ? __rwlock_init+0x150/0x150 [ 9.917019][ T169] ? do_raw_spin_lock+0x131/0x280 [ 9.917022][ T169] do_exit.cold+0x82/0x9c [ 9.917026][ T169] ? exit_notify+0x890/0x890 [ 9.917027][ T169] ? __lock_release.isra.0+0x69/0x1a0 [ 9.917030][ T169] ? rcu_is_watching+0x16/0xd0 [ 9.917034][ T169] do_group_exit+0xb8/0x370 [ 9.917037][ T169] __x64_sys_exit_group+0x3c/0x50 [ 9.917039][ T169] x64_sys_call+0x1567/0x1570 [ 9.917042][ T169] do_syscall_64+0x10e/0x570 [ 9.917046][ T169] ? exc_page_fault+0xee/0x100 [ 9.917049][ T169] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.917051][ T169] RIP: 0033:0x7f91417c71b8 [ 9.917053][ T169] Code: Unable to access opcode bytes at 0x7f91417c718e. [ 9.917054][ T169] RSP: 002b:00007ffd30768198 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.917057][ T169] RAX: ffffffffffffffda RBX: 00007f91418f7f88 RCX: 00007f91417c71b8 [ 9.917058][ T169] RDX: 00007f9141511fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.917059][ T169] RBP: 00007ffd307681f0 R08: 0000000000000000 R09: 0000000000000050 [ 9.917060][ T169] R10: 00007ffd30767fb0 R11: 0000000000000246 R12: 0000000000000001 [ 9.917061][ T169] R13: 0000000000000000 R14: 00007f91418f6680 R15: 00007f91418f7fa0 [ 9.917067][ T169]