[ 13.359817][ T231] ip (231) used greatest stack depth: 23328 bytes left [ 13.359837][ T231] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.359839][ T231] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 231, name: ip [ 13.359840][ T231] preempt_count: 2, expected: 0 [ 13.359841][ T231] RCU nest depth: 0, expected: 0 [ 13.359842][ T231] locks held by ip/231: 5, last CPU#1: [ 13.359844][ T231] #0: ffffffffaae027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.359855][ T231] #1: ffffffffaaf99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.359861][ T231] #2: ffffffffaaf99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.359865][ T231] #3: ffffffffaae89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.359869][ T231] #4: ffffffffaae89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 13.359873][ T231] irq event stamp: 39052 [ 13.359874][ T231] hardirqs last enabled at (39051): [] __down_trylock_console_sem+0x86/0xa0 [ 13.359876][ T231] hardirqs last disabled at (39052): [] console_emit_next_record+0x3f8/0x4f0 [ 13.359878][ T231] softirqs last enabled at (38136): [] handle_softirqs+0x67c/0x900 [ 13.359881][ T231] softirqs last disabled at (38131): [] __irq_exit_rcu+0x145/0x1c0 [ 13.359883][ T231] Preemption disabled at: [ 13.359883][ T231] [<0000000000000000>] 0x0 [ 13.359890][ T231] CPU: 1 UID: 0 PID: 231 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.359894][ T231] Tainted: [W]=WARN [ 13.359895][ T231] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.359897][ T231] Call Trace: [ 13.359898][ T231] [ 13.359899][ T231] dump_stack_lvl+0x6f/0xa0 [ 13.359906][ T231] __might_resched.cold+0x1fe/0x2c1 [ 13.359910][ T231] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.359914][ T231] ? __kmalloc_noprof+0xdb/0x760 [ 13.359919][ T231] __kmalloc_noprof+0x443/0x760 [ 13.359922][ T231] ? alloc_buf.isra.0+0x4b/0x260 [ 13.359928][ T231] ? do_raw_spin_unlock+0x59/0x250 [ 13.359939][ T231] alloc_buf.isra.0+0x4b/0x260 [ 13.359942][ T231] put_chars+0x1e1/0x2f0 [ 13.359946][ T231] ? __send_to_port+0x420/0x420 [ 13.359948][ T231] ? printk_get_next_message+0x2fe/0x7d0 [ 13.359951][ T231] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.359954][ T231] ? validate_chain+0x38b/0xc20 [ 13.359958][ T231] hvc_console_print+0x292/0x780 [ 13.359962][ T231] ? __lock_acquire+0x518/0xc20 [ 13.359964][ T231] ? __lock_acquire+0x518/0xc20 [ 13.359969][ T231] ? hvc_write+0x3a0/0x3a0 [ 13.359972][ T231] ? rcu_is_watching+0x16/0xd0 [ 13.359976][ T231] ? lock_acquire+0x13c/0x160 [ 13.359980][ T231] console_emit_next_record+0x252/0x4f0 [ 13.359984][ T231] ? devkmsg_read+0x4e0/0x4e0 [ 13.359989][ T231] ? rcu_is_watching+0x16/0xd0 [ 13.359992][ T231] ? lock_acquire+0x13c/0x160 [ 13.359996][ T231] console_flush_one_record+0x46f/0x710 [ 13.360000][ T231] ? console_emit_next_record+0x4f0/0x4f0 [ 13.360002][ T231] ? __lock_acquire+0x518/0xc20 [ 13.360008][ T231] console_unlock+0xee/0x1f0 [ 13.360011][ T231] ? console_flush_one_record+0x710/0x710 [ 13.360013][ T231] ? rcu_is_watching+0x16/0xd0 [ 13.360015][ T231] ? lock_acquire+0xa0/0x160 [ 13.360019][ T231] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.360021][ T231] ? vprintk_emit+0x320/0x3e0 [ 13.360025][ T231] vprintk_emit+0x37c/0x3e0 [ 13.360028][ T231] ? wake_up_klogd_work_func+0x90/0x90 [ 13.360032][ T231] ? __lock_acquire+0x518/0xc20 [ 13.360036][ T231] _printk+0xc7/0x100 [ 13.360039][ T231] ? snapshot_read.cold+0x21/0x21 [ 13.360042][ T231] ? do_raw_spin_lock+0x131/0x280 [ 13.360045][ T231] ? __rwlock_init+0x150/0x150 [ 13.360049][ T231] ? do_raw_spin_lock+0x131/0x280 [ 13.360052][ T231] do_exit.cold+0x82/0x9c [ 13.360056][ T231] ? exit_notify+0x890/0x890 [ 13.360058][ T231] ? __lock_release.isra.0+0x69/0x1a0 [ 13.360061][ T231] ? rcu_is_watching+0x16/0xd0 [ 13.360065][ T231] do_group_exit+0xb8/0x370 [ 13.360072][ T231] __x64_sys_exit_group+0x3c/0x50 [ 13.360074][ T231] x64_sys_call+0x1567/0x1570 [ 13.360076][ T231] do_syscall_64+0xff/0x530 [ 13.360080][ T231] ? exc_page_fault+0xee/0x100 [ 13.360084][ T231] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.360086][ T231] RIP: 0033:0x7f3a10dc91b8 [ 13.360089][ T231] Code: Unable to access opcode bytes at 0x7f3a10dc918e. [ 13.360090][ T231] RSP: 002b:00007ffef159c398 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.360092][ T231] RAX: ffffffffffffffda RBX: 00007f3a10ef9f88 RCX: 00007f3a10dc91b8 [ 13.360094][ T231] RDX: 00007f3a10b13fc8 RSI: fffffffffffffeb8 RDI: 0000000000000002 [ 13.360095][ T231] RBP: 00007ffef159c3f0 R08: 0000000000000000 R09: 0000000000008010 [ 13.360096][ T231] R10: 00007ffef159c1b0 R11: 0000000000000246 R12: 0000000000000001 [ 13.360097][ T231] R13: 0000000000000002 R14: 00007f3a10ef8680 R15: 00007f3a10ef9fa0 [ 13.360104][ T231]