[ 21.716991][ T763] ip (763) used greatest stack depth: 23776 bytes left [ 21.717011][ T763] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 21.717013][ T763] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 763, name: ip [ 21.717014][ T763] preempt_count: 2, expected: 0 [ 21.717015][ T763] RCU nest depth: 0, expected: 0 [ 21.717016][ T763] locks held by ip/763: 5, last CPU#2: [ 21.717018][ T763] #0: ffffffff980167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 21.717028][ T763] #1: ffffffff9817ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 21.717033][ T763] #2: ffffffff9817de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 21.717038][ T763] #3: ffffffff9809d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 21.717042][ T763] #4: ffffffff9809d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 21.717046][ T763] irq event stamp: 21830 [ 21.717046][ T763] hardirqs last enabled at (21829): [] __down_trylock_console_sem+0x86/0xa0 [ 21.717050][ T763] hardirqs last disabled at (21830): [] console_emit_next_record+0x3d4/0x4c0 [ 21.717052][ T763] softirqs last enabled at (20266): [] netlink_release+0x17b/0xcf0 [ 21.717056][ T763] softirqs last disabled at (20264): [] netlink_release+0xd2/0xcf0 [ 21.717058][ T763] Preemption disabled at: [ 21.717059][ T763] [<0000000000000000>] 0x0 [ 21.717066][ T763] CPU: 2 UID: 0 PID: 763 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 21.717069][ T763] Tainted: [W]=WARN [ 21.717070][ T763] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.717072][ T763] Call Trace: [ 21.717073][ T763] [ 21.717075][ T763] dump_stack_lvl+0x6f/0xa0 [ 21.717081][ T763] __might_resched.cold+0x1fe/0x2c1 [ 21.717086][ T763] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 21.717090][ T763] ? __kmalloc_noprof+0xdb/0x760 [ 21.717094][ T763] __kmalloc_noprof+0x443/0x760 [ 21.717096][ T763] ? alloc_buf.isra.0+0x4b/0x260 [ 21.717102][ T763] ? do_raw_spin_unlock+0x59/0x250 [ 21.717105][ T763] alloc_buf.isra.0+0x4b/0x260 [ 21.717109][ T763] put_chars+0x1e1/0x2f0 [ 21.717111][ T763] ? __send_to_port+0x420/0x420 [ 21.717112][ T763] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 21.717116][ T763] ? validate_chain+0x38b/0xc20 [ 21.717121][ T763] hvc_console_print+0x292/0x780 [ 21.717128][ T763] ? hvc_write+0x3a0/0x3a0 [ 21.717131][ T763] ? rcu_is_watching+0x16/0xd0 [ 21.717133][ T763] ? lock_acquire+0x13c/0x160 [ 21.717137][ T763] console_emit_next_record+0x22f/0x4c0 [ 21.717141][ T763] ? devkmsg_read+0x4b0/0x4b0 [ 21.717143][ T763] ? console_flush_one_record+0x106/0x710 [ 21.717146][ T763] ? rcu_is_watching+0x16/0xd0 [ 21.717147][ T763] ? lock_acquire+0x13c/0x160 [ 21.717151][ T763] console_flush_one_record+0x46f/0x710 [ 21.717155][ T763] ? console_emit_next_record+0x4c0/0x4c0 [ 21.717157][ T763] ? __lock_acquire+0x518/0xc20 [ 21.717162][ T763] console_unlock+0xee/0x1f0 [ 21.717165][ T763] ? console_flush_one_record+0x710/0x710 [ 21.717167][ T763] ? rcu_is_watching+0x16/0xd0 [ 21.717169][ T763] ? lock_acquire+0xe0/0x160 [ 21.717172][ T763] ? __down_trylock_console_sem+0x5e/0xa0 [ 21.717174][ T763] ? vprintk_emit+0x320/0x3e0 [ 21.717177][ T763] vprintk_emit+0x37c/0x3e0 [ 21.717180][ T763] ? wake_up_klogd_work_func+0x90/0x90 [ 21.717183][ T763] ? __lock_acquire+0x518/0xc20 [ 21.717186][ T763] _printk+0xc7/0x100 [ 21.717190][ T763] ? snapshot_read.cold+0x21/0x21 [ 21.717193][ T763] ? do_raw_spin_lock+0x131/0x280 [ 21.717195][ T763] ? __rwlock_init+0x150/0x150 [ 21.717199][ T763] ? do_raw_spin_lock+0x131/0x280 [ 21.717202][ T763] do_exit.cold+0x82/0x9c [ 21.717206][ T763] ? exit_notify+0x890/0x890 [ 21.717207][ T763] ? __lock_release.isra.0+0x69/0x1a0 [ 21.717210][ T763] ? rcu_is_watching+0x16/0xd0 [ 21.717213][ T763] do_group_exit+0xb8/0x370 [ 21.717216][ T763] __x64_sys_exit_group+0x3c/0x50 [ 21.717218][ T763] x64_sys_call+0x1567/0x1570 [ 21.717220][ T763] do_syscall_64+0xff/0x530 [ 21.717224][ T763] ? exc_page_fault+0xee/0x100 [ 21.717227][ T763] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 21.717229][ T763] RIP: 0033:0x7fd2503441b8 [ 21.717231][ T763] Code: Unable to access opcode bytes at 0x7fd25034418e. [ 21.717232][ T763] RSP: 002b:00007fff822bfde8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 21.717234][ T763] RAX: ffffffffffffffda RBX: 00007fd250474f88 RCX: 00007fd2503441b8 [ 21.717236][ T763] RDX: 00007fd25008efc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 21.717237][ T763] RBP: 00007fff822bfe40 R08: 0000000000000000 R09: 0000000000000050 [ 21.717237][ T763] R10: 00007fff822bfc00 R11: 0000000000000246 R12: 0000000000000001 [ 21.717238][ T763] R13: 0000000000000000 R14: 00007fd250473680 R15: 00007fd250474fa0 [ 21.717245][ T763]