[ 10.553632][ T208] ip (208) used greatest stack depth: 23632 bytes left [ 10.553654][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.553657][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: ip [ 10.553660][ T208] preempt_count: 2, expected: 0 [ 10.553661][ T208] RCU nest depth: 0, expected: 0 [ 10.553662][ T208] locks held by ip/208: 5, last CPU#2: [ 10.553666][ T208] #0: ffffffffb16027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.553681][ T208] #1: ffffffffb1769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.553689][ T208] #2: ffffffffb1769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.553695][ T208] #3: ffffffffb1689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.553700][ T208] #4: ffffffffb1689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.553706][ T208] irq event stamp: 50704 [ 10.553707][ T208] hardirqs last enabled at (50703): [] __down_trylock_console_sem+0x86/0xa0 [ 10.553712][ T208] hardirqs last disabled at (50704): [] console_emit_next_record+0x3d4/0x4c0 [ 10.553720][ T208] softirqs last enabled at (50698): [] handle_softirqs+0x67c/0x900 [ 10.553723][ T208] softirqs last disabled at (50641): [] __irq_exit_rcu+0x145/0x1c0 [ 10.553727][ T208] Preemption disabled at: [ 10.553728][ T208] [<0000000000000000>] 0x0 [ 10.553737][ T208] CPU: 2 UID: 0 PID: 208 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.553741][ T208] Tainted: [W]=WARN [ 10.553743][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.553745][ T208] Call Trace: [ 10.553748][ T208] [ 10.553750][ T208] dump_stack_lvl+0x6f/0xa0 [ 10.553757][ T208] __might_resched.cold+0x1fe/0x2c1 [ 10.553763][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.553768][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 10.553776][ T208] __kmalloc_noprof+0x443/0x760 [ 10.553780][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 10.553791][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 10.553795][ T208] alloc_buf.isra.0+0x4b/0x260 [ 10.553801][ T208] put_chars+0x1e1/0x2f0 [ 10.553806][ T208] ? __send_to_port+0x420/0x420 [ 10.553808][ T208] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.553815][ T208] ? validate_chain+0x38b/0xc20 [ 10.553824][ T208] hvc_console_print+0x292/0x780 [ 10.553836][ T208] ? hvc_write+0x3a0/0x3a0 [ 10.553840][ T208] ? rcu_is_watching+0x16/0xd0 [ 10.553843][ T208] ? lock_acquire+0x13c/0x160 [ 10.553851][ T208] console_emit_next_record+0x22f/0x4c0 [ 10.553857][ T208] ? devkmsg_read+0x4b0/0x4b0 [ 10.553859][ T208] ? console_flush_one_record+0x106/0x710 [ 10.553864][ T208] ? rcu_is_watching+0x16/0xd0 [ 10.553867][ T208] ? lock_acquire+0x13c/0x160 [ 10.553874][ T208] console_flush_one_record+0x46f/0x710 [ 10.553881][ T208] ? console_emit_next_record+0x4c0/0x4c0 [ 10.553883][ T208] ? __lock_acquire+0x518/0xc20 [ 10.553892][ T208] console_unlock+0xee/0x1f0 [ 10.553896][ T208] ? console_flush_one_record+0x710/0x710 [ 10.553898][ T208] ? rcu_is_watching+0x16/0xd0 [ 10.553901][ T208] ? lock_acquire+0x60/0x160 [ 10.553907][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.553910][ T208] ? vprintk_emit+0x320/0x3e0 [ 10.553915][ T208] vprintk_emit+0x37c/0x3e0 [ 10.553921][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 10.553926][ T208] ? __lock_acquire+0x518/0xc20 [ 10.553933][ T208] _printk+0xc7/0x100 [ 10.553938][ T208] ? snapshot_read.cold+0x21/0x21 [ 10.553943][ T208] ? do_raw_spin_lock+0x131/0x280 [ 10.553948][ T208] ? __rwlock_init+0x150/0x150 [ 10.553954][ T208] ? do_raw_spin_lock+0x131/0x280 [ 10.553959][ T208] do_exit.cold+0x82/0x9c [ 10.553964][ T208] ? exit_notify+0x890/0x890 [ 10.553967][ T208] ? __lock_release.isra.0+0x69/0x1a0 [ 10.553971][ T208] ? rcu_is_watching+0x16/0xd0 [ 10.553978][ T208] do_group_exit+0xb8/0x370 [ 10.553983][ T208] __x64_sys_exit_group+0x3c/0x50 [ 10.553986][ T208] x64_sys_call+0x1567/0x1570 [ 10.553990][ T208] do_syscall_64+0xff/0x530 [ 10.553995][ T208] ? exc_page_fault+0xee/0x100 [ 10.554000][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.554003][ T208] RIP: 0033:0x7f13bf84c1b8 [ 10.554007][ T208] Code: Unable to access opcode bytes at 0x7f13bf84c18e. [ 10.554008][ T208] RSP: 002b:00007ffccebc5c28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.554012][ T208] RAX: ffffffffffffffda RBX: 00007f13bf97cf88 RCX: 00007f13bf84c1b8 [ 10.554014][ T208] RDX: 00007f13bf596fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.554015][ T208] RBP: 00007ffccebc5c80 R08: 0000000000000000 R09: 0000000000008010 [ 10.554017][ T208] R10: 00007ffccebc5a40 R11: 0000000000000246 R12: 0000000000000001 [ 10.554018][ T208] R13: 0000000000000000 R14: 00007f13bf97b680 R15: 00007f13bf97cfa0 [ 10.554032][ T208]