[ 10.478131][ T183] ip (183) used greatest stack depth: 23728 bytes left [ 10.478151][ T183] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.478153][ T183] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 183, name: ip [ 10.478155][ T183] preempt_count: 2, expected: 0 [ 10.478156][ T183] RCU nest depth: 0, expected: 0 [ 10.478157][ T183] locks held by ip/183: 5, last CPU#2: [ 10.478159][ T183] #0: ffffffffa5602f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 10.478171][ T183] #1: ffffffffa576a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.478176][ T183] #2: ffffffffa576a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.478180][ T183] #3: ffffffffa5689de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.478183][ T183] #4: ffffffffa5689ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.478187][ T183] irq event stamp: 24360 [ 10.478188][ T183] hardirqs last enabled at (24359): [] __down_trylock_console_sem+0x86/0xa0 [ 10.478192][ T183] hardirqs last disabled at (24360): [] console_emit_next_record+0x3d4/0x4c0 [ 10.478193][ T183] softirqs last enabled at (22802): [] netlink_release+0x17b/0xcf0 [ 10.478197][ T183] softirqs last disabled at (22800): [] netlink_release+0xd2/0xcf0 [ 10.478199][ T183] Preemption disabled at: [ 10.478200][ T183] [<0000000000000000>] 0x0 [ 10.478207][ T183] CPU: 2 UID: 0 PID: 183 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.478211][ T183] Tainted: [W]=WARN [ 10.478212][ T183] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.478213][ T183] Call Trace: [ 10.478215][ T183] [ 10.478217][ T183] dump_stack_lvl+0x6f/0xa0 [ 10.478223][ T183] __might_resched.cold+0x1fe/0x2c1 [ 10.478227][ T183] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.478230][ T183] ? __kmalloc_noprof+0xdb/0x760 [ 10.478235][ T183] __kmalloc_noprof+0x443/0x760 [ 10.478238][ T183] ? alloc_buf.isra.0+0x4b/0x260 [ 10.478244][ T183] ? do_raw_spin_unlock+0x59/0x250 [ 10.478247][ T183] alloc_buf.isra.0+0x4b/0x260 [ 10.478250][ T183] put_chars+0x1e1/0x2f0 [ 10.478253][ T183] ? __send_to_port+0x420/0x420 [ 10.478260][ T183] hvc_console_print+0x292/0x780 [ 10.478267][ T183] ? hvc_write+0x3a0/0x3a0 [ 10.478269][ T183] ? lock_acquire+0x13c/0x160 [ 10.478274][ T183] console_emit_next_record+0x22f/0x4c0 [ 10.478278][ T183] ? devkmsg_read+0x4b0/0x4b0 [ 10.478279][ T183] ? console_flush_one_record+0x106/0x710 [ 10.478282][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.478285][ T183] ? lock_acquire+0x13c/0x160 [ 10.478289][ T183] console_flush_one_record+0x46f/0x710 [ 10.478293][ T183] ? console_emit_next_record+0x4c0/0x4c0 [ 10.478295][ T183] ? __lock_acquire+0x518/0xc20 [ 10.478300][ T183] console_unlock+0xee/0x1f0 [ 10.478303][ T183] ? console_flush_one_record+0x710/0x710 [ 10.478304][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.478306][ T183] ? lock_acquire+0x60/0x160 [ 10.478310][ T183] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.478312][ T183] ? vprintk_emit+0x320/0x3e0 [ 10.478315][ T183] vprintk_emit+0x37c/0x3e0 [ 10.478318][ T183] ? wake_up_klogd_work_func+0x90/0x90 [ 10.478321][ T183] ? __lock_acquire+0x518/0xc20 [ 10.478325][ T183] _printk+0xc7/0x100 [ 10.478329][ T183] ? snapshot_read.cold+0x21/0x21 [ 10.478332][ T183] ? do_raw_spin_lock+0x131/0x280 [ 10.478338][ T183] ? __rwlock_init+0x150/0x150 [ 10.478342][ T183] ? do_raw_spin_lock+0x131/0x280 [ 10.478345][ T183] do_exit.cold+0x82/0x9c [ 10.478349][ T183] ? exit_notify+0x890/0x890 [ 10.478351][ T183] ? __lock_release.isra.0+0x69/0x1a0 [ 10.478354][ T183] ? rcu_is_watching+0x16/0xd0 [ 10.478358][ T183] do_group_exit+0xb8/0x370 [ 10.478361][ T183] __x64_sys_exit_group+0x3c/0x50 [ 10.478363][ T183] x64_sys_call+0x1567/0x1570 [ 10.478366][ T183] do_syscall_64+0x10e/0x570 [ 10.478369][ T183] ? exc_page_fault+0xee/0x100 [ 10.478372][ T183] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.478375][ T183] RIP: 0033:0x7f534f3a61b8 [ 10.478377][ T183] Code: Unable to access opcode bytes at 0x7f534f3a618e. [ 10.478379][ T183] RSP: 002b:00007ffd2f75a388 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.478381][ T183] RAX: ffffffffffffffda RBX: 00007f534f4d6f88 RCX: 00007f534f3a61b8 [ 10.478382][ T183] RDX: 00007f534f0f0fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.478383][ T183] RBP: 00007ffd2f75a3e0 R08: 0000000000000000 R09: 0000000000000050 [ 10.478384][ T183] R10: 00007ffd2f75a1a0 R11: 0000000000000246 R12: 0000000000000001 [ 10.478385][ T183] R13: 0000000000000000 R14: 00007f534f4d5680 R15: 00007f534f4d6fa0 [ 10.478392][ T183]