[ 12.667880][ T264] ip (264) used greatest stack depth: 23552 bytes left [ 12.667899][ T264] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.667901][ T264] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 264, name: ip [ 12.667903][ T264] preempt_count: 2, expected: 0 [ 12.667904][ T264] RCU nest depth: 0, expected: 0 [ 12.667905][ T264] locks held by ip/264: 5, last CPU#1: [ 12.667907][ T264] #0: ffffffff8be167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.667920][ T264] #1: ffffffff8bf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.667925][ T264] #2: ffffffff8bf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.667929][ T264] #3: ffffffff8be9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.667932][ T264] #4: ffffffff8be9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.667937][ T264] irq event stamp: 31892 [ 12.667937][ T264] hardirqs last enabled at (31891): [] __down_trylock_console_sem+0x86/0xa0 [ 12.667941][ T264] hardirqs last disabled at (31892): [] console_emit_next_record+0x3d4/0x4c0 [ 12.667943][ T264] softirqs last enabled at (31212): [] handle_softirqs+0x67c/0x900 [ 12.667945][ T264] softirqs last disabled at (31207): [] __irq_exit_rcu+0x145/0x1c0 [ 12.667947][ T264] Preemption disabled at: [ 12.667948][ T264] [<0000000000000000>] 0x0 [ 12.667955][ T264] CPU: 1 UID: 0 PID: 264 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.667959][ T264] Tainted: [W]=WARN [ 12.667960][ T264] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.667962][ T264] Call Trace: [ 12.667964][ T264] [ 12.667968][ T264] dump_stack_lvl+0x6f/0xa0 [ 12.667974][ T264] __might_resched.cold+0x1fe/0x2c1 [ 12.667979][ T264] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.667983][ T264] ? __kmalloc_noprof+0xdb/0x760 [ 12.667987][ T264] __kmalloc_noprof+0x443/0x760 [ 12.667989][ T264] ? alloc_buf.isra.0+0x4b/0x260 [ 12.667997][ T264] ? do_raw_spin_unlock+0x59/0x250 [ 12.668000][ T264] alloc_buf.isra.0+0x4b/0x260 [ 12.668003][ T264] put_chars+0x1e1/0x2f0 [ 12.668006][ T264] ? __send_to_port+0x420/0x420 [ 12.668007][ T264] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.668011][ T264] ? validate_chain+0x38b/0xc20 [ 12.668016][ T264] hvc_console_print+0x292/0x780 [ 12.668023][ T264] ? hvc_write+0x3a0/0x3a0 [ 12.668026][ T264] ? rcu_is_watching+0x16/0xd0 [ 12.668028][ T264] ? lock_acquire+0x13c/0x160 [ 12.668032][ T264] console_emit_next_record+0x22f/0x4c0 [ 12.668036][ T264] ? devkmsg_read+0x4b0/0x4b0 [ 12.668038][ T264] ? console_flush_one_record+0x106/0x710 [ 12.668041][ T264] ? rcu_is_watching+0x16/0xd0 [ 12.668043][ T264] ? lock_acquire+0x13c/0x160 [ 12.668047][ T264] console_flush_one_record+0x46f/0x710 [ 12.668052][ T264] ? console_emit_next_record+0x4c0/0x4c0 [ 12.668053][ T264] ? __lock_acquire+0x518/0xc20 [ 12.668059][ T264] console_unlock+0xee/0x1f0 [ 12.668062][ T264] ? console_flush_one_record+0x710/0x710 [ 12.668064][ T264] ? rcu_is_watching+0x16/0xd0 [ 12.668065][ T264] ? lock_acquire+0xe0/0x160 [ 12.668069][ T264] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.668071][ T264] ? vprintk_emit+0x320/0x3e0 [ 12.668074][ T264] vprintk_emit+0x37c/0x3e0 [ 12.668077][ T264] ? wake_up_klogd_work_func+0x90/0x90 [ 12.668080][ T264] ? __lock_acquire+0x518/0xc20 [ 12.668084][ T264] _printk+0xc7/0x100 [ 12.668087][ T264] ? snapshot_read.cold+0x21/0x21 [ 12.668090][ T264] ? do_raw_spin_lock+0x131/0x280 [ 12.668093][ T264] ? __rwlock_init+0x150/0x150 [ 12.668097][ T264] ? do_raw_spin_lock+0x131/0x280 [ 12.668099][ T264] do_exit.cold+0x82/0x9c [ 12.668103][ T264] ? exit_notify+0x890/0x890 [ 12.668105][ T264] ? __lock_release.isra.0+0x69/0x1a0 [ 12.668107][ T264] ? rcu_is_watching+0x16/0xd0 [ 12.668111][ T264] do_group_exit+0xb8/0x370 [ 12.668114][ T264] __x64_sys_exit_group+0x3c/0x50 [ 12.668116][ T264] x64_sys_call+0x1567/0x1570 [ 12.668118][ T264] do_syscall_64+0xff/0x530 [ 12.668123][ T264] ? exc_page_fault+0xee/0x100 [ 12.668126][ T264] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.668128][ T264] RIP: 0033:0x7f5bad2411b8 [ 12.668130][ T264] Code: Unable to access opcode bytes at 0x7f5bad24118e. [ 12.668131][ T264] RSP: 002b:00007ffcf8d61e98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.668134][ T264] RAX: ffffffffffffffda RBX: 00007f5bad371f88 RCX: 00007f5bad2411b8 [ 12.668135][ T264] RDX: 00007f5bacf8bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.668136][ T264] RBP: 00007ffcf8d61ef0 R08: 0000000000000000 R09: 0000000000000050 [ 12.668137][ T264] R10: 00007ffcf8d61cb0 R11: 0000000000000246 R12: 0000000000000001 [ 12.668138][ T264] R13: 0000000000000000 R14: 00007f5bad370680 R15: 00007f5bad371fa0 [ 12.668144][ T264] [ 12.928225][ T272] ip (272) used greatest stack depth: 23504 bytes left