[ 10.422759][ T212] ip (212) used greatest stack depth: 23216 bytes left [ 10.422774][ T212] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.422775][ T212] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 212, name: ip [ 10.422777][ T212] preempt_count: 2, expected: 0 [ 10.422778][ T212] RCU nest depth: 0, expected: 0 [ 10.422779][ T212] locks held by ip/212: 5, last CPU#3: [ 10.422781][ T212] #0: ffffffffa1e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.422792][ T212] #1: ffffffffa1f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.422796][ T212] #2: ffffffffa1f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.422800][ T212] #3: ffffffffa1e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.422804][ T212] #4: ffffffffa1e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.422808][ T212] irq event stamp: 23574 [ 10.422809][ T212] hardirqs last enabled at (23573): [] __down_trylock_console_sem+0x86/0xa0 [ 10.422812][ T212] hardirqs last disabled at (23574): [] console_emit_next_record+0x3d4/0x4c0 [ 10.422814][ T212] softirqs last enabled at (23456): [] handle_softirqs+0x67c/0x900 [ 10.422816][ T212] softirqs last disabled at (23449): [] __irq_exit_rcu+0x145/0x1c0 [ 10.422818][ T212] Preemption disabled at: [ 10.422819][ T212] [<0000000000000000>] 0x0 [ 10.422825][ T212] CPU: 3 UID: 0 PID: 212 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.422829][ T212] Tainted: [W]=WARN [ 10.422830][ T212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.422831][ T212] Call Trace: [ 10.422833][ T212] [ 10.422834][ T212] dump_stack_lvl+0x6f/0xa0 [ 10.422840][ T212] __might_resched.cold+0x1fe/0x2c1 [ 10.422845][ T212] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.422849][ T212] ? __kmalloc_noprof+0xdb/0x760 [ 10.422853][ T212] __kmalloc_noprof+0x443/0x760 [ 10.422855][ T212] ? alloc_buf.isra.0+0x4b/0x260 [ 10.422862][ T212] ? do_raw_spin_unlock+0x59/0x250 [ 10.422865][ T212] alloc_buf.isra.0+0x4b/0x260 [ 10.422868][ T212] put_chars+0x1e1/0x2f0 [ 10.422871][ T212] ? __send_to_port+0x420/0x420 [ 10.422872][ T212] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.422875][ T212] ? validate_chain+0x38b/0xc20 [ 10.422881][ T212] hvc_console_print+0x292/0x780 [ 10.422888][ T212] ? hvc_write+0x3a0/0x3a0 [ 10.422891][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.422893][ T212] ? lock_acquire+0x13c/0x160 [ 10.422897][ T212] console_emit_next_record+0x22f/0x4c0 [ 10.422900][ T212] ? devkmsg_read+0x4b0/0x4b0 [ 10.422902][ T212] ? console_flush_one_record+0x106/0x710 [ 10.422905][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.422907][ T212] ? lock_acquire+0x13c/0x160 [ 10.422911][ T212] console_flush_one_record+0x46f/0x710 [ 10.422915][ T212] ? console_emit_next_record+0x4c0/0x4c0 [ 10.422917][ T212] ? __lock_acquire+0x518/0xc20 [ 10.422922][ T212] console_unlock+0xee/0x1f0 [ 10.422925][ T212] ? console_flush_one_record+0x710/0x710 [ 10.422927][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.422928][ T212] ? lock_acquire+0xe0/0x160 [ 10.422932][ T212] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.422934][ T212] ? vprintk_emit+0x320/0x3e0 [ 10.422936][ T212] vprintk_emit+0x37c/0x3e0 [ 10.422939][ T212] ? wake_up_klogd_work_func+0x90/0x90 [ 10.422942][ T212] ? __lock_acquire+0x518/0xc20 [ 10.422946][ T212] _printk+0xc7/0x100 [ 10.422949][ T212] ? snapshot_read.cold+0x21/0x21 [ 10.422952][ T212] ? do_raw_spin_lock+0x131/0x280 [ 10.422954][ T212] ? __rwlock_init+0x150/0x150 [ 10.422958][ T212] ? do_raw_spin_lock+0x131/0x280 [ 10.422961][ T212] do_exit.cold+0x82/0x9c [ 10.422964][ T212] ? exit_notify+0x890/0x890 [ 10.422966][ T212] ? __lock_release.isra.0+0x69/0x1a0 [ 10.422968][ T212] ? rcu_is_watching+0x16/0xd0 [ 10.422972][ T212] do_group_exit+0xb8/0x370 [ 10.422974][ T212] __x64_sys_exit_group+0x3c/0x50 [ 10.422976][ T212] x64_sys_call+0x1567/0x1570 [ 10.422979][ T212] do_syscall_64+0xff/0x530 [ 10.422982][ T212] ? exc_page_fault+0xee/0x100 [ 10.422985][ T212] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.422987][ T212] RIP: 0033:0x7fa793c251b8 [ 10.422989][ T212] Code: Unable to access opcode bytes at 0x7fa793c2518e. [ 10.422991][ T212] RSP: 002b:00007fff49e30a38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.422993][ T212] RAX: ffffffffffffffda RBX: 00007fa793d55f88 RCX: 00007fa793c251b8 [ 10.422994][ T212] RDX: 00007fa79396ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.422995][ T212] RBP: 00007fff49e30a90 R08: 0000000000000000 R09: 0000000000000060 [ 10.422996][ T212] R10: 00007fff49e30850 R11: 0000000000000246 R12: 0000000000000001 [ 10.422997][ T212] R13: 0000000000000000 R14: 00007fa793d54680 R15: 00007fa793d55fa0 [ 10.423004][ T212]