[ 12.336239][ T241] ip (241) used greatest stack depth: 24144 bytes left [ 12.336253][ T241] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.336256][ T241] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 241, name: ip [ 12.336257][ T241] preempt_count: 2, expected: 0 [ 12.336258][ T241] RCU nest depth: 0, expected: 0 [ 12.336259][ T241] locks held by ip/241: 5, last CPU#2: [ 12.336261][ T241] #0: ffffffffb12167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 12.336272][ T241] #1: ffffffffb137ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.336277][ T241] #2: ffffffffb137de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.336281][ T241] #3: ffffffffb129d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.336285][ T241] #4: ffffffffb129d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.336288][ T241] irq event stamp: 28902 [ 12.336289][ T241] hardirqs last enabled at (28901): [] __down_trylock_console_sem+0x86/0xa0 [ 12.336292][ T241] hardirqs last disabled at (28902): [] console_emit_next_record+0x3d4/0x4c0 [ 12.336295][ T241] softirqs last enabled at (28340): [] handle_softirqs+0x67c/0x900 [ 12.336297][ T241] softirqs last disabled at (28335): [] __irq_exit_rcu+0x145/0x1c0 [ 12.336299][ T241] Preemption disabled at: [ 12.336300][ T241] [<0000000000000000>] 0x0 [ 12.336307][ T241] CPU: 2 UID: 0 PID: 241 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.336310][ T241] Tainted: [W]=WARN [ 12.336311][ T241] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.336312][ T241] Call Trace: [ 12.336314][ T241] [ 12.336315][ T241] dump_stack_lvl+0x6f/0xa0 [ 12.336322][ T241] __might_resched.cold+0x1fe/0x2c1 [ 12.336326][ T241] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.336330][ T241] ? __kmalloc_noprof+0xdb/0x760 [ 12.336335][ T241] __kmalloc_noprof+0x443/0x760 [ 12.336336][ T241] ? alloc_buf.isra.0+0x4b/0x260 [ 12.336343][ T241] ? do_raw_spin_unlock+0x59/0x250 [ 12.336346][ T241] alloc_buf.isra.0+0x4b/0x260 [ 12.336349][ T241] put_chars+0x1e1/0x2f0 [ 12.336352][ T241] ? __send_to_port+0x420/0x420 [ 12.336353][ T241] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.336356][ T241] ? validate_chain+0x38b/0xc20 [ 12.336362][ T241] hvc_console_print+0x292/0x780 [ 12.336369][ T241] ? hvc_write+0x3a0/0x3a0 [ 12.336371][ T241] ? rcu_is_watching+0x16/0xd0 [ 12.336373][ T241] ? lock_acquire+0x13c/0x160 [ 12.336377][ T241] console_emit_next_record+0x22f/0x4c0 [ 12.336385][ T241] ? devkmsg_read+0x4b0/0x4b0 [ 12.336387][ T241] ? console_flush_one_record+0x106/0x710 [ 12.336390][ T241] ? rcu_is_watching+0x16/0xd0 [ 12.336392][ T241] ? lock_acquire+0x13c/0x160 [ 12.336396][ T241] console_flush_one_record+0x46f/0x710 [ 12.336400][ T241] ? console_emit_next_record+0x4c0/0x4c0 [ 12.336402][ T241] ? __lock_acquire+0x518/0xc20 [ 12.336407][ T241] console_unlock+0xee/0x1f0 [ 12.336410][ T241] ? console_flush_one_record+0x710/0x710 [ 12.336412][ T241] ? rcu_is_watching+0x16/0xd0 [ 12.336413][ T241] ? lock_acquire+0xe0/0x160 [ 12.336417][ T241] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.336419][ T241] ? vprintk_emit+0x320/0x3e0 [ 12.336421][ T241] vprintk_emit+0x37c/0x3e0 [ 12.336424][ T241] ? wake_up_klogd_work_func+0x90/0x90 [ 12.336427][ T241] ? __lock_acquire+0x518/0xc20 [ 12.336431][ T241] _printk+0xc7/0x100 [ 12.336434][ T241] ? snapshot_read.cold+0x21/0x21 [ 12.336437][ T241] ? do_raw_spin_lock+0x131/0x280 [ 12.336439][ T241] ? __rwlock_init+0x150/0x150 [ 12.336443][ T241] ? do_raw_spin_lock+0x131/0x280 [ 12.336446][ T241] do_exit.cold+0x82/0x9c [ 12.336450][ T241] ? exit_notify+0x890/0x890 [ 12.336451][ T241] ? __lock_release.isra.0+0x69/0x1a0 [ 12.336454][ T241] ? rcu_is_watching+0x16/0xd0 [ 12.336457][ T241] do_group_exit+0xb8/0x370 [ 12.336460][ T241] __x64_sys_exit_group+0x3c/0x50 [ 12.336462][ T241] x64_sys_call+0x1567/0x1570 [ 12.336464][ T241] do_syscall_64+0xff/0x530 [ 12.336468][ T241] ? exc_page_fault+0xee/0x100 [ 12.336471][ T241] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.336473][ T241] RIP: 0033:0x7fa7d377f1b8 [ 12.336475][ T241] Code: Unable to access opcode bytes at 0x7fa7d377f18e. [ 12.336476][ T241] RSP: 002b:00007ffdc59f63c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 12.336478][ T241] RAX: ffffffffffffffda RBX: 00007fa7d38aff88 RCX: 00007fa7d377f1b8 [ 12.336480][ T241] RDX: 00007fa7d34c9fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 12.336481][ T241] RBP: 00007ffdc59f6420 R08: 0000000000000000 R09: 0000000000000050 [ 12.336482][ T241] R10: 00007ffdc59f61e0 R11: 0000000000000246 R12: 0000000000000001 [ 12.336482][ T241] R13: 0000000000000000 R14: 00007fa7d38ae680 R15: 00007fa7d38affa0 [ 12.336489][ T241]