[ 12.148865][ T225] ip (225) used greatest stack depth: 23920 bytes left [ 12.148885][ T225] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.148888][ T225] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 225, name: ip [ 12.148890][ T225] preempt_count: 2, expected: 0 [ 12.148892][ T225] RCU nest depth: 0, expected: 0 [ 12.148893][ T225] locks held by ip/225: 5, last CPU#0: [ 12.148896][ T225] #0: ffffffff93e267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.148912][ T225] #1: ffffffff93f8dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.148920][ T225] #2: ffffffff93f8dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.148926][ T225] #3: ffffffff93ead660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.148932][ T225] #4: ffffffff93ead560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.148938][ T225] irq event stamp: 31496 [ 12.148939][ T225] hardirqs last enabled at (31495): [] __down_trylock_console_sem+0x86/0xa0 [ 12.148943][ T225] hardirqs last disabled at (31496): [] console_emit_next_record+0x3d4/0x4c0 [ 12.148945][ T225] softirqs last enabled at (30208): [] netlink_release+0x17b/0xcf0 [ 12.148951][ T225] softirqs last disabled at (30206): [] netlink_release+0xd2/0xcf0 [ 12.148955][ T225] Preemption disabled at: [ 12.148955][ T225] [<0000000000000000>] 0x0 [ 12.148964][ T225] CPU: 0 UID: 0 PID: 225 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.148969][ T225] Tainted: [W]=WARN [ 12.148970][ T225] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.148972][ T225] Call Trace: [ 12.148974][ T225] [ 12.148977][ T225] dump_stack_lvl+0x6f/0xa0 [ 12.148985][ T225] __might_resched.cold+0x1fe/0x2c1 [ 12.148991][ T225] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.148996][ T225] ? __kmalloc_noprof+0xdb/0x760 [ 12.149004][ T225] __kmalloc_noprof+0x443/0x760 [ 12.149007][ T225] ? alloc_buf.isra.0+0x4b/0x260 [ 12.149018][ T225] ? do_raw_spin_unlock+0x59/0x250 [ 12.149021][ T225] alloc_buf.isra.0+0x4b/0x260 [ 12.149027][ T225] put_chars+0x1e1/0x2f0 [ 12.149032][ T225] ? __send_to_port+0x420/0x420 [ 12.149035][ T225] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.149041][ T225] ? validate_chain+0x38b/0xc20 [ 12.149051][ T225] hvc_console_print+0x292/0x780 [ 12.149063][ T225] ? hvc_write+0x3a0/0x3a0 [ 12.149067][ T225] ? rcu_is_watching+0x16/0xd0 [ 12.149071][ T225] ? lock_acquire+0x13c/0x160 [ 12.149078][ T225] console_emit_next_record+0x22f/0x4c0 [ 12.149084][ T225] ? devkmsg_read+0x4b0/0x4b0 [ 12.149087][ T225] ? console_flush_one_record+0x106/0x710 [ 12.149092][ T225] ? rcu_is_watching+0x16/0xd0 [ 12.149096][ T225] ? lock_acquire+0x13c/0x160 [ 12.149103][ T225] console_flush_one_record+0x46f/0x710 [ 12.149110][ T225] ? console_emit_next_record+0x4c0/0x4c0 [ 12.149112][ T225] ? __lock_acquire+0x518/0xc20 [ 12.149122][ T225] console_unlock+0xee/0x1f0 [ 12.149126][ T225] ? console_flush_one_record+0x710/0x710 [ 12.149129][ T225] ? rcu_is_watching+0x16/0xd0 [ 12.149132][ T225] ? lock_acquire+0x60/0x160 [ 12.149139][ T225] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.149141][ T225] ? vprintk_emit+0x320/0x3e0 [ 12.149146][ T225] vprintk_emit+0x37c/0x3e0 [ 12.149152][ T225] ? wake_up_klogd_work_func+0x90/0x90 [ 12.149158][ T225] ? __lock_acquire+0x518/0xc20 [ 12.149165][ T225] _printk+0xc7/0x100 [ 12.149170][ T225] ? snapshot_read.cold+0x21/0x21 [ 12.149174][ T225] ? do_raw_spin_lock+0x131/0x280 [ 12.149179][ T225] ? __rwlock_init+0x150/0x150 [ 12.149185][ T225] ? do_raw_spin_lock+0x131/0x280 [ 12.149190][ T225] do_exit.cold+0x82/0x9c [ 12.149195][ T225] ? exit_notify+0x890/0x890 [ 12.149198][ T225] ? __lock_release.isra.0+0x69/0x1a0 [ 12.149203][ T225] ? rcu_is_watching+0x16/0xd0 [ 12.149210][ T225] do_group_exit+0xb8/0x370 [ 12.149215][ T225] __x64_sys_exit_group+0x3c/0x50 [ 12.149219][ T225] x64_sys_call+0x1567/0x1570 [ 12.149221][ T225] do_syscall_64+0xff/0x530 [ 12.149226][ T225] ? exc_page_fault+0xee/0x100 [ 12.149231][ T225] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.149234][ T225] RIP: 0033:0x7f762fa6a1b8 [ 12.149237][ T225] Code: Unable to access opcode bytes at 0x7f762fa6a18e. [ 12.149239][ T225] RSP: 002b:00007ffd2d756c38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.149242][ T225] RAX: ffffffffffffffda RBX: 00007f762fb9af88 RCX: 00007f762fa6a1b8 [ 12.149244][ T225] RDX: 00007f762f7b4fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.149246][ T225] RBP: 00007ffd2d756c90 R08: 0000000000000000 R09: 0000000000000000 [ 12.149247][ T225] R10: 00007ffd2d756a50 R11: 0000000000000246 R12: 0000000000000001 [ 12.149249][ T225] R13: 0000000000000000 R14: 00007f762fb99680 R15: 00007f762fb9afa0 [ 12.149263][ T225]