[ 10.260927][ T169] ip (169) used greatest stack depth: 24848 bytes left [ 10.260947][ T169] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.260949][ T169] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 169, name: ip [ 10.260951][ T169] preempt_count: 2, expected: 0 [ 10.260952][ T169] RCU nest depth: 0, expected: 0 [ 10.260953][ T169] locks held by ip/169: 5, last CPU#1: [ 10.260955][ T169] #0: ffffffffb7e027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.260967][ T169] #1: ffffffffb7f69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.260972][ T169] #2: ffffffffb7f69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.260975][ T169] #3: ffffffffb7e89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.260978][ T169] #4: ffffffffb7e89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.260982][ T169] irq event stamp: 21322 [ 10.260983][ T169] hardirqs last enabled at (21321): [] __down_trylock_console_sem+0x86/0xa0 [ 10.260986][ T169] hardirqs last disabled at (21322): [] console_emit_next_record+0x3d4/0x4c0 [ 10.260988][ T169] softirqs last enabled at (20194): [] netlink_release+0x17b/0xcf0 [ 10.260992][ T169] softirqs last disabled at (20192): [] netlink_release+0xd2/0xcf0 [ 10.260994][ T169] Preemption disabled at: [ 10.260995][ T169] [<0000000000000000>] 0x0 [ 10.261002][ T169] CPU: 1 UID: 0 PID: 169 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.261006][ T169] Tainted: [W]=WARN [ 10.261006][ T169] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.261008][ T169] Call Trace: [ 10.261010][ T169] [ 10.261011][ T169] dump_stack_lvl+0x6f/0xa0 [ 10.261017][ T169] __might_resched.cold+0x1fe/0x2c1 [ 10.261021][ T169] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.261024][ T169] ? __kmalloc_noprof+0xdb/0x760 [ 10.261029][ T169] __kmalloc_noprof+0x443/0x760 [ 10.261032][ T169] ? alloc_buf.isra.0+0x4b/0x260 [ 10.261038][ T169] ? do_raw_spin_unlock+0x59/0x250 [ 10.261040][ T169] alloc_buf.isra.0+0x4b/0x260 [ 10.261044][ T169] put_chars+0x1e1/0x2f0 [ 10.261047][ T169] ? __send_to_port+0x420/0x420 [ 10.261049][ T169] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.261053][ T169] ? validate_chain+0x38b/0xc20 [ 10.261059][ T169] hvc_console_print+0x292/0x780 [ 10.261065][ T169] ? hvc_write+0x3a0/0x3a0 [ 10.261067][ T169] ? rcu_is_watching+0x16/0xd0 [ 10.261069][ T169] ? lock_acquire+0x13c/0x160 [ 10.261073][ T169] console_emit_next_record+0x22f/0x4c0 [ 10.261077][ T169] ? devkmsg_read+0x4b0/0x4b0 [ 10.261078][ T169] ? console_flush_one_record+0x106/0x710 [ 10.261080][ T169] ? rcu_is_watching+0x16/0xd0 [ 10.261082][ T169] ? lock_acquire+0x13c/0x160 [ 10.261086][ T169] console_flush_one_record+0x46f/0x710 [ 10.261090][ T169] ? console_emit_next_record+0x4c0/0x4c0 [ 10.261091][ T169] ? __lock_acquire+0x518/0xc20 [ 10.261097][ T169] console_unlock+0xee/0x1f0 [ 10.261099][ T169] ? console_flush_one_record+0x710/0x710 [ 10.261100][ T169] ? rcu_is_watching+0x16/0xd0 [ 10.261102][ T169] ? lock_acquire+0x60/0x160 [ 10.261106][ T169] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.261108][ T169] ? vprintk_emit+0x320/0x3e0 [ 10.261111][ T169] vprintk_emit+0x37c/0x3e0 [ 10.261114][ T169] ? wake_up_klogd_work_func+0x90/0x90 [ 10.261117][ T169] ? __lock_acquire+0x518/0xc20 [ 10.261121][ T169] _printk+0xc7/0x100 [ 10.261125][ T169] ? snapshot_read.cold+0x21/0x21 [ 10.261127][ T169] ? do_raw_spin_lock+0x131/0x280 [ 10.261130][ T169] ? __rwlock_init+0x150/0x150 [ 10.261134][ T169] ? do_raw_spin_lock+0x131/0x280 [ 10.261137][ T169] do_exit.cold+0x82/0x9c [ 10.261140][ T169] ? exit_notify+0x890/0x890 [ 10.261142][ T169] ? __lock_release.isra.0+0x69/0x1a0 [ 10.261145][ T169] ? rcu_is_watching+0x16/0xd0 [ 10.261148][ T169] do_group_exit+0xb8/0x370 [ 10.261151][ T169] __x64_sys_exit_group+0x3c/0x50 [ 10.261153][ T169] x64_sys_call+0x1567/0x1570 [ 10.261156][ T169] do_syscall_64+0xff/0x530 [ 10.261159][ T169] ? exc_page_fault+0xee/0x100 [ 10.261162][ T169] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.261165][ T169] RIP: 0033:0x7fef31b921b8 [ 10.261167][ T169] Code: Unable to access opcode bytes at 0x7fef31b9218e. [ 10.261168][ T169] RSP: 002b:00007fff5f75c068 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.261171][ T169] RAX: ffffffffffffffda RBX: 00007fef31cc2f88 RCX: 00007fef31b921b8 [ 10.261172][ T169] RDX: 00007fef318dcfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.261173][ T169] RBP: 00007fff5f75c0c0 R08: 0000000000000000 R09: 0000000000008010 [ 10.261174][ T169] R10: 00007fff5f75be80 R11: 0000000000000246 R12: 0000000000000001 [ 10.261174][ T169] R13: 0000000000000000 R14: 00007fef31cc1680 R15: 00007fef31cc2fa0 [ 10.261181][ T169]