[ 11.281401][ T182] ip (182) used greatest stack depth: 23752 bytes left [ 11.281418][ T182] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.281421][ T182] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 182, name: ip [ 11.281422][ T182] preempt_count: 2, expected: 0 [ 11.281423][ T182] RCU nest depth: 0, expected: 0 [ 11.281424][ T182] locks held by ip/182: 5, last CPU#2: [ 11.281426][ T182] #0: ffffffffad002f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 11.281438][ T182] #1: ffffffffad16a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.281443][ T182] #2: ffffffffad16a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.281446][ T182] #3: ffffffffad089de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.281450][ T182] #4: ffffffffad089ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.281453][ T182] irq event stamp: 30982 [ 11.281454][ T182] hardirqs last enabled at (30981): [] __down_trylock_console_sem+0x86/0xa0 [ 11.281457][ T182] hardirqs last disabled at (30982): [] console_emit_next_record+0x3d4/0x4c0 [ 11.281459][ T182] softirqs last enabled at (30808): [] handle_softirqs+0x67c/0x900 [ 11.281461][ T182] softirqs last disabled at (30803): [] __irq_exit_rcu+0x145/0x1c0 [ 11.281464][ T182] Preemption disabled at: [ 11.281464][ T182] [<0000000000000000>] 0x0 [ 11.281471][ T182] CPU: 2 UID: 0 PID: 182 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.281474][ T182] Tainted: [W]=WARN [ 11.281475][ T182] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.281477][ T182] Call Trace: [ 11.281479][ T182] [ 11.281480][ T182] dump_stack_lvl+0x6f/0xa0 [ 11.281486][ T182] __might_resched.cold+0x1fe/0x2c1 [ 11.281490][ T182] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.281493][ T182] ? __kmalloc_noprof+0xdb/0x760 [ 11.281498][ T182] __kmalloc_noprof+0x443/0x760 [ 11.281500][ T182] ? alloc_buf.isra.0+0x4b/0x260 [ 11.281506][ T182] ? do_raw_spin_unlock+0x59/0x250 [ 11.281509][ T182] alloc_buf.isra.0+0x4b/0x260 [ 11.281512][ T182] put_chars+0x1e1/0x2f0 [ 11.281515][ T182] ? __send_to_port+0x420/0x420 [ 11.281521][ T182] hvc_console_print+0x292/0x780 [ 11.281528][ T182] ? hvc_write+0x3a0/0x3a0 [ 11.281531][ T182] ? lock_acquire+0x13c/0x160 [ 11.281535][ T182] console_emit_next_record+0x22f/0x4c0 [ 11.281538][ T182] ? devkmsg_read+0x4b0/0x4b0 [ 11.281540][ T182] ? console_flush_one_record+0x106/0x710 [ 11.281542][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.281546][ T182] ? lock_acquire+0x13c/0x160 [ 11.281550][ T182] console_flush_one_record+0x46f/0x710 [ 11.281553][ T182] ? console_emit_next_record+0x4c0/0x4c0 [ 11.281555][ T182] ? __lock_acquire+0x518/0xc20 [ 11.281560][ T182] console_unlock+0xee/0x1f0 [ 11.281562][ T182] ? console_flush_one_record+0x710/0x710 [ 11.281563][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.281565][ T182] ? lock_acquire+0x60/0x160 [ 11.281569][ T182] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.281571][ T182] ? vprintk_emit+0x320/0x3e0 [ 11.281574][ T182] vprintk_emit+0x37c/0x3e0 [ 11.281577][ T182] ? wake_up_klogd_work_func+0x90/0x90 [ 11.281580][ T182] ? __lock_acquire+0x518/0xc20 [ 11.281583][ T182] _printk+0xc7/0x100 [ 11.281587][ T182] ? snapshot_read.cold+0x21/0x21 [ 11.281589][ T182] ? do_raw_spin_lock+0x131/0x280 [ 11.281592][ T182] ? __rwlock_init+0x150/0x150 [ 11.281596][ T182] ? do_raw_spin_lock+0x131/0x280 [ 11.281599][ T182] do_exit.cold+0x82/0x9c [ 11.281603][ T182] ? exit_notify+0x890/0x890 [ 11.281604][ T182] ? __lock_release.isra.0+0x69/0x1a0 [ 11.281607][ T182] ? rcu_is_watching+0x16/0xd0 [ 11.281611][ T182] do_group_exit+0xb8/0x370 [ 11.281614][ T182] __x64_sys_exit_group+0x3c/0x50 [ 11.281616][ T182] x64_sys_call+0x1567/0x1570 [ 11.281619][ T182] do_syscall_64+0x10e/0x570 [ 11.281622][ T182] ? exc_page_fault+0xee/0x100 [ 11.281625][ T182] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.281628][ T182] RIP: 0033:0x7fa0ca8131b8 [ 11.281630][ T182] Code: Unable to access opcode bytes at 0x7fa0ca81318e. [ 11.281631][ T182] RSP: 002b:00007ffea17dca58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.281633][ T182] RAX: ffffffffffffffda RBX: 00007fa0ca943f88 RCX: 00007fa0ca8131b8 [ 11.281635][ T182] RDX: 00007fa0ca55dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.281636][ T182] RBP: 00007ffea17dcab0 R08: 0000000000000000 R09: 0000000000000050 [ 11.281637][ T182] R10: 00007ffea17dc870 R11: 0000000000000246 R12: 0000000000000001 [ 11.281637][ T182] R13: 0000000000000000 R14: 00007fa0ca942680 R15: 00007fa0ca943fa0 [ 11.281644][ T182]