[ 11.713438][ T251] ip (251) used greatest stack depth: 24416 bytes left [ 11.713456][ T251] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.713459][ T251] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 251, name: ip [ 11.713461][ T251] preempt_count: 2, expected: 0 [ 11.713462][ T251] RCU nest depth: 0, expected: 0 [ 11.713464][ T251] locks held by ip/251: 5, last CPU#2: [ 11.713466][ T251] #0: ffffffffb0e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.713481][ T251] #1: ffffffffb0f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.713488][ T251] #2: ffffffffb0f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.713494][ T251] #3: ffffffffb0e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.713500][ T251] #4: ffffffffb0e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.713506][ T251] irq event stamp: 42014 [ 11.713507][ T251] hardirqs last enabled at (42013): [] __down_trylock_console_sem+0x86/0xa0 [ 11.713511][ T251] hardirqs last disabled at (42014): [] console_emit_next_record+0x3d4/0x4c0 [ 11.713514][ T251] softirqs last enabled at (40724): [] netlink_release+0x17b/0xcf0 [ 11.713519][ T251] softirqs last disabled at (40722): [] netlink_release+0xd2/0xcf0 [ 11.713522][ T251] Preemption disabled at: [ 11.713523][ T251] [<0000000000000000>] 0x0 [ 11.713532][ T251] CPU: 2 UID: 0 PID: 251 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.713536][ T251] Tainted: [W]=WARN [ 11.713537][ T251] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.713539][ T251] Call Trace: [ 11.713541][ T251] [ 11.713543][ T251] dump_stack_lvl+0x6f/0xa0 [ 11.713551][ T251] __might_resched.cold+0x1fe/0x2c1 [ 11.713557][ T251] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.713563][ T251] ? __kmalloc_noprof+0xdb/0x760 [ 11.713569][ T251] __kmalloc_noprof+0x443/0x760 [ 11.713573][ T251] ? alloc_buf.isra.0+0x4b/0x260 [ 11.713582][ T251] ? do_raw_spin_unlock+0x59/0x250 [ 11.713586][ T251] alloc_buf.isra.0+0x4b/0x260 [ 11.713592][ T251] put_chars+0x1e1/0x2f0 [ 11.713596][ T251] ? __send_to_port+0x420/0x420 [ 11.713598][ T251] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.713603][ T251] ? validate_chain+0x38b/0xc20 [ 11.713612][ T251] hvc_console_print+0x292/0x780 [ 11.713624][ T251] ? hvc_write+0x3a0/0x3a0 [ 11.713628][ T251] ? rcu_is_watching+0x16/0xd0 [ 11.713631][ T251] ? lock_acquire+0x13c/0x160 [ 11.713638][ T251] console_emit_next_record+0x22f/0x4c0 [ 11.713644][ T251] ? devkmsg_read+0x4b0/0x4b0 [ 11.713646][ T251] ? console_flush_one_record+0x106/0x710 [ 11.713652][ T251] ? rcu_is_watching+0x16/0xd0 [ 11.713654][ T251] ? lock_acquire+0x13c/0x160 [ 11.713661][ T251] console_flush_one_record+0x46f/0x710 [ 11.713668][ T251] ? console_emit_next_record+0x4c0/0x4c0 [ 11.713670][ T251] ? __lock_acquire+0x518/0xc20 [ 11.713679][ T251] console_unlock+0xee/0x1f0 [ 11.713684][ T251] ? console_flush_one_record+0x710/0x710 [ 11.713686][ T251] ? rcu_is_watching+0x16/0xd0 [ 11.713689][ T251] ? lock_acquire+0xe0/0x160 [ 11.713695][ T251] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.713698][ T251] ? vprintk_emit+0x320/0x3e0 [ 11.713702][ T251] vprintk_emit+0x37c/0x3e0 [ 11.713708][ T251] ? wake_up_klogd_work_func+0x90/0x90 [ 11.713713][ T251] ? __lock_acquire+0x518/0xc20 [ 11.713719][ T251] _printk+0xc7/0x100 [ 11.713724][ T251] ? snapshot_read.cold+0x21/0x21 [ 11.713728][ T251] ? do_raw_spin_lock+0x131/0x280 [ 11.713732][ T251] ? __rwlock_init+0x150/0x150 [ 11.713738][ T251] ? do_raw_spin_lock+0x131/0x280 [ 11.713743][ T251] do_exit.cold+0x82/0x9c [ 11.713748][ T251] ? exit_notify+0x890/0x890 [ 11.713750][ T251] ? __lock_release.isra.0+0x69/0x1a0 [ 11.713754][ T251] ? rcu_is_watching+0x16/0xd0 [ 11.713761][ T251] do_group_exit+0xb8/0x370 [ 11.713765][ T251] __x64_sys_exit_group+0x3c/0x50 [ 11.713768][ T251] x64_sys_call+0x1567/0x1570 [ 11.713771][ T251] do_syscall_64+0xff/0x530 [ 11.713776][ T251] ? exc_page_fault+0xee/0x100 [ 11.713780][ T251] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.713783][ T251] RIP: 0033:0x7fa9a3e921b8 [ 11.713786][ T251] Code: Unable to access opcode bytes at 0x7fa9a3e9218e. [ 11.713788][ T251] RSP: 002b:00007ffee7634ff8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.713791][ T251] RAX: ffffffffffffffda RBX: 00007fa9a3fc2f88 RCX: 00007fa9a3e921b8 [ 11.713793][ T251] RDX: 00007fa9a3bdcfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.713794][ T251] RBP: 00007ffee7635050 R08: 0000000000000000 R09: 0000000000000000 [ 11.713796][ T251] R10: 00007ffee7634e10 R11: 0000000000000246 R12: 0000000000000001 [ 11.713797][ T251] R13: 0000000000000000 R14: 00007fa9a3fc1680 R15: 00007fa9a3fc2fa0 [ 11.713810][ T251] [ 11.825508][ T256] ip (256) used greatest stack depth: 24272 bytes left [ 12.232140][ T271] ip (271) used greatest stack depth: 24000 bytes left