[ 10.678425][ T183] ip (183) used greatest stack depth: 23936 bytes left [ 10.678444][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.678446][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: ip [ 10.678448][ T183] preempt_count: 2, expected: 0 [ 10.678448][ T183] RCU nest depth: 0, expected: 0 [ 10.678449][ T183] locks held by ip/183: 5, last CPU#3: [ 10.678452][ T183] #0: ffffffffa72267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.678464][ T183] #1: ffffffffa738dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.678469][ T183] #2: ffffffffa738dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.678473][ T183] #3: ffffffffa72ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.678476][ T183] #4: ffffffffa72ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.678480][ T183] irq event stamp: 21990 [ 10.678481][ T183] hardirqs last enabled at (21989): [] __down_trylock_console_sem+0x86/0xa0 [ 10.678483][ T183] hardirqs last disabled at (21990): [] console_emit_next_record+0x3d4/0x4c0 [ 10.678485][ T183] softirqs last enabled at (20410): [] netlink_release+0x17b/0xcf0 [ 10.678489][ T183] softirqs last disabled at (20408): [] netlink_release+0xd2/0xcf0 [ 10.678492][ T183] Preemption disabled at: [ 10.678492][ T183] [<0000000000000000>] 0x0 [ 10.678499][ T183] CPU: 3 UID: 0 PID: 183 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.678502][ T183] Tainted: [W]=WARN [ 10.678503][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.678505][ T183] Call Trace: [ 10.678506][ T183] [ 10.678508][ T183] dump_stack_lvl+0x6f/0xa0 [ 10.678513][ T183] __might_resched.cold+0x1fe/0x2c1 [ 10.678518][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.678522][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 10.678527][ T183] __kmalloc_noprof+0x443/0x760 [ 10.678529][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 10.678534][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 10.678537][ T183] alloc_buf.isra.0+0x4b/0x260 [ 10.678541][ T183] put_chars+0x1e1/0x2f0 [ 10.678544][ T183] ? __send_to_port+0x420/0x420 [ 10.678546][ T183] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.678550][ T183] ? validate_chain+0x38b/0xc20 [ 10.678555][ T183] hvc_console_print+0x292/0x780 [ 10.678562][ T183] ? hvc_write+0x3a0/0x3a0 [ 10.678565][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.678567][ T183] ? lock_acquire+0x13c/0x160 [ 10.678571][ T183] console_emit_next_record+0x22f/0x4c0 [ 10.678574][ T183] ? devkmsg_read+0x4b0/0x4b0 [ 10.678576][ T183] ? console_flush_one_record+0x106/0x710 [ 10.678579][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.678581][ T183] ? lock_acquire+0x13c/0x160 [ 10.678585][ T183] console_flush_one_record+0x46f/0x710 [ 10.678588][ T183] ? console_emit_next_record+0x4c0/0x4c0 [ 10.678590][ T183] ? __lock_acquire+0x518/0xc20 [ 10.678595][ T183] console_unlock+0xee/0x1f0 [ 10.678597][ T183] ? console_flush_one_record+0x710/0x710 [ 10.678599][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.678601][ T183] ? lock_acquire+0x60/0x160 [ 10.678604][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.678606][ T183] ? vprintk_emit+0x320/0x3e0 [ 10.678609][ T183] vprintk_emit+0x37c/0x3e0 [ 10.678612][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 10.678615][ T183] ? __lock_acquire+0x518/0xc20 [ 10.678619][ T183] _printk+0xc7/0x100 [ 10.678623][ T183] ? snapshot_read.cold+0x21/0x21 [ 10.678625][ T183] ? do_raw_spin_lock+0x131/0x280 [ 10.678628][ T183] ? __rwlock_init+0x150/0x150 [ 10.678631][ T183] ? do_raw_spin_lock+0x131/0x280 [ 10.678634][ T183] do_exit.cold+0x82/0x9c [ 10.678637][ T183] ? exit_notify+0x890/0x890 [ 10.678639][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 10.678641][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.678645][ T183] do_group_exit+0xb8/0x370 [ 10.678649][ T183] __x64_sys_exit_group+0x3c/0x50 [ 10.678651][ T183] x64_sys_call+0x1567/0x1570 [ 10.678653][ T183] do_syscall_64+0xff/0x530 [ 10.678656][ T183] ? exc_page_fault+0xee/0x100 [ 10.678659][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.678661][ T183] RIP: 0033:0x7f151bc4f1b8 [ 10.678664][ T183] Code: Unable to access opcode bytes at 0x7f151bc4f18e. [ 10.678665][ T183] RSP: 002b:00007ffd071d35f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.678667][ T183] RAX: ffffffffffffffda RBX: 00007f151bd7ff88 RCX: 00007f151bc4f1b8 [ 10.678668][ T183] RDX: 00007f151b999fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.678669][ T183] RBP: 00007ffd071d3650 R08: 0000000000000000 R09: 0000000000000050 [ 10.678670][ T183] R10: 00007ffd071d3410 R11: 0000000000000246 R12: 0000000000000001 [ 10.678671][ T183] R13: 0000000000000000 R14: 00007f151bd7e680 R15: 00007f151bd7ffa0 [ 10.678677][ T183]