[ 18.590399][ T438] ip (438) used greatest stack depth: 24208 bytes left [ 18.590414][ T438] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 18.590416][ T438] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 438, name: ip [ 18.590418][ T438] preempt_count: 2, expected: 0 [ 18.590418][ T438] RCU nest depth: 0, expected: 0 [ 18.590419][ T438] locks held by ip/438: 5, last CPU#0: [ 18.590421][ T438] #0: ffffffffb74027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 18.590432][ T438] #1: ffffffffb7599dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 18.590438][ T438] #2: ffffffffb7599e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 18.590442][ T438] #3: ffffffffb7489760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 18.590445][ T438] #4: ffffffffb7489660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 18.590449][ T438] irq event stamp: 17780 [ 18.590450][ T438] hardirqs last enabled at (17779): [] __down_trylock_console_sem+0x86/0xa0 [ 18.590452][ T438] hardirqs last disabled at (17780): [] console_emit_next_record+0x3f8/0x4f0 [ 18.590454][ T438] softirqs last enabled at (16496): [] netlink_release+0x17b/0xcf0 [ 18.590458][ T438] softirqs last disabled at (16494): [] netlink_release+0xd2/0xcf0 [ 18.590461][ T438] Preemption disabled at: [ 18.590462][ T438] [<0000000000000000>] 0x0 [ 18.590468][ T438] CPU: 0 UID: 0 PID: 438 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 18.590472][ T438] Tainted: [W]=WARN [ 18.590472][ T438] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.590474][ T438] Call Trace: [ 18.590475][ T438] [ 18.590477][ T438] dump_stack_lvl+0x6f/0xa0 [ 18.590483][ T438] __might_resched.cold+0x1fe/0x2c1 [ 18.590488][ T438] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 18.590491][ T438] ? __kmalloc_noprof+0xdb/0x760 [ 18.590496][ T438] __kmalloc_noprof+0x443/0x760 [ 18.590499][ T438] ? alloc_buf.isra.0+0x4b/0x260 [ 18.590505][ T438] ? do_raw_spin_unlock+0x59/0x250 [ 18.590507][ T438] alloc_buf.isra.0+0x4b/0x260 [ 18.590511][ T438] put_chars+0x1e1/0x2f0 [ 18.590514][ T438] ? __send_to_port+0x420/0x420 [ 18.590516][ T438] ? printk_get_next_message+0x2fe/0x7d0 [ 18.590520][ T438] ? rcu_read_lock_any_held+0x3c/0x90 [ 18.590523][ T438] ? validate_chain+0x38b/0xc20 [ 18.590526][ T438] hvc_console_print+0x292/0x780 [ 18.590530][ T438] ? __lock_acquire+0x518/0xc20 [ 18.590532][ T438] ? __lock_acquire+0x518/0xc20 [ 18.590536][ T438] ? hvc_write+0x3a0/0x3a0 [ 18.590539][ T438] ? rcu_is_watching+0x16/0xd0 [ 18.590543][ T438] ? lock_acquire+0x13c/0x160 [ 18.590546][ T438] console_emit_next_record+0x252/0x4f0 [ 18.590550][ T438] ? devkmsg_read+0x4e0/0x4e0 [ 18.590554][ T438] ? rcu_is_watching+0x16/0xd0 [ 18.590556][ T438] ? lock_acquire+0x13c/0x160 [ 18.590560][ T438] console_flush_one_record+0x46f/0x710 [ 18.590564][ T438] ? console_emit_next_record+0x4f0/0x4f0 [ 18.590566][ T438] ? __lock_acquire+0x518/0xc20 [ 18.590571][ T438] console_unlock+0xee/0x1f0 [ 18.590573][ T438] ? console_flush_one_record+0x710/0x710 [ 18.590575][ T438] ? rcu_is_watching+0x16/0xd0 [ 18.590577][ T438] ? lock_acquire+0xa0/0x160 [ 18.590581][ T438] ? __down_trylock_console_sem+0x5e/0xa0 [ 18.590582][ T438] ? vprintk_emit+0x320/0x3e0 [ 18.590586][ T438] vprintk_emit+0x37c/0x3e0 [ 18.590589][ T438] ? wake_up_klogd_work_func+0x90/0x90 [ 18.590593][ T438] ? __lock_acquire+0x518/0xc20 [ 18.590596][ T438] _printk+0xc7/0x100 [ 18.590600][ T438] ? snapshot_read.cold+0x21/0x21 [ 18.590602][ T438] ? do_raw_spin_lock+0x131/0x280 [ 18.590605][ T438] ? __rwlock_init+0x150/0x150 [ 18.590609][ T438] ? do_raw_spin_lock+0x131/0x280 [ 18.590611][ T438] do_exit.cold+0x82/0x9c [ 18.590615][ T438] ? exit_notify+0x890/0x890 [ 18.590616][ T438] ? __lock_release.isra.0+0x69/0x1a0 [ 18.590619][ T438] ? rcu_is_watching+0x16/0xd0 [ 18.590622][ T438] do_group_exit+0xb8/0x370 [ 18.590625][ T438] __x64_sys_exit_group+0x3c/0x50 [ 18.590627][ T438] x64_sys_call+0x1567/0x1570 [ 18.590629][ T438] do_syscall_64+0xff/0x530 [ 18.590632][ T438] ? exc_page_fault+0xee/0x100 [ 18.590639][ T438] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.590641][ T438] RIP: 0033:0x7f9b39fbd1b8 [ 18.590643][ T438] Code: Unable to access opcode bytes at 0x7f9b39fbd18e. [ 18.590644][ T438] RSP: 002b:00007fff2a5ad158 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 18.590646][ T438] RAX: ffffffffffffffda RBX: 00007f9b3a0edf88 RCX: 00007f9b39fbd1b8 [ 18.590648][ T438] RDX: 00007f9b39d07fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 18.590648][ T438] RBP: 00007fff2a5ad1b0 R08: 0000000000000000 R09: 0000000000000050 [ 18.590649][ T438] R10: 00007fff2a5acf70 R11: 0000000000000246 R12: 0000000000000001 [ 18.590650][ T438] R13: 0000000000000000 R14: 00007f9b3a0ec680 R15: 00007f9b3a0edfa0 [ 18.590656][ T438]