[ 9.140350][ T176] ip (176) used greatest stack depth: 24760 bytes left [ 9.140366][ T176] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.140368][ T176] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 176, name: ip [ 9.140370][ T176] preempt_count: 2, expected: 0 [ 9.140371][ T176] RCU nest depth: 0, expected: 0 [ 9.140372][ T176] locks held by ip/176: 5, last CPU#1: [ 9.140374][ T176] #0: ffffffffad4027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.140386][ T176] #1: ffffffffad569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.140391][ T176] #2: ffffffffad569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.140395][ T176] #3: ffffffffad489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.140398][ T176] #4: ffffffffad489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.140401][ T176] irq event stamp: 19246 [ 9.140402][ T176] hardirqs last enabled at (19245): [] __down_trylock_console_sem+0x86/0xa0 [ 9.140406][ T176] hardirqs last disabled at (19246): [] console_emit_next_record+0x3d4/0x4c0 [ 9.140408][ T176] softirqs last enabled at (18406): [] handle_softirqs+0x67c/0x900 [ 9.140410][ T176] softirqs last disabled at (18399): [] __irq_exit_rcu+0x145/0x1c0 [ 9.140412][ T176] Preemption disabled at: [ 9.140413][ T176] [<0000000000000000>] 0x0 [ 9.140419][ T176] CPU: 1 UID: 0 PID: 176 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.140423][ T176] Tainted: [W]=WARN [ 9.140424][ T176] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.140426][ T176] Call Trace: [ 9.140427][ T176] [ 9.140429][ T176] dump_stack_lvl+0x6f/0xa0 [ 9.140434][ T176] __might_resched.cold+0x1fe/0x2c1 [ 9.140438][ T176] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.140442][ T176] ? __kmalloc_noprof+0xdb/0x760 [ 9.140447][ T176] __kmalloc_noprof+0x443/0x760 [ 9.140450][ T176] ? alloc_buf.isra.0+0x4b/0x260 [ 9.140456][ T176] ? do_raw_spin_unlock+0x59/0x250 [ 9.140459][ T176] alloc_buf.isra.0+0x4b/0x260 [ 9.140462][ T176] put_chars+0x1e1/0x2f0 [ 9.140465][ T176] ? __send_to_port+0x420/0x420 [ 9.140467][ T176] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.140471][ T176] ? validate_chain+0x38b/0xc20 [ 9.140477][ T176] hvc_console_print+0x292/0x780 [ 9.140483][ T176] ? hvc_write+0x3a0/0x3a0 [ 9.140486][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.140488][ T176] ? lock_acquire+0x13c/0x160 [ 9.140492][ T176] console_emit_next_record+0x22f/0x4c0 [ 9.140495][ T176] ? devkmsg_read+0x4b0/0x4b0 [ 9.140497][ T176] ? console_flush_one_record+0x106/0x710 [ 9.140499][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.140501][ T176] ? lock_acquire+0x13c/0x160 [ 9.140505][ T176] console_flush_one_record+0x46f/0x710 [ 9.140509][ T176] ? console_emit_next_record+0x4c0/0x4c0 [ 9.140510][ T176] ? __lock_acquire+0x518/0xc20 [ 9.140516][ T176] console_unlock+0xee/0x1f0 [ 9.140518][ T176] ? console_flush_one_record+0x710/0x710 [ 9.140519][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.140522][ T176] ? lock_acquire+0x60/0x160 [ 9.140525][ T176] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.140527][ T176] ? vprintk_emit+0x320/0x3e0 [ 9.140530][ T176] vprintk_emit+0x37c/0x3e0 [ 9.140534][ T176] ? wake_up_klogd_work_func+0x90/0x90 [ 9.140537][ T176] ? __lock_acquire+0x518/0xc20 [ 9.140540][ T176] _printk+0xc7/0x100 [ 9.140544][ T176] ? snapshot_read.cold+0x21/0x21 [ 9.140547][ T176] ? do_raw_spin_lock+0x131/0x280 [ 9.140550][ T176] ? __rwlock_init+0x150/0x150 [ 9.140554][ T176] ? do_raw_spin_lock+0x131/0x280 [ 9.140557][ T176] do_exit.cold+0x82/0x9c [ 9.140560][ T176] ? exit_notify+0x890/0x890 [ 9.140562][ T176] ? __lock_release.isra.0+0x69/0x1a0 [ 9.140565][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.140568][ T176] do_group_exit+0xb8/0x370 [ 9.140571][ T176] __x64_sys_exit_group+0x3c/0x50 [ 9.140574][ T176] x64_sys_call+0x1567/0x1570 [ 9.140576][ T176] do_syscall_64+0xff/0x530 [ 9.140581][ T176] ? exc_page_fault+0xee/0x100 [ 9.140584][ T176] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.140586][ T176] RIP: 0033:0x7f57ada841b8 [ 9.140588][ T176] Code: Unable to access opcode bytes at 0x7f57ada8418e. [ 9.140589][ T176] RSP: 002b:00007fff6ac19348 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.140592][ T176] RAX: ffffffffffffffda RBX: 00007f57adbb4f88 RCX: 00007f57ada841b8 [ 9.140593][ T176] RDX: 00007f57ad7cefc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.140594][ T176] RBP: 00007fff6ac193a0 R08: 0000000000000000 R09: 0000000000008010 [ 9.140595][ T176] R10: 00007fff6ac19160 R11: 0000000000000246 R12: 0000000000000001 [ 9.140596][ T176] R13: 0000000000000000 R14: 00007f57adbb3680 R15: 00007f57adbb4fa0 [ 9.140602][ T176]