[ 9.200670][ T200] ip (200) used greatest stack depth: 24048 bytes left [ 9.200686][ T200] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.200688][ T200] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 200, name: ip [ 9.200689][ T200] preempt_count: 2, expected: 0 [ 9.200690][ T200] RCU nest depth: 0, expected: 0 [ 9.200691][ T200] locks held by ip/200: 5, last CPU#1: [ 9.200693][ T200] #0: ffffffff938167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.200704][ T200] #1: ffffffff9397ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.200709][ T200] #2: ffffffff9397de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.200713][ T200] #3: ffffffff9389d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.200717][ T200] #4: ffffffff9389d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.200721][ T200] irq event stamp: 51152 [ 9.200721][ T200] hardirqs last enabled at (51151): [] __down_trylock_console_sem+0x86/0xa0 [ 9.200724][ T200] hardirqs last disabled at (51152): [] console_emit_next_record+0x3d4/0x4c0 [ 9.200726][ T200] softirqs last enabled at (51146): [] handle_softirqs+0x67c/0x900 [ 9.200728][ T200] softirqs last disabled at (51141): [] __irq_exit_rcu+0x145/0x1c0 [ 9.200731][ T200] Preemption disabled at: [ 9.200732][ T200] [<0000000000000000>] 0x0 [ 9.200738][ T200] CPU: 1 UID: 0 PID: 200 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.200741][ T200] Tainted: [W]=WARN [ 9.200742][ T200] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.200744][ T200] Call Trace: [ 9.200745][ T200] [ 9.200746][ T200] dump_stack_lvl+0x6f/0xa0 [ 9.200753][ T200] __might_resched.cold+0x1fe/0x2c1 [ 9.200758][ T200] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.200762][ T200] ? __kmalloc_noprof+0xdb/0x760 [ 9.200766][ T200] __kmalloc_noprof+0x443/0x760 [ 9.200768][ T200] ? alloc_buf.isra.0+0x4b/0x260 [ 9.200775][ T200] ? do_raw_spin_unlock+0x59/0x250 [ 9.200777][ T200] alloc_buf.isra.0+0x4b/0x260 [ 9.200781][ T200] put_chars+0x1e1/0x2f0 [ 9.200783][ T200] ? __send_to_port+0x420/0x420 [ 9.200784][ T200] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.200788][ T200] ? validate_chain+0x38b/0xc20 [ 9.200793][ T200] hvc_console_print+0x292/0x780 [ 9.200800][ T200] ? hvc_write+0x3a0/0x3a0 [ 9.200803][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.200805][ T200] ? lock_acquire+0x13c/0x160 [ 9.200809][ T200] console_emit_next_record+0x22f/0x4c0 [ 9.200813][ T200] ? devkmsg_read+0x4b0/0x4b0 [ 9.200815][ T200] ? console_flush_one_record+0x106/0x710 [ 9.200818][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.200819][ T200] ? lock_acquire+0x13c/0x160 [ 9.200823][ T200] console_flush_one_record+0x46f/0x710 [ 9.200827][ T200] ? console_emit_next_record+0x4c0/0x4c0 [ 9.200829][ T200] ? __lock_acquire+0x518/0xc20 [ 9.200834][ T200] console_unlock+0xee/0x1f0 [ 9.200837][ T200] ? console_flush_one_record+0x710/0x710 [ 9.200839][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.200840][ T200] ? lock_acquire+0xe0/0x160 [ 9.200844][ T200] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.200846][ T200] ? vprintk_emit+0x320/0x3e0 [ 9.200848][ T200] vprintk_emit+0x37c/0x3e0 [ 9.200852][ T200] ? wake_up_klogd_work_func+0x90/0x90 [ 9.200854][ T200] ? __lock_acquire+0x518/0xc20 [ 9.200858][ T200] _printk+0xc7/0x100 [ 9.200861][ T200] ? snapshot_read.cold+0x21/0x21 [ 9.200864][ T200] ? do_raw_spin_lock+0x131/0x280 [ 9.200867][ T200] ? __rwlock_init+0x150/0x150 [ 9.200870][ T200] ? do_raw_spin_lock+0x131/0x280 [ 9.200873][ T200] do_exit.cold+0x82/0x9c [ 9.200876][ T200] ? exit_notify+0x890/0x890 [ 9.200878][ T200] ? __lock_release.isra.0+0x69/0x1a0 [ 9.200881][ T200] ? rcu_is_watching+0x16/0xd0 [ 9.200884][ T200] do_group_exit+0xb8/0x370 [ 9.200887][ T200] __x64_sys_exit_group+0x3c/0x50 [ 9.200888][ T200] x64_sys_call+0x1567/0x1570 [ 9.200891][ T200] do_syscall_64+0xff/0x530 [ 9.200895][ T200] ? exc_page_fault+0xee/0x100 [ 9.200898][ T200] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.200900][ T200] RIP: 0033:0x7fcd3cba11b8 [ 9.200902][ T200] Code: Unable to access opcode bytes at 0x7fcd3cba118e. [ 9.200903][ T200] RSP: 002b:00007ffeff0bf9c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.200905][ T200] RAX: ffffffffffffffda RBX: 00007fcd3ccd1f88 RCX: 00007fcd3cba11b8 [ 9.200906][ T200] RDX: 00007fcd3c8ebfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.200907][ T200] RBP: 00007ffeff0bfa20 R08: 0000000000000000 R09: 0000000000000000 [ 9.200908][ T200] R10: 00007ffeff0bf7e0 R11: 0000000000000246 R12: 0000000000000001 [ 9.200909][ T200] R13: 0000000000000000 R14: 00007fcd3ccd0680 R15: 00007fcd3ccd1fa0 [ 9.200915][ T200]