[ 9.412351][ T203] ip (203) used greatest stack depth: 24208 bytes left [ 9.412368][ T203] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.412370][ T203] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 203, name: ip [ 9.412372][ T203] preempt_count: 2, expected: 0 [ 9.412372][ T203] RCU nest depth: 0, expected: 0 [ 9.412373][ T203] locks held by ip/203: 5, last CPU#2: [ 9.412375][ T203] #0: ffffffffa74167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.412386][ T203] #1: ffffffffa757ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.412391][ T203] #2: ffffffffa757de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.412395][ T203] #3: ffffffffa749d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.412399][ T203] #4: ffffffffa749d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.412403][ T203] irq event stamp: 21570 [ 9.412404][ T203] hardirqs last enabled at (21569): [] __down_trylock_console_sem+0x86/0xa0 [ 9.412407][ T203] hardirqs last disabled at (21570): [] console_emit_next_record+0x3d4/0x4c0 [ 9.412409][ T203] softirqs last enabled at (21564): [] handle_softirqs+0x67c/0x900 [ 9.412411][ T203] softirqs last disabled at (21559): [] __irq_exit_rcu+0x145/0x1c0 [ 9.412413][ T203] Preemption disabled at: [ 9.412414][ T203] [<0000000000000000>] 0x0 [ 9.412420][ T203] CPU: 2 UID: 0 PID: 203 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.412424][ T203] Tainted: [W]=WARN [ 9.412425][ T203] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.412426][ T203] Call Trace: [ 9.412428][ T203] [ 9.412429][ T203] dump_stack_lvl+0x6f/0xa0 [ 9.412436][ T203] __might_resched.cold+0x1fe/0x2c1 [ 9.412440][ T203] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.412444][ T203] ? __kmalloc_noprof+0xdb/0x760 [ 9.412449][ T203] __kmalloc_noprof+0x443/0x760 [ 9.412451][ T203] ? alloc_buf.isra.0+0x4b/0x260 [ 9.412457][ T203] ? do_raw_spin_unlock+0x59/0x250 [ 9.412460][ T203] alloc_buf.isra.0+0x4b/0x260 [ 9.412464][ T203] put_chars+0x1e1/0x2f0 [ 9.412466][ T203] ? __send_to_port+0x420/0x420 [ 9.412467][ T203] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.412470][ T203] ? validate_chain+0x38b/0xc20 [ 9.412476][ T203] hvc_console_print+0x292/0x780 [ 9.412483][ T203] ? hvc_write+0x3a0/0x3a0 [ 9.412486][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.412492][ T203] ? lock_acquire+0x13c/0x160 [ 9.412496][ T203] console_emit_next_record+0x22f/0x4c0 [ 9.412501][ T203] ? devkmsg_read+0x4b0/0x4b0 [ 9.412502][ T203] ? console_flush_one_record+0x106/0x710 [ 9.412506][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.412507][ T203] ? lock_acquire+0x13c/0x160 [ 9.412511][ T203] console_flush_one_record+0x46f/0x710 [ 9.412515][ T203] ? console_emit_next_record+0x4c0/0x4c0 [ 9.412517][ T203] ? __lock_acquire+0x518/0xc20 [ 9.412522][ T203] console_unlock+0xee/0x1f0 [ 9.412525][ T203] ? console_flush_one_record+0x710/0x710 [ 9.412527][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.412529][ T203] ? lock_acquire+0xe0/0x160 [ 9.412532][ T203] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.412534][ T203] ? vprintk_emit+0x320/0x3e0 [ 9.412537][ T203] vprintk_emit+0x37c/0x3e0 [ 9.412540][ T203] ? wake_up_klogd_work_func+0x90/0x90 [ 9.412542][ T203] ? __lock_acquire+0x518/0xc20 [ 9.412546][ T203] _printk+0xc7/0x100 [ 9.412550][ T203] ? snapshot_read.cold+0x21/0x21 [ 9.412552][ T203] ? do_raw_spin_lock+0x131/0x280 [ 9.412555][ T203] ? __rwlock_init+0x150/0x150 [ 9.412559][ T203] ? do_raw_spin_lock+0x131/0x280 [ 9.412561][ T203] do_exit.cold+0x82/0x9c [ 9.412565][ T203] ? exit_notify+0x890/0x890 [ 9.412566][ T203] ? __lock_release.isra.0+0x69/0x1a0 [ 9.412569][ T203] ? rcu_is_watching+0x16/0xd0 [ 9.412572][ T203] do_group_exit+0xb8/0x370 [ 9.412575][ T203] __x64_sys_exit_group+0x3c/0x50 [ 9.412577][ T203] x64_sys_call+0x1567/0x1570 [ 9.412579][ T203] do_syscall_64+0xff/0x530 [ 9.412583][ T203] ? exc_page_fault+0xee/0x100 [ 9.412586][ T203] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.412588][ T203] RIP: 0033:0x7f769b0e71b8 [ 9.412590][ T203] Code: Unable to access opcode bytes at 0x7f769b0e718e. [ 9.412591][ T203] RSP: 002b:00007fffe7b99338 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.412594][ T203] RAX: ffffffffffffffda RBX: 00007f769b217f88 RCX: 00007f769b0e71b8 [ 9.412595][ T203] RDX: 00007f769ae31fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.412596][ T203] RBP: 00007fffe7b99390 R08: 0000000000000000 R09: 0000000000000050 [ 9.412597][ T203] R10: 00007fffe7b99150 R11: 0000000000000246 R12: 0000000000000001 [ 9.412597][ T203] R13: 0000000000000000 R14: 00007f769b216680 R15: 00007f769b217fa0 [ 9.412604][ T203]