[ 9.718278][ T214] ip (214) used greatest stack depth: 24616 bytes left [ 9.718295][ T214] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.718296][ T214] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 214, name: ip [ 9.718298][ T214] preempt_count: 2, expected: 0 [ 9.718298][ T214] RCU nest depth: 0, expected: 0 [ 9.718299][ T214] locks held by ip/214: 5, last CPU#0: [ 9.718302][ T214] #0: ffffffff86c167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.718313][ T214] #1: ffffffff86d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.718317][ T214] #2: ffffffff86d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.718322][ T214] #3: ffffffff86c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.718325][ T214] #4: ffffffff86c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.718329][ T214] irq event stamp: 42442 [ 9.718330][ T214] hardirqs last enabled at (42441): [] __down_trylock_console_sem+0x86/0xa0 [ 9.718333][ T214] hardirqs last disabled at (42442): [] console_emit_next_record+0x3d4/0x4c0 [ 9.718335][ T214] softirqs last enabled at (41156): [] netlink_release+0x17b/0xcf0 [ 9.718339][ T214] softirqs last disabled at (41154): [] netlink_release+0xd2/0xcf0 [ 9.718341][ T214] Preemption disabled at: [ 9.718342][ T214] [<0000000000000000>] 0x0 [ 9.718348][ T214] CPU: 0 UID: 0 PID: 214 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.718352][ T214] Tainted: [W]=WARN [ 9.718353][ T214] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.718354][ T214] Call Trace: [ 9.718356][ T214] [ 9.718357][ T214] dump_stack_lvl+0x6f/0xa0 [ 9.718363][ T214] __might_resched.cold+0x1fe/0x2c1 [ 9.718369][ T214] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.718373][ T214] ? __kmalloc_noprof+0xdb/0x760 [ 9.718377][ T214] __kmalloc_noprof+0x443/0x760 [ 9.718379][ T214] ? alloc_buf.isra.0+0x4b/0x260 [ 9.718385][ T214] ? do_raw_spin_unlock+0x59/0x250 [ 9.718388][ T214] alloc_buf.isra.0+0x4b/0x260 [ 9.718392][ T214] put_chars+0x1e1/0x2f0 [ 9.718394][ T214] ? __send_to_port+0x420/0x420 [ 9.718395][ T214] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.718399][ T214] ? validate_chain+0x38b/0xc20 [ 9.718404][ T214] hvc_console_print+0x292/0x780 [ 9.718412][ T214] ? hvc_write+0x3a0/0x3a0 [ 9.718414][ T214] ? rcu_is_watching+0x16/0xd0 [ 9.718416][ T214] ? lock_acquire+0x13c/0x160 [ 9.718420][ T214] console_emit_next_record+0x22f/0x4c0 [ 9.718424][ T214] ? devkmsg_read+0x4b0/0x4b0 [ 9.718426][ T214] ? console_flush_one_record+0x106/0x710 [ 9.718429][ T214] ? rcu_is_watching+0x16/0xd0 [ 9.718431][ T214] ? lock_acquire+0x13c/0x160 [ 9.718435][ T214] console_flush_one_record+0x46f/0x710 [ 9.718439][ T214] ? console_emit_next_record+0x4c0/0x4c0 [ 9.718441][ T214] ? __lock_acquire+0x518/0xc20 [ 9.718446][ T214] console_unlock+0xee/0x1f0 [ 9.718449][ T214] ? console_flush_one_record+0x710/0x710 [ 9.718451][ T214] ? rcu_is_watching+0x16/0xd0 [ 9.718452][ T214] ? lock_acquire+0xe0/0x160 [ 9.718456][ T214] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.718458][ T214] ? vprintk_emit+0x320/0x3e0 [ 9.718461][ T214] vprintk_emit+0x37c/0x3e0 [ 9.718464][ T214] ? wake_up_klogd_work_func+0x90/0x90 [ 9.718467][ T214] ? __lock_acquire+0x518/0xc20 [ 9.718470][ T214] _printk+0xc7/0x100 [ 9.718474][ T214] ? snapshot_read.cold+0x21/0x21 [ 9.718476][ T214] ? do_raw_spin_lock+0x131/0x280 [ 9.718479][ T214] ? __rwlock_init+0x150/0x150 [ 9.718483][ T214] ? do_raw_spin_lock+0x131/0x280 [ 9.718486][ T214] do_exit.cold+0x82/0x9c [ 9.718489][ T214] ? exit_notify+0x890/0x890 [ 9.718491][ T214] ? __lock_release.isra.0+0x69/0x1a0 [ 9.718493][ T214] ? rcu_is_watching+0x16/0xd0 [ 9.718497][ T214] do_group_exit+0xb8/0x370 [ 9.718500][ T214] __x64_sys_exit_group+0x3c/0x50 [ 9.718501][ T214] x64_sys_call+0x1567/0x1570 [ 9.718504][ T214] do_syscall_64+0xff/0x530 [ 9.718508][ T214] ? exc_page_fault+0xee/0x100 [ 9.718511][ T214] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.718513][ T214] RIP: 0033:0x7fdab6e611b8 [ 9.718515][ T214] Code: Unable to access opcode bytes at 0x7fdab6e6118e. [ 9.718516][ T214] RSP: 002b:00007ffe4a7b1c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.718518][ T214] RAX: ffffffffffffffda RBX: 00007fdab6f91f88 RCX: 00007fdab6e611b8 [ 9.718520][ T214] RDX: 00007fdab6babfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.718521][ T214] RBP: 00007ffe4a7b1cd0 R08: 0000000000000000 R09: 0000000000000000 [ 9.718521][ T214] R10: 00007ffe4a7b1a90 R11: 0000000000000246 R12: 0000000000000001 [ 9.718522][ T214] R13: 0000000000000000 R14: 00007fdab6f90680 R15: 00007fdab6f91fa0 [ 9.718529][ T214]