[ 34.395812][ T434] ip (434) used greatest stack depth: 24192 bytes left [ 34.395829][ T434] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.395831][ T434] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 434, name: ip [ 34.395832][ T434] preempt_count: 2, expected: 0 [ 34.395833][ T434] RCU nest depth: 0, expected: 0 [ 34.395834][ T434] locks held by ip/434: 5, last CPU#1: [ 34.395836][ T434] #0: ffffffffad4027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 34.395850][ T434] #1: ffffffffad569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.395855][ T434] #2: ffffffffad569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.395859][ T434] #3: ffffffffad489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.395863][ T434] #4: ffffffffad489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 34.395866][ T434] irq event stamp: 27728 [ 34.395867][ T434] hardirqs last enabled at (27727): [] __down_trylock_console_sem+0x86/0xa0 [ 34.395870][ T434] hardirqs last disabled at (27728): [] console_emit_next_record+0x3d4/0x4c0 [ 34.395872][ T434] softirqs last enabled at (27554): [] handle_softirqs+0x67c/0x900 [ 34.395874][ T434] softirqs last disabled at (27473): [] __irq_exit_rcu+0x145/0x1c0 [ 34.395876][ T434] Preemption disabled at: [ 34.395877][ T434] [<0000000000000000>] 0x0 [ 34.395883][ T434] CPU: 1 UID: 0 PID: 434 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.395887][ T434] Tainted: [W]=WARN [ 34.395888][ T434] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.395889][ T434] Call Trace: [ 34.395891][ T434] [ 34.395892][ T434] dump_stack_lvl+0x6f/0xa0 [ 34.395898][ T434] __might_resched.cold+0x1fe/0x2c1 [ 34.395903][ T434] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.395907][ T434] ? __kmalloc_noprof+0xdb/0x760 [ 34.395912][ T434] __kmalloc_noprof+0x443/0x760 [ 34.395914][ T434] ? alloc_buf.isra.0+0x4b/0x260 [ 34.395920][ T434] ? do_raw_spin_unlock+0x59/0x250 [ 34.395923][ T434] alloc_buf.isra.0+0x4b/0x260 [ 34.395926][ T434] put_chars+0x1e1/0x2f0 [ 34.395928][ T434] ? __send_to_port+0x420/0x420 [ 34.395930][ T434] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 34.395934][ T434] ? validate_chain+0x38b/0xc20 [ 34.395939][ T434] hvc_console_print+0x292/0x780 [ 34.395945][ T434] ? hvc_write+0x3a0/0x3a0 [ 34.395947][ T434] ? rcu_is_watching+0x16/0xd0 [ 34.395950][ T434] ? lock_acquire+0x13c/0x160 [ 34.395954][ T434] console_emit_next_record+0x22f/0x4c0 [ 34.395957][ T434] ? devkmsg_read+0x4b0/0x4b0 [ 34.395959][ T434] ? console_flush_one_record+0x106/0x710 [ 34.395962][ T434] ? rcu_is_watching+0x16/0xd0 [ 34.395964][ T434] ? lock_acquire+0x13c/0x160 [ 34.395968][ T434] console_flush_one_record+0x46f/0x710 [ 34.395972][ T434] ? console_emit_next_record+0x4c0/0x4c0 [ 34.395974][ T434] ? __lock_acquire+0x518/0xc20 [ 34.395979][ T434] console_unlock+0xee/0x1f0 [ 34.395982][ T434] ? console_flush_one_record+0x710/0x710 [ 34.395983][ T434] ? rcu_is_watching+0x16/0xd0 [ 34.395986][ T434] ? lock_acquire+0x60/0x160 [ 34.395989][ T434] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.395991][ T434] ? vprintk_emit+0x320/0x3e0 [ 34.395994][ T434] vprintk_emit+0x37c/0x3e0 [ 34.395998][ T434] ? wake_up_klogd_work_func+0x90/0x90 [ 34.396001][ T434] ? __lock_acquire+0x518/0xc20 [ 34.396004][ T434] _printk+0xc7/0x100 [ 34.396009][ T434] ? snapshot_read.cold+0x21/0x21 [ 34.396011][ T434] ? do_raw_spin_lock+0x131/0x280 [ 34.396014][ T434] ? __rwlock_init+0x150/0x150 [ 34.396017][ T434] ? do_raw_spin_lock+0x131/0x280 [ 34.396020][ T434] do_exit.cold+0x82/0x9c [ 34.396024][ T434] ? exit_notify+0x890/0x890 [ 34.396026][ T434] ? __lock_release.isra.0+0x69/0x1a0 [ 34.396028][ T434] ? rcu_is_watching+0x16/0xd0 [ 34.396032][ T434] do_group_exit+0xb8/0x370 [ 34.396035][ T434] __x64_sys_exit_group+0x3c/0x50 [ 34.396036][ T434] x64_sys_call+0x1567/0x1570 [ 34.396039][ T434] do_syscall_64+0xff/0x530 [ 34.396042][ T434] ? exc_page_fault+0xee/0x100 [ 34.396045][ T434] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.396047][ T434] RIP: 0033:0x7fb5f7c031b8 [ 34.396049][ T434] Code: Unable to access opcode bytes at 0x7fb5f7c0318e. [ 34.396050][ T434] RSP: 002b:00007ffc63a102d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 34.396053][ T434] RAX: ffffffffffffffda RBX: 00007fb5f7d33f88 RCX: 00007fb5f7c031b8 [ 34.396054][ T434] RDX: 00007fb5f794dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 34.396055][ T434] RBP: 00007ffc63a10330 R08: 0000000000000000 R09: 0000000000000050 [ 34.396056][ T434] R10: 00007ffc63a100f0 R11: 0000000000000246 R12: 0000000000000001 [ 34.396057][ T434] R13: 0000000000000000 R14: 00007fb5f7d32680 R15: 00007fb5f7d33fa0 [ 34.396064][ T434]