[ 11.337339][ T264] ip (264) used greatest stack depth: 23712 bytes left [ 11.337355][ T264] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.337357][ T264] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 264, name: ip [ 11.337358][ T264] preempt_count: 2, expected: 0 [ 11.337359][ T264] RCU nest depth: 0, expected: 0 [ 11.337360][ T264] locks held by ip/264: 5, last CPU#0: [ 11.337362][ T264] #0: ffffffffb72167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.337373][ T264] #1: ffffffffb737ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.337378][ T264] #2: ffffffffb737de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.337382][ T264] #3: ffffffffb729d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.337386][ T264] #4: ffffffffb729d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.337390][ T264] irq event stamp: 24174 [ 11.337391][ T264] hardirqs last enabled at (24173): [] __down_trylock_console_sem+0x86/0xa0 [ 11.337394][ T264] hardirqs last disabled at (24174): [] console_emit_next_record+0x3d4/0x4c0 [ 11.337396][ T264] softirqs last enabled at (23562): [] handle_softirqs+0x67c/0x900 [ 11.337398][ T264] softirqs last disabled at (23555): [] __irq_exit_rcu+0x145/0x1c0 [ 11.337400][ T264] Preemption disabled at: [ 11.337401][ T264] [<0000000000000000>] 0x0 [ 11.337408][ T264] CPU: 0 UID: 0 PID: 264 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.337411][ T264] Tainted: [W]=WARN [ 11.337412][ T264] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.337414][ T264] Call Trace: [ 11.337415][ T264] [ 11.337417][ T264] dump_stack_lvl+0x6f/0xa0 [ 11.337423][ T264] __might_resched.cold+0x1fe/0x2c1 [ 11.337428][ T264] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.337432][ T264] ? __kmalloc_noprof+0xdb/0x760 [ 11.337437][ T264] __kmalloc_noprof+0x443/0x760 [ 11.337439][ T264] ? alloc_buf.isra.0+0x4b/0x260 [ 11.337445][ T264] ? do_raw_spin_unlock+0x59/0x250 [ 11.337448][ T264] alloc_buf.isra.0+0x4b/0x260 [ 11.337452][ T264] put_chars+0x1e1/0x2f0 [ 11.337454][ T264] ? __send_to_port+0x420/0x420 [ 11.337456][ T264] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.337460][ T264] ? validate_chain+0x38b/0xc20 [ 11.337465][ T264] hvc_console_print+0x292/0x780 [ 11.337472][ T264] ? hvc_write+0x3a0/0x3a0 [ 11.337475][ T264] ? rcu_is_watching+0x16/0xd0 [ 11.337477][ T264] ? lock_acquire+0x13c/0x160 [ 11.337481][ T264] console_emit_next_record+0x22f/0x4c0 [ 11.337485][ T264] ? devkmsg_read+0x4b0/0x4b0 [ 11.337487][ T264] ? console_flush_one_record+0x106/0x710 [ 11.337491][ T264] ? rcu_is_watching+0x16/0xd0 [ 11.337493][ T264] ? lock_acquire+0x13c/0x160 [ 11.337497][ T264] console_flush_one_record+0x46f/0x710 [ 11.337501][ T264] ? console_emit_next_record+0x4c0/0x4c0 [ 11.337503][ T264] ? __lock_acquire+0x518/0xc20 [ 11.337509][ T264] console_unlock+0xee/0x1f0 [ 11.337512][ T264] ? console_flush_one_record+0x710/0x710 [ 11.337514][ T264] ? rcu_is_watching+0x16/0xd0 [ 11.337515][ T264] ? lock_acquire+0xe0/0x160 [ 11.337519][ T264] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.337521][ T264] ? vprintk_emit+0x320/0x3e0 [ 11.337524][ T264] vprintk_emit+0x37c/0x3e0 [ 11.337527][ T264] ? wake_up_klogd_work_func+0x90/0x90 [ 11.337530][ T264] ? __lock_acquire+0x518/0xc20 [ 11.337534][ T264] _printk+0xc7/0x100 [ 11.337537][ T264] ? snapshot_read.cold+0x21/0x21 [ 11.337540][ T264] ? do_raw_spin_lock+0x131/0x280 [ 11.337543][ T264] ? __rwlock_init+0x150/0x150 [ 11.337547][ T264] ? do_raw_spin_lock+0x131/0x280 [ 11.337550][ T264] do_exit.cold+0x82/0x9c [ 11.337553][ T264] ? exit_notify+0x890/0x890 [ 11.337555][ T264] ? __lock_release.isra.0+0x69/0x1a0 [ 11.337558][ T264] ? rcu_is_watching+0x16/0xd0 [ 11.337561][ T264] do_group_exit+0xb8/0x370 [ 11.337564][ T264] __x64_sys_exit_group+0x3c/0x50 [ 11.337566][ T264] x64_sys_call+0x1567/0x1570 [ 11.337568][ T264] do_syscall_64+0xff/0x530 [ 11.337572][ T264] ? exc_page_fault+0xee/0x100 [ 11.337575][ T264] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.337577][ T264] RIP: 0033:0x7f98093201b8 [ 11.337580][ T264] Code: Unable to access opcode bytes at 0x7f980932018e. [ 11.337581][ T264] RSP: 002b:00007ffff0ca40c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.337583][ T264] RAX: ffffffffffffffda RBX: 00007f9809450f88 RCX: 00007f98093201b8 [ 11.337585][ T264] RDX: 00007f980906afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.337586][ T264] RBP: 00007ffff0ca4120 R08: 0000000000000000 R09: 0000000000000050 [ 11.337586][ T264] R10: 00007ffff0ca3ee0 R11: 0000000000000246 R12: 0000000000000001 [ 11.337587][ T264] R13: 0000000000000000 R14: 00007f980944f680 R15: 00007f9809450fa0 [ 11.337594][ T264]