[ 10.262855][ T213] ip (213) used greatest stack depth: 24176 bytes left [ 10.262871][ T213] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.262873][ T213] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 213, name: ip [ 10.262875][ T213] preempt_count: 2, expected: 0 [ 10.262876][ T213] RCU nest depth: 0, expected: 0 [ 10.262877][ T213] locks held by ip/213: 5, last CPU#2: [ 10.262879][ T213] #0: ffffffffba8167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.262890][ T213] #1: ffffffffba97ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.262894][ T213] #2: ffffffffba97de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.262899][ T213] #3: ffffffffba89d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.262902][ T213] #4: ffffffffba89d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.262906][ T213] irq event stamp: 22126 [ 10.262907][ T213] hardirqs last enabled at (22125): [] __down_trylock_console_sem+0x86/0xa0 [ 10.262910][ T213] hardirqs last disabled at (22126): [] console_emit_next_record+0x3d4/0x4c0 [ 10.262912][ T213] softirqs last enabled at (21222): [] handle_softirqs+0x67c/0x900 [ 10.262914][ T213] softirqs last disabled at (21217): [] __irq_exit_rcu+0x145/0x1c0 [ 10.262917][ T213] Preemption disabled at: [ 10.262917][ T213] [<0000000000000000>] 0x0 [ 10.262924][ T213] CPU: 2 UID: 0 PID: 213 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.262927][ T213] Tainted: [W]=WARN [ 10.262928][ T213] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.262929][ T213] Call Trace: [ 10.262931][ T213] [ 10.262932][ T213] dump_stack_lvl+0x6f/0xa0 [ 10.262939][ T213] __might_resched.cold+0x1fe/0x2c1 [ 10.262943][ T213] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.262947][ T213] ? __kmalloc_noprof+0xdb/0x760 [ 10.262951][ T213] __kmalloc_noprof+0x443/0x760 [ 10.262953][ T213] ? alloc_buf.isra.0+0x4b/0x260 [ 10.262960][ T213] ? do_raw_spin_unlock+0x59/0x250 [ 10.262963][ T213] alloc_buf.isra.0+0x4b/0x260 [ 10.262966][ T213] put_chars+0x1e1/0x2f0 [ 10.262968][ T213] ? __send_to_port+0x420/0x420 [ 10.262970][ T213] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.262973][ T213] ? validate_chain+0x38b/0xc20 [ 10.262978][ T213] hvc_console_print+0x292/0x780 [ 10.262986][ T213] ? hvc_write+0x3a0/0x3a0 [ 10.262989][ T213] ? rcu_is_watching+0x16/0xd0 [ 10.262990][ T213] ? lock_acquire+0x13c/0x160 [ 10.262994][ T213] console_emit_next_record+0x22f/0x4c0 [ 10.262998][ T213] ? devkmsg_read+0x4b0/0x4b0 [ 10.263005][ T213] ? console_flush_one_record+0x106/0x710 [ 10.263008][ T213] ? rcu_is_watching+0x16/0xd0 [ 10.263010][ T213] ? lock_acquire+0x13c/0x160 [ 10.263013][ T213] console_flush_one_record+0x46f/0x710 [ 10.263018][ T213] ? console_emit_next_record+0x4c0/0x4c0 [ 10.263019][ T213] ? __lock_acquire+0x518/0xc20 [ 10.263025][ T213] console_unlock+0xee/0x1f0 [ 10.263027][ T213] ? console_flush_one_record+0x710/0x710 [ 10.263029][ T213] ? rcu_is_watching+0x16/0xd0 [ 10.263031][ T213] ? lock_acquire+0xe0/0x160 [ 10.263035][ T213] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.263036][ T213] ? vprintk_emit+0x320/0x3e0 [ 10.263039][ T213] vprintk_emit+0x37c/0x3e0 [ 10.263042][ T213] ? wake_up_klogd_work_func+0x90/0x90 [ 10.263045][ T213] ? __lock_acquire+0x518/0xc20 [ 10.263048][ T213] _printk+0xc7/0x100 [ 10.263052][ T213] ? snapshot_read.cold+0x21/0x21 [ 10.263055][ T213] ? do_raw_spin_lock+0x131/0x280 [ 10.263057][ T213] ? __rwlock_init+0x150/0x150 [ 10.263061][ T213] ? do_raw_spin_lock+0x131/0x280 [ 10.263064][ T213] do_exit.cold+0x82/0x9c [ 10.263068][ T213] ? exit_notify+0x890/0x890 [ 10.263069][ T213] ? __lock_release.isra.0+0x69/0x1a0 [ 10.263072][ T213] ? rcu_is_watching+0x16/0xd0 [ 10.263075][ T213] do_group_exit+0xb8/0x370 [ 10.263078][ T213] __x64_sys_exit_group+0x3c/0x50 [ 10.263080][ T213] x64_sys_call+0x1567/0x1570 [ 10.263082][ T213] do_syscall_64+0xff/0x530 [ 10.263086][ T213] ? exc_page_fault+0xee/0x100 [ 10.263089][ T213] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.263091][ T213] RIP: 0033:0x7fa66902b1b8 [ 10.263093][ T213] Code: Unable to access opcode bytes at 0x7fa66902b18e. [ 10.263094][ T213] RSP: 002b:00007fff98ee15f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.263096][ T213] RAX: ffffffffffffffda RBX: 00007fa66915bf88 RCX: 00007fa66902b1b8 [ 10.263097][ T213] RDX: 00007fa668d75fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.263098][ T213] RBP: 00007fff98ee1650 R08: 0000000000000000 R09: 0000000000000050 [ 10.263099][ T213] R10: 00007fff98ee1410 R11: 0000000000000246 R12: 0000000000000001 [ 10.263100][ T213] R13: 0000000000000000 R14: 00007fa66915a680 R15: 00007fa66915bfa0 [ 10.263106][ T213] [ 10.996013][ T231] ip (231) used greatest stack depth: 23888 bytes left