[ 10.042048][ T223] ip (223) used greatest stack depth: 23920 bytes left [ 10.042065][ T223] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.042067][ T223] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 223, name: ip [ 10.042068][ T223] preempt_count: 2, expected: 0 [ 10.042069][ T223] RCU nest depth: 0, expected: 0 [ 10.042070][ T223] locks held by ip/223: 5, last CPU#2: [ 10.042072][ T223] #0: ffffffff9a6167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.042083][ T223] #1: ffffffff9a77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.042088][ T223] #2: ffffffff9a77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.042092][ T223] #3: ffffffff9a69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.042095][ T223] #4: ffffffff9a69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.042099][ T223] irq event stamp: 30646 [ 10.042100][ T223] hardirqs last enabled at (30645): [] __down_trylock_console_sem+0x86/0xa0 [ 10.042103][ T223] hardirqs last disabled at (30646): [] console_emit_next_record+0x3d4/0x4c0 [ 10.042105][ T223] softirqs last enabled at (29072): [] netlink_release+0x17b/0xcf0 [ 10.042110][ T223] softirqs last disabled at (29070): [] netlink_release+0xd2/0xcf0 [ 10.042112][ T223] Preemption disabled at: [ 10.042113][ T223] [<0000000000000000>] 0x0 [ 10.042119][ T223] CPU: 2 UID: 0 PID: 223 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.042122][ T223] Tainted: [W]=WARN [ 10.042123][ T223] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.042126][ T223] Call Trace: [ 10.042127][ T223] [ 10.042129][ T223] dump_stack_lvl+0x6f/0xa0 [ 10.042135][ T223] __might_resched.cold+0x1fe/0x2c1 [ 10.042139][ T223] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.042144][ T223] ? __kmalloc_noprof+0xdb/0x760 [ 10.042148][ T223] __kmalloc_noprof+0x443/0x760 [ 10.042150][ T223] ? alloc_buf.isra.0+0x4b/0x260 [ 10.042156][ T223] ? do_raw_spin_unlock+0x59/0x250 [ 10.042159][ T223] alloc_buf.isra.0+0x4b/0x260 [ 10.042162][ T223] put_chars+0x1e1/0x2f0 [ 10.042165][ T223] ? __send_to_port+0x420/0x420 [ 10.042166][ T223] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.042169][ T223] ? validate_chain+0x38b/0xc20 [ 10.042175][ T223] hvc_console_print+0x292/0x780 [ 10.042182][ T223] ? hvc_write+0x3a0/0x3a0 [ 10.042185][ T223] ? rcu_is_watching+0x16/0xd0 [ 10.042187][ T223] ? lock_acquire+0x13c/0x160 [ 10.042191][ T223] console_emit_next_record+0x22f/0x4c0 [ 10.042195][ T223] ? devkmsg_read+0x4b0/0x4b0 [ 10.042196][ T223] ? console_flush_one_record+0x106/0x710 [ 10.042200][ T223] ? rcu_is_watching+0x16/0xd0 [ 10.042201][ T223] ? lock_acquire+0x13c/0x160 [ 10.042205][ T223] console_flush_one_record+0x46f/0x710 [ 10.042209][ T223] ? console_emit_next_record+0x4c0/0x4c0 [ 10.042211][ T223] ? __lock_acquire+0x518/0xc20 [ 10.042216][ T223] console_unlock+0xee/0x1f0 [ 10.042219][ T223] ? console_flush_one_record+0x710/0x710 [ 10.042221][ T223] ? rcu_is_watching+0x16/0xd0 [ 10.042223][ T223] ? lock_acquire+0xe0/0x160 [ 10.042226][ T223] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.042228][ T223] ? vprintk_emit+0x320/0x3e0 [ 10.042231][ T223] vprintk_emit+0x37c/0x3e0 [ 10.042234][ T223] ? wake_up_klogd_work_func+0x90/0x90 [ 10.042236][ T223] ? __lock_acquire+0x518/0xc20 [ 10.042240][ T223] _printk+0xc7/0x100 [ 10.042243][ T223] ? snapshot_read.cold+0x21/0x21 [ 10.042246][ T223] ? do_raw_spin_lock+0x131/0x280 [ 10.042249][ T223] ? __rwlock_init+0x150/0x150 [ 10.042252][ T223] ? do_raw_spin_lock+0x131/0x280 [ 10.042255][ T223] do_exit.cold+0x82/0x9c [ 10.042259][ T223] ? exit_notify+0x890/0x890 [ 10.042260][ T223] ? __lock_release.isra.0+0x69/0x1a0 [ 10.042263][ T223] ? rcu_is_watching+0x16/0xd0 [ 10.042266][ T223] do_group_exit+0xb8/0x370 [ 10.042269][ T223] __x64_sys_exit_group+0x3c/0x50 [ 10.042271][ T223] x64_sys_call+0x1567/0x1570 [ 10.042273][ T223] do_syscall_64+0xff/0x530 [ 10.042278][ T223] ? exc_page_fault+0xee/0x100 [ 10.042281][ T223] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.042283][ T223] RIP: 0033:0x7fabbe8791b8 [ 10.042285][ T223] Code: Unable to access opcode bytes at 0x7fabbe87918e. [ 10.042286][ T223] RSP: 002b:00007ffd03fafad8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.042289][ T223] RAX: ffffffffffffffda RBX: 00007fabbe9a9f88 RCX: 00007fabbe8791b8 [ 10.042290][ T223] RDX: 00007fabbe5c3fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.042291][ T223] RBP: 00007ffd03fafb30 R08: 0000000000000000 R09: 0000000000000050 [ 10.042291][ T223] R10: 00007ffd03faf8f0 R11: 0000000000000246 R12: 0000000000000001 [ 10.042292][ T223] R13: 0000000000000000 R14: 00007fabbe9a8680 R15: 00007fabbe9a9fa0 [ 10.042299][ T223]