[ 10.465183][ T205] ip (205) used greatest stack depth: 23248 bytes left [ 10.465204][ T205] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.465206][ T205] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 205, name: ip [ 10.465207][ T205] preempt_count: 2, expected: 0 [ 10.465208][ T205] RCU nest depth: 0, expected: 0 [ 10.465209][ T205] locks held by ip/205: 5, last CPU#3: [ 10.465211][ T205] #0: ffffffff920167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.465223][ T205] #1: ffffffff9217ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.465228][ T205] #2: ffffffff9217de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.465232][ T205] #3: ffffffff9209d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.465236][ T205] #4: ffffffff9209d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.465240][ T205] irq event stamp: 20876 [ 10.465241][ T205] hardirqs last enabled at (20875): [] __down_trylock_console_sem+0x86/0xa0 [ 10.465244][ T205] hardirqs last disabled at (20876): [] console_emit_next_record+0x3d4/0x4c0 [ 10.465246][ T205] softirqs last enabled at (19302): [] netlink_release+0x17b/0xcf0 [ 10.465251][ T205] softirqs last disabled at (19300): [] netlink_release+0xd2/0xcf0 [ 10.465253][ T205] Preemption disabled at: [ 10.465254][ T205] [<0000000000000000>] 0x0 [ 10.465262][ T205] CPU: 3 UID: 0 PID: 205 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.465265][ T205] Tainted: [W]=WARN [ 10.465266][ T205] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.465268][ T205] Call Trace: [ 10.465270][ T205] [ 10.465271][ T205] dump_stack_lvl+0x6f/0xa0 [ 10.465278][ T205] __might_resched.cold+0x1fe/0x2c1 [ 10.465283][ T205] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.465287][ T205] ? __kmalloc_noprof+0xdb/0x760 [ 10.465291][ T205] __kmalloc_noprof+0x443/0x760 [ 10.465293][ T205] ? alloc_buf.isra.0+0x4b/0x260 [ 10.465299][ T205] ? do_raw_spin_unlock+0x59/0x250 [ 10.465302][ T205] alloc_buf.isra.0+0x4b/0x260 [ 10.465306][ T205] put_chars+0x1e1/0x2f0 [ 10.465308][ T205] ? __send_to_port+0x420/0x420 [ 10.465309][ T205] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.465313][ T205] ? validate_chain+0x38b/0xc20 [ 10.465318][ T205] hvc_console_print+0x292/0x780 [ 10.465326][ T205] ? hvc_write+0x3a0/0x3a0 [ 10.465328][ T205] ? rcu_is_watching+0x16/0xd0 [ 10.465330][ T205] ? lock_acquire+0x13c/0x160 [ 10.465334][ T205] console_emit_next_record+0x22f/0x4c0 [ 10.465338][ T205] ? devkmsg_read+0x4b0/0x4b0 [ 10.465340][ T205] ? console_flush_one_record+0x106/0x710 [ 10.465343][ T205] ? rcu_is_watching+0x16/0xd0 [ 10.465345][ T205] ? lock_acquire+0x13c/0x160 [ 10.465349][ T205] console_flush_one_record+0x46f/0x710 [ 10.465353][ T205] ? console_emit_next_record+0x4c0/0x4c0 [ 10.465355][ T205] ? __lock_acquire+0x518/0xc20 [ 10.465360][ T205] console_unlock+0xee/0x1f0 [ 10.465363][ T205] ? console_flush_one_record+0x710/0x710 [ 10.465365][ T205] ? rcu_is_watching+0x16/0xd0 [ 10.465367][ T205] ? lock_acquire+0xe0/0x160 [ 10.465370][ T205] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.465372][ T205] ? vprintk_emit+0x320/0x3e0 [ 10.465375][ T205] vprintk_emit+0x37c/0x3e0 [ 10.465378][ T205] ? wake_up_klogd_work_func+0x90/0x90 [ 10.465381][ T205] ? __lock_acquire+0x518/0xc20 [ 10.465385][ T205] _printk+0xc7/0x100 [ 10.465388][ T205] ? snapshot_read.cold+0x21/0x21 [ 10.465391][ T205] ? do_raw_spin_lock+0x131/0x280 [ 10.465394][ T205] ? __rwlock_init+0x150/0x150 [ 10.465397][ T205] ? do_raw_spin_lock+0x131/0x280 [ 10.465400][ T205] do_exit.cold+0x82/0x9c [ 10.465404][ T205] ? exit_notify+0x890/0x890 [ 10.465405][ T205] ? __lock_release.isra.0+0x69/0x1a0 [ 10.465408][ T205] ? rcu_is_watching+0x16/0xd0 [ 10.465411][ T205] do_group_exit+0xb8/0x370 [ 10.465414][ T205] __x64_sys_exit_group+0x3c/0x50 [ 10.465416][ T205] x64_sys_call+0x1567/0x1570 [ 10.465419][ T205] do_syscall_64+0xff/0x530 [ 10.465423][ T205] ? exc_page_fault+0xee/0x100 [ 10.465426][ T205] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.465428][ T205] RIP: 0033:0x7f10477dd1b8 [ 10.465430][ T205] Code: Unable to access opcode bytes at 0x7f10477dd18e. [ 10.465431][ T205] RSP: 002b:00007ffd87256f08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.465434][ T205] RAX: ffffffffffffffda RBX: 00007f104790df88 RCX: 00007f10477dd1b8 [ 10.465435][ T205] RDX: 00007f1047527fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.465436][ T205] RBP: 00007ffd87256f60 R08: 0000000000000000 R09: 0000000000000050 [ 10.465437][ T205] R10: 00007ffd87256d20 R11: 0000000000000246 R12: 0000000000000001 [ 10.465438][ T205] R13: 0000000000000000 R14: 00007f104790c680 R15: 00007f104790dfa0 [ 10.465444][ T205]