[ 11.395810][ T219] ip (219) used greatest stack depth: 24000 bytes left [ 11.395831][ T219] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.395833][ T219] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 219, name: ip [ 11.395835][ T219] preempt_count: 2, expected: 0 [ 11.395835][ T219] RCU nest depth: 0, expected: 0 [ 11.395836][ T219] locks held by ip/219: 5, last CPU#3: [ 11.395838][ T219] #0: fffffffface167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.395850][ T219] #1: ffffffffacf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.395855][ T219] #2: ffffffffacf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.395859][ T219] #3: fffffffface9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.395863][ T219] #4: fffffffface9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.395867][ T219] irq event stamp: 22622 [ 11.395868][ T219] hardirqs last enabled at (22621): [] __down_trylock_console_sem+0x86/0xa0 [ 11.395871][ T219] hardirqs last disabled at (22622): [] console_emit_next_record+0x3d4/0x4c0 [ 11.395874][ T219] softirqs last enabled at (22166): [] handle_softirqs+0x67c/0x900 [ 11.395876][ T219] softirqs last disabled at (22157): [] __irq_exit_rcu+0x145/0x1c0 [ 11.395878][ T219] Preemption disabled at: [ 11.395879][ T219] [<0000000000000000>] 0x0 [ 11.395886][ T219] CPU: 3 UID: 0 PID: 219 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.395889][ T219] Tainted: [W]=WARN [ 11.395890][ T219] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.395892][ T219] Call Trace: [ 11.395893][ T219] [ 11.395895][ T219] dump_stack_lvl+0x6f/0xa0 [ 11.395902][ T219] __might_resched.cold+0x1fe/0x2c1 [ 11.395906][ T219] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.395910][ T219] ? __kmalloc_noprof+0xdb/0x760 [ 11.395915][ T219] __kmalloc_noprof+0x443/0x760 [ 11.395917][ T219] ? alloc_buf.isra.0+0x4b/0x260 [ 11.395923][ T219] ? do_raw_spin_unlock+0x59/0x250 [ 11.395926][ T219] alloc_buf.isra.0+0x4b/0x260 [ 11.395930][ T219] put_chars+0x1e1/0x2f0 [ 11.395933][ T219] ? __send_to_port+0x420/0x420 [ 11.395934][ T219] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.395937][ T219] ? validate_chain+0x38b/0xc20 [ 11.395943][ T219] hvc_console_print+0x292/0x780 [ 11.395951][ T219] ? hvc_write+0x3a0/0x3a0 [ 11.395953][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.395955][ T219] ? lock_acquire+0x13c/0x160 [ 11.395959][ T219] console_emit_next_record+0x22f/0x4c0 [ 11.395963][ T219] ? devkmsg_read+0x4b0/0x4b0 [ 11.395965][ T219] ? console_flush_one_record+0x106/0x710 [ 11.395968][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.395970][ T219] ? lock_acquire+0x13c/0x160 [ 11.395974][ T219] console_flush_one_record+0x46f/0x710 [ 11.395978][ T219] ? console_emit_next_record+0x4c0/0x4c0 [ 11.395980][ T219] ? __lock_acquire+0x518/0xc20 [ 11.395985][ T219] console_unlock+0xee/0x1f0 [ 11.395988][ T219] ? console_flush_one_record+0x710/0x710 [ 11.395990][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.395991][ T219] ? lock_acquire+0xe0/0x160 [ 11.395995][ T219] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.395997][ T219] ? vprintk_emit+0x320/0x3e0 [ 11.395999][ T219] vprintk_emit+0x37c/0x3e0 [ 11.396002][ T219] ? wake_up_klogd_work_func+0x90/0x90 [ 11.396005][ T219] ? __lock_acquire+0x518/0xc20 [ 11.396009][ T219] _printk+0xc7/0x100 [ 11.396013][ T219] ? snapshot_read.cold+0x21/0x21 [ 11.396015][ T219] ? do_raw_spin_lock+0x131/0x280 [ 11.396018][ T219] ? __rwlock_init+0x150/0x150 [ 11.396022][ T219] ? do_raw_spin_lock+0x131/0x280 [ 11.396024][ T219] do_exit.cold+0x82/0x9c [ 11.396028][ T219] ? exit_notify+0x890/0x890 [ 11.396029][ T219] ? __lock_release.isra.0+0x69/0x1a0 [ 11.396032][ T219] ? rcu_is_watching+0x16/0xd0 [ 11.396036][ T219] do_group_exit+0xb8/0x370 [ 11.396038][ T219] __x64_sys_exit_group+0x3c/0x50 [ 11.396040][ T219] x64_sys_call+0x1567/0x1570 [ 11.396043][ T219] do_syscall_64+0xff/0x530 [ 11.396046][ T219] ? exc_page_fault+0xee/0x100 [ 11.396049][ T219] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.396052][ T219] RIP: 0033:0x7f4746cc71b8 [ 11.396054][ T219] Code: Unable to access opcode bytes at 0x7f4746cc718e. [ 11.396055][ T219] RSP: 002b:00007ffd22e43b78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.396057][ T219] RAX: ffffffffffffffda RBX: 00007f4746df7f88 RCX: 00007f4746cc71b8 [ 11.396059][ T219] RDX: 00007f4746a11fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.396060][ T219] RBP: 00007ffd22e43bd0 R08: 0000000000000000 R09: 0000000000000050 [ 11.396061][ T219] R10: 00007ffd22e43990 R11: 0000000000000246 R12: 0000000000000001 [ 11.396061][ T219] R13: 0000000000000000 R14: 00007f4746df6680 R15: 00007f4746df7fa0 [ 11.396068][ T219] [ 12.393169][ T249] ip (249) used greatest stack depth: 23872 bytes left