[ 9.976127][ T188] ip (188) used greatest stack depth: 23808 bytes left [ 9.976144][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.976146][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.976148][ T188] preempt_count: 2, expected: 0 [ 9.976148][ T188] RCU nest depth: 0, expected: 0 [ 9.976149][ T188] locks held by ip/188: 5, last CPU#1: [ 9.976151][ T188] #0: ffffffffa2c267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.976162][ T188] #1: ffffffffa2d8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.976168][ T188] #2: ffffffffa2d8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.976171][ T188] #3: ffffffffa2cad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.976175][ T188] #4: ffffffffa2cad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.976179][ T188] irq event stamp: 21914 [ 9.976179][ T188] hardirqs last enabled at (21913): [] __down_trylock_console_sem+0x86/0xa0 [ 9.976182][ T188] hardirqs last disabled at (21914): [] console_emit_next_record+0x3d4/0x4c0 [ 9.976183][ T188] softirqs last enabled at (20354): [] netlink_release+0x17b/0xcf0 [ 9.976187][ T188] softirqs last disabled at (20352): [] netlink_release+0xd2/0xcf0 [ 9.976190][ T188] Preemption disabled at: [ 9.976190][ T188] [<0000000000000000>] 0x0 [ 9.976197][ T188] CPU: 1 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.976200][ T188] Tainted: [W]=WARN [ 9.976201][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.976203][ T188] Call Trace: [ 9.976204][ T188] [ 9.976206][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.976212][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.976216][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.976220][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.976224][ T188] __kmalloc_noprof+0x443/0x760 [ 9.976226][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.976232][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.976234][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.976238][ T188] put_chars+0x1e1/0x2f0 [ 9.976241][ T188] ? __send_to_port+0x420/0x420 [ 9.976243][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.976247][ T188] ? validate_chain+0x38b/0xc20 [ 9.976252][ T188] hvc_console_print+0x292/0x780 [ 9.976259][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.976262][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.976264][ T188] ? lock_acquire+0x13c/0x160 [ 9.976268][ T188] console_emit_next_record+0x22f/0x4c0 [ 9.976271][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 9.976273][ T188] ? console_flush_one_record+0x106/0x710 [ 9.976276][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.976278][ T188] ? lock_acquire+0x13c/0x160 [ 9.976281][ T188] console_flush_one_record+0x46f/0x710 [ 9.976285][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 9.976287][ T188] ? __lock_acquire+0x518/0xc20 [ 9.976291][ T188] console_unlock+0xee/0x1f0 [ 9.976294][ T188] ? console_flush_one_record+0x710/0x710 [ 9.976296][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.976298][ T188] ? lock_acquire+0x60/0x160 [ 9.976301][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.976302][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.976305][ T188] vprintk_emit+0x37c/0x3e0 [ 9.976309][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.976312][ T188] ? __lock_acquire+0x518/0xc20 [ 9.976315][ T188] _printk+0xc7/0x100 [ 9.976319][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.976322][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.976324][ T188] ? __rwlock_init+0x150/0x150 [ 9.976327][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.976330][ T188] do_exit.cold+0x82/0x9c [ 9.976334][ T188] ? exit_notify+0x890/0x890 [ 9.976335][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.976338][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.976341][ T188] do_group_exit+0xb8/0x370 [ 9.976345][ T188] __x64_sys_exit_group+0x3c/0x50 [ 9.976347][ T188] x64_sys_call+0x1567/0x1570 [ 9.976349][ T188] do_syscall_64+0xff/0x530 [ 9.976352][ T188] ? exc_page_fault+0xee/0x100 [ 9.976355][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.976357][ T188] RIP: 0033:0x7f46137db1b8 [ 9.976359][ T188] Code: Unable to access opcode bytes at 0x7f46137db18e. [ 9.976360][ T188] RSP: 002b:00007ffdd6deef98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.976363][ T188] RAX: ffffffffffffffda RBX: 00007f461390bf88 RCX: 00007f46137db1b8 [ 9.976364][ T188] RDX: 00007f4613525fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.976365][ T188] RBP: 00007ffdd6deeff0 R08: 0000000000000000 R09: 0000000000000050 [ 9.976366][ T188] R10: 00007ffdd6deedb0 R11: 0000000000000246 R12: 0000000000000001 [ 9.976366][ T188] R13: 0000000000000000 R14: 00007f461390a680 R15: 00007f461390bfa0 [ 9.976373][ T188]