[ 10.872744][ T207] ip (207) used greatest stack depth: 24224 bytes left [ 10.872760][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.872762][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: ip [ 10.872763][ T207] preempt_count: 2, expected: 0 [ 10.872764][ T207] RCU nest depth: 0, expected: 0 [ 10.872765][ T207] locks held by ip/207: 5, last CPU#0: [ 10.872767][ T207] #0: ffffffffb76167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.872777][ T207] #1: ffffffffb777ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.872782][ T207] #2: ffffffffb777de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.872786][ T207] #3: ffffffffb769d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.872790][ T207] #4: ffffffffb769d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.872794][ T207] irq event stamp: 37084 [ 10.872794][ T207] hardirqs last enabled at (37083): [] __down_trylock_console_sem+0x86/0xa0 [ 10.872798][ T207] hardirqs last disabled at (37084): [] console_emit_next_record+0x3d4/0x4c0 [ 10.872800][ T207] softirqs last enabled at (36438): [] handle_softirqs+0x67c/0x900 [ 10.872802][ T207] softirqs last disabled at (36271): [] __irq_exit_rcu+0x145/0x1c0 [ 10.872804][ T207] Preemption disabled at: [ 10.872805][ T207] [<0000000000000000>] 0x0 [ 10.872811][ T207] CPU: 0 UID: 0 PID: 207 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.872814][ T207] Tainted: [W]=WARN [ 10.872815][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.872817][ T207] Call Trace: [ 10.872818][ T207] [ 10.872819][ T207] dump_stack_lvl+0x6f/0xa0 [ 10.872825][ T207] __might_resched.cold+0x1fe/0x2c1 [ 10.872830][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.872834][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 10.872838][ T207] __kmalloc_noprof+0x443/0x760 [ 10.872840][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 10.872847][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 10.872849][ T207] alloc_buf.isra.0+0x4b/0x260 [ 10.872853][ T207] put_chars+0x1e1/0x2f0 [ 10.872856][ T207] ? __send_to_port+0x420/0x420 [ 10.872857][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.872860][ T207] ? validate_chain+0x38b/0xc20 [ 10.872866][ T207] hvc_console_print+0x292/0x780 [ 10.872873][ T207] ? hvc_write+0x3a0/0x3a0 [ 10.872876][ T207] ? rcu_is_watching+0x16/0xd0 [ 10.872877][ T207] ? lock_acquire+0x13c/0x160 [ 10.872881][ T207] console_emit_next_record+0x22f/0x4c0 [ 10.872885][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 10.872887][ T207] ? console_flush_one_record+0x106/0x710 [ 10.872890][ T207] ? rcu_is_watching+0x16/0xd0 [ 10.872892][ T207] ? lock_acquire+0x13c/0x160 [ 10.872896][ T207] console_flush_one_record+0x46f/0x710 [ 10.872900][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 10.872902][ T207] ? __lock_acquire+0x518/0xc20 [ 10.872907][ T207] console_unlock+0xee/0x1f0 [ 10.872910][ T207] ? console_flush_one_record+0x710/0x710 [ 10.872912][ T207] ? rcu_is_watching+0x16/0xd0 [ 10.872913][ T207] ? lock_acquire+0xe0/0x160 [ 10.872917][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.872919][ T207] ? vprintk_emit+0x320/0x3e0 [ 10.872921][ T207] vprintk_emit+0x37c/0x3e0 [ 10.872924][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 10.872927][ T207] ? __lock_acquire+0x518/0xc20 [ 10.872931][ T207] _printk+0xc7/0x100 [ 10.872934][ T207] ? snapshot_read.cold+0x21/0x21 [ 10.872937][ T207] ? do_raw_spin_lock+0x131/0x280 [ 10.872940][ T207] ? __rwlock_init+0x150/0x150 [ 10.872943][ T207] ? do_raw_spin_lock+0x131/0x280 [ 10.872946][ T207] do_exit.cold+0x82/0x9c [ 10.872950][ T207] ? exit_notify+0x890/0x890 [ 10.872951][ T207] ? __lock_release.isra.0+0x69/0x1a0 [ 10.872954][ T207] ? rcu_is_watching+0x16/0xd0 [ 10.872957][ T207] do_group_exit+0xb8/0x370 [ 10.872960][ T207] __x64_sys_exit_group+0x3c/0x50 [ 10.872962][ T207] x64_sys_call+0x1567/0x1570 [ 10.872964][ T207] do_syscall_64+0xff/0x530 [ 10.872969][ T207] ? exc_page_fault+0xee/0x100 [ 10.872972][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.872974][ T207] RIP: 0033:0x7fb8622561b8 [ 10.872976][ T207] Code: Unable to access opcode bytes at 0x7fb86225618e. [ 10.872977][ T207] RSP: 002b:00007fff9eb1d9b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.872979][ T207] RAX: ffffffffffffffda RBX: 00007fb862386f88 RCX: 00007fb8622561b8 [ 10.872980][ T207] RDX: 00007fb861fa0fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.872981][ T207] RBP: 00007fff9eb1da10 R08: 0000000000000000 R09: 0000000000000050 [ 10.872982][ T207] R10: 00007fff9eb1d7d0 R11: 0000000000000246 R12: 0000000000000001 [ 10.872983][ T207] R13: 0000000000000000 R14: 00007fb862385680 R15: 00007fb862386fa0 [ 10.872989][ T207]