[ 11.352182][ T207] ip (207) used greatest stack depth: 23584 bytes left [ 11.352202][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.352205][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: ip [ 11.352207][ T207] preempt_count: 2, expected: 0 [ 11.352208][ T207] RCU nest depth: 0, expected: 0 [ 11.352208][ T207] locks held by ip/207: 5, last CPU#2: [ 11.352210][ T207] #0: ffffffffb38167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.352222][ T207] #1: ffffffffb397ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.352227][ T207] #2: ffffffffb397de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.352231][ T207] #3: ffffffffb389d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.352235][ T207] #4: ffffffffb389d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.352239][ T207] irq event stamp: 23804 [ 11.352240][ T207] hardirqs last enabled at (23803): [] __down_trylock_console_sem+0x86/0xa0 [ 11.352244][ T207] hardirqs last disabled at (23804): [] console_emit_next_record+0x3d4/0x4c0 [ 11.352246][ T207] softirqs last enabled at (23536): [] handle_softirqs+0x67c/0x900 [ 11.352248][ T207] softirqs last disabled at (23531): [] __irq_exit_rcu+0x145/0x1c0 [ 11.352251][ T207] Preemption disabled at: [ 11.352251][ T207] [<0000000000000000>] 0x0 [ 11.352259][ T207] CPU: 2 UID: 0 PID: 207 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.352262][ T207] Tainted: [W]=WARN [ 11.352263][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.352265][ T207] Call Trace: [ 11.352267][ T207] [ 11.352268][ T207] dump_stack_lvl+0x6f/0xa0 [ 11.352275][ T207] __might_resched.cold+0x1fe/0x2c1 [ 11.352279][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.352284][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 11.352288][ T207] __kmalloc_noprof+0x443/0x760 [ 11.352290][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 11.352297][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 11.352299][ T207] alloc_buf.isra.0+0x4b/0x260 [ 11.352303][ T207] put_chars+0x1e1/0x2f0 [ 11.352306][ T207] ? __send_to_port+0x420/0x420 [ 11.352307][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.352310][ T207] ? validate_chain+0x38b/0xc20 [ 11.352316][ T207] hvc_console_print+0x292/0x780 [ 11.352324][ T207] ? hvc_write+0x3a0/0x3a0 [ 11.352326][ T207] ? rcu_is_watching+0x16/0xd0 [ 11.352328][ T207] ? lock_acquire+0x13c/0x160 [ 11.352332][ T207] console_emit_next_record+0x22f/0x4c0 [ 11.352336][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 11.352338][ T207] ? console_flush_one_record+0x106/0x710 [ 11.352341][ T207] ? rcu_is_watching+0x16/0xd0 [ 11.352343][ T207] ? lock_acquire+0x13c/0x160 [ 11.352347][ T207] console_flush_one_record+0x46f/0x710 [ 11.352351][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 11.352353][ T207] ? __lock_acquire+0x518/0xc20 [ 11.352358][ T207] console_unlock+0xee/0x1f0 [ 11.352361][ T207] ? console_flush_one_record+0x710/0x710 [ 11.352362][ T207] ? rcu_is_watching+0x16/0xd0 [ 11.352364][ T207] ? lock_acquire+0xe0/0x160 [ 11.352368][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.352369][ T207] ? vprintk_emit+0x320/0x3e0 [ 11.352372][ T207] vprintk_emit+0x37c/0x3e0 [ 11.352375][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 11.352378][ T207] ? __lock_acquire+0x518/0xc20 [ 11.352382][ T207] _printk+0xc7/0x100 [ 11.352385][ T207] ? snapshot_read.cold+0x21/0x21 [ 11.352388][ T207] ? do_raw_spin_lock+0x131/0x280 [ 11.352391][ T207] ? __rwlock_init+0x150/0x150 [ 11.352395][ T207] ? do_raw_spin_lock+0x131/0x280 [ 11.352397][ T207] do_exit.cold+0x82/0x9c [ 11.352401][ T207] ? exit_notify+0x890/0x890 [ 11.352402][ T207] ? __lock_release.isra.0+0x69/0x1a0 [ 11.352405][ T207] ? rcu_is_watching+0x16/0xd0 [ 11.352408][ T207] do_group_exit+0xb8/0x370 [ 11.352411][ T207] __x64_sys_exit_group+0x3c/0x50 [ 11.352413][ T207] x64_sys_call+0x1567/0x1570 [ 11.352415][ T207] do_syscall_64+0xff/0x530 [ 11.352419][ T207] ? exc_page_fault+0xee/0x100 [ 11.352422][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.352425][ T207] RIP: 0033:0x7fb405e131b8 [ 11.352427][ T207] Code: Unable to access opcode bytes at 0x7fb405e1318e. [ 11.352428][ T207] RSP: 002b:00007ffc65685948 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.352431][ T207] RAX: ffffffffffffffda RBX: 00007fb405f43f88 RCX: 00007fb405e131b8 [ 11.352432][ T207] RDX: 00007fb405b5dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.352433][ T207] RBP: 00007ffc656859a0 R08: 0000000000000000 R09: 0000000000000050 [ 11.352434][ T207] R10: 00007ffc65685760 R11: 0000000000000246 R12: 0000000000000001 [ 11.352435][ T207] R13: 0000000000000000 R14: 00007fb405f42680 R15: 00007fb405f43fa0 [ 11.352441][ T207]