[ 9.581663][ T186] ip (186) used greatest stack depth: 24480 bytes left [ 9.581680][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.581682][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: ip [ 9.581683][ T186] preempt_count: 2, expected: 0 [ 9.581684][ T186] RCU nest depth: 0, expected: 0 [ 9.581685][ T186] locks held by ip/186: 5, last CPU#2: [ 9.581687][ T186] #0: ffffffff9ec027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.581700][ T186] #1: ffffffff9ed69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.581706][ T186] #2: ffffffff9ed69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.581711][ T186] #3: ffffffff9ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.581715][ T186] #4: ffffffff9ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.581719][ T186] irq event stamp: 40468 [ 9.581719][ T186] hardirqs last enabled at (40467): [] __down_trylock_console_sem+0x86/0xa0 [ 9.581722][ T186] hardirqs last disabled at (40468): [] console_emit_next_record+0x3d4/0x4c0 [ 9.581724][ T186] softirqs last enabled at (39564): [] handle_softirqs+0x67c/0x900 [ 9.581726][ T186] softirqs last disabled at (39559): [] __irq_exit_rcu+0x145/0x1c0 [ 9.581728][ T186] Preemption disabled at: [ 9.581729][ T186] [<0000000000000000>] 0x0 [ 9.581736][ T186] CPU: 2 UID: 0 PID: 186 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.581740][ T186] Tainted: [W]=WARN [ 9.581740][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.581742][ T186] Call Trace: [ 9.581744][ T186] [ 9.581746][ T186] dump_stack_lvl+0x6f/0xa0 [ 9.581752][ T186] __might_resched.cold+0x1fe/0x2c1 [ 9.581757][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.581761][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 9.581767][ T186] __kmalloc_noprof+0x443/0x760 [ 9.581769][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 9.581775][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 9.581778][ T186] alloc_buf.isra.0+0x4b/0x260 [ 9.581781][ T186] put_chars+0x1e1/0x2f0 [ 9.581784][ T186] ? __send_to_port+0x420/0x420 [ 9.581785][ T186] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.581790][ T186] ? validate_chain+0x38b/0xc20 [ 9.581796][ T186] hvc_console_print+0x292/0x780 [ 9.581802][ T186] ? hvc_write+0x3a0/0x3a0 [ 9.581804][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.581807][ T186] ? lock_acquire+0x13c/0x160 [ 9.581811][ T186] console_emit_next_record+0x22f/0x4c0 [ 9.581815][ T186] ? devkmsg_read+0x4b0/0x4b0 [ 9.581817][ T186] ? console_flush_one_record+0x106/0x710 [ 9.581820][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.581822][ T186] ? lock_acquire+0x13c/0x160 [ 9.581826][ T186] console_flush_one_record+0x46f/0x710 [ 9.581830][ T186] ? console_emit_next_record+0x4c0/0x4c0 [ 9.581832][ T186] ? __lock_acquire+0x518/0xc20 [ 9.581838][ T186] console_unlock+0xee/0x1f0 [ 9.581841][ T186] ? console_flush_one_record+0x710/0x710 [ 9.581842][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.581845][ T186] ? lock_acquire+0x60/0x160 [ 9.581848][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.581850][ T186] ? vprintk_emit+0x320/0x3e0 [ 9.581853][ T186] vprintk_emit+0x37c/0x3e0 [ 9.581857][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 9.581861][ T186] ? __lock_acquire+0x518/0xc20 [ 9.581864][ T186] _printk+0xc7/0x100 [ 9.581868][ T186] ? snapshot_read.cold+0x21/0x21 [ 9.581871][ T186] ? do_raw_spin_lock+0x131/0x280 [ 9.581873][ T186] ? __rwlock_init+0x150/0x150 [ 9.581877][ T186] ? do_raw_spin_lock+0x131/0x280 [ 9.581880][ T186] do_exit.cold+0x82/0x9c [ 9.581883][ T186] ? exit_notify+0x890/0x890 [ 9.581885][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 9.581888][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.581892][ T186] do_group_exit+0xb8/0x370 [ 9.581895][ T186] __x64_sys_exit_group+0x3c/0x50 [ 9.581897][ T186] x64_sys_call+0x1567/0x1570 [ 9.581899][ T186] do_syscall_64+0xff/0x530 [ 9.581902][ T186] ? exc_page_fault+0xee/0x100 [ 9.581905][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.581907][ T186] RIP: 0033:0x7f31c35711b8 [ 9.581910][ T186] Code: Unable to access opcode bytes at 0x7f31c357118e. [ 9.581911][ T186] RSP: 002b:00007ffda3c533d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.581913][ T186] RAX: ffffffffffffffda RBX: 00007f31c36a1f88 RCX: 00007f31c35711b8 [ 9.581915][ T186] RDX: 00007f31c32bbfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.581916][ T186] RBP: 00007ffda3c53430 R08: 0000000000000000 R09: 0000000000008010 [ 9.581916][ T186] R10: 00007ffda3c531f0 R11: 0000000000000246 R12: 0000000000000001 [ 9.581917][ T186] R13: 0000000000000000 R14: 00007f31c36a0680 R15: 00007f31c36a1fa0 [ 9.581924][ T186] [ 9.753409][ T193] ip (193) used greatest stack depth: 23632 bytes left