[ 14.817485][ T402] ip (402) used greatest stack depth: 23456 bytes left [ 14.817503][ T402] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.817505][ T402] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 402, name: ip [ 14.817507][ T402] preempt_count: 2, expected: 0 [ 14.817507][ T402] RCU nest depth: 0, expected: 0 [ 14.817508][ T402] locks held by ip/402: 5, last CPU#1: [ 14.817510][ T402] #0: ffffffff8d8167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 14.817522][ T402] #1: ffffffff8d97ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.817526][ T402] #2: ffffffff8d97de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.817531][ T402] #3: ffffffff8d89d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.817534][ T402] #4: ffffffff8d89d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 14.817538][ T402] irq event stamp: 24668 [ 14.817539][ T402] hardirqs last enabled at (24667): [] __down_trylock_console_sem+0x86/0xa0 [ 14.817542][ T402] hardirqs last disabled at (24668): [] console_emit_next_record+0x3d4/0x4c0 [ 14.817544][ T402] softirqs last enabled at (23350): [] handle_softirqs+0x67c/0x900 [ 14.817546][ T402] softirqs last disabled at (22699): [] __irq_exit_rcu+0x145/0x1c0 [ 14.817549][ T402] Preemption disabled at: [ 14.817550][ T402] [<0000000000000000>] 0x0 [ 14.817556][ T402] CPU: 1 UID: 0 PID: 402 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.817559][ T402] Tainted: [W]=WARN [ 14.817560][ T402] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.817562][ T402] Call Trace: [ 14.817563][ T402] [ 14.817565][ T402] dump_stack_lvl+0x6f/0xa0 [ 14.817571][ T402] __might_resched.cold+0x1fe/0x2c1 [ 14.817575][ T402] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.817579][ T402] ? __kmalloc_noprof+0xdb/0x760 [ 14.817584][ T402] __kmalloc_noprof+0x443/0x760 [ 14.817585][ T402] ? alloc_buf.isra.0+0x4b/0x260 [ 14.817592][ T402] ? do_raw_spin_unlock+0x59/0x250 [ 14.817594][ T402] alloc_buf.isra.0+0x4b/0x260 [ 14.817598][ T402] put_chars+0x1e1/0x2f0 [ 14.817600][ T402] ? __send_to_port+0x420/0x420 [ 14.817601][ T402] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.817605][ T402] ? validate_chain+0x38b/0xc20 [ 14.817610][ T402] hvc_console_print+0x292/0x780 [ 14.817617][ T402] ? hvc_write+0x3a0/0x3a0 [ 14.817620][ T402] ? rcu_is_watching+0x16/0xd0 [ 14.817622][ T402] ? lock_acquire+0x13c/0x160 [ 14.817626][ T402] console_emit_next_record+0x22f/0x4c0 [ 14.817629][ T402] ? devkmsg_read+0x4b0/0x4b0 [ 14.817631][ T402] ? console_flush_one_record+0x106/0x710 [ 14.817634][ T402] ? rcu_is_watching+0x16/0xd0 [ 14.817636][ T402] ? lock_acquire+0x13c/0x160 [ 14.817640][ T402] console_flush_one_record+0x46f/0x710 [ 14.817644][ T402] ? console_emit_next_record+0x4c0/0x4c0 [ 14.817645][ T402] ? __lock_acquire+0x518/0xc20 [ 14.817651][ T402] console_unlock+0xee/0x1f0 [ 14.817653][ T402] ? console_flush_one_record+0x710/0x710 [ 14.817655][ T402] ? rcu_is_watching+0x16/0xd0 [ 14.817657][ T402] ? lock_acquire+0xe0/0x160 [ 14.817660][ T402] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.817662][ T402] ? vprintk_emit+0x320/0x3e0 [ 14.817665][ T402] vprintk_emit+0x37c/0x3e0 [ 14.817668][ T402] ? wake_up_klogd_work_func+0x90/0x90 [ 14.817671][ T402] ? __lock_acquire+0x518/0xc20 [ 14.817674][ T402] _printk+0xc7/0x100 [ 14.817677][ T402] ? snapshot_read.cold+0x21/0x21 [ 14.817680][ T402] ? do_raw_spin_lock+0x131/0x280 [ 14.817683][ T402] ? __rwlock_init+0x150/0x150 [ 14.817686][ T402] ? do_raw_spin_lock+0x131/0x280 [ 14.817689][ T402] do_exit.cold+0x82/0x9c [ 14.817692][ T402] ? exit_notify+0x890/0x890 [ 14.817694][ T402] ? __lock_release.isra.0+0x69/0x1a0 [ 14.817696][ T402] ? rcu_is_watching+0x16/0xd0 [ 14.817700][ T402] do_group_exit+0xb8/0x370 [ 14.817702][ T402] __x64_sys_exit_group+0x3c/0x50 [ 14.817704][ T402] x64_sys_call+0x1567/0x1570 [ 14.817707][ T402] do_syscall_64+0xff/0x530 [ 14.817710][ T402] ? exc_page_fault+0xee/0x100 [ 14.817713][ T402] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.817715][ T402] RIP: 0033:0x7f182a05a1b8 [ 14.817717][ T402] Code: Unable to access opcode bytes at 0x7f182a05a18e. [ 14.817718][ T402] RSP: 002b:00007ffc22119af8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 14.817721][ T402] RAX: ffffffffffffffda RBX: 00007f182a18af88 RCX: 00007f182a05a1b8 [ 14.817722][ T402] RDX: 00007f1829da4fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 14.817723][ T402] RBP: 00007ffc22119b50 R08: 0000000000000000 R09: 0000000000008010 [ 14.817724][ T402] R10: 00007ffc22119910 R11: 0000000000000246 R12: 0000000000000001 [ 14.817725][ T402] R13: 0000000000000000 R14: 00007f182a189680 R15: 00007f182a18afa0 [ 14.817731][ T402]