[ 10.974063][ T175] ip (175) used greatest stack depth: 23616 bytes left [ 10.974085][ T175] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.974087][ T175] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 175, name: ip [ 10.974090][ T175] preempt_count: 2, expected: 0 [ 10.974091][ T175] RCU nest depth: 0, expected: 0 [ 10.974093][ T175] locks held by ip/175: 5, last CPU#2: [ 10.974096][ T175] #0: ffffffffb0a02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 10.974110][ T175] #1: ffffffffb0b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.974118][ T175] #2: ffffffffb0b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.974123][ T175] #3: ffffffffb0a89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.974128][ T175] #4: ffffffffb0a89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.974134][ T175] irq event stamp: 32850 [ 10.974135][ T175] hardirqs last enabled at (32849): [] __down_trylock_console_sem+0x86/0xa0 [ 10.974140][ T175] hardirqs last disabled at (32850): [] console_emit_next_record+0x3d4/0x4c0 [ 10.974143][ T175] softirqs last enabled at (31666): [] handle_softirqs+0x67c/0x900 [ 10.974146][ T175] softirqs last disabled at (31155): [] __irq_exit_rcu+0x145/0x1c0 [ 10.974150][ T175] Preemption disabled at: [ 10.974151][ T175] [<0000000000000000>] 0x0 [ 10.974160][ T175] CPU: 2 UID: 0 PID: 175 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.974164][ T175] Tainted: [W]=WARN [ 10.974166][ T175] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.974168][ T175] Call Trace: [ 10.974170][ T175] [ 10.974172][ T175] dump_stack_lvl+0x6f/0xa0 [ 10.974180][ T175] __might_resched.cold+0x1fe/0x2c1 [ 10.974186][ T175] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.974191][ T175] ? __kmalloc_noprof+0xdb/0x760 [ 10.974198][ T175] __kmalloc_noprof+0x443/0x760 [ 10.974202][ T175] ? alloc_buf.isra.0+0x4b/0x260 [ 10.974218][ T175] ? do_raw_spin_unlock+0x59/0x250 [ 10.974222][ T175] alloc_buf.isra.0+0x4b/0x260 [ 10.974228][ T175] put_chars+0x1e1/0x2f0 [ 10.974232][ T175] ? __send_to_port+0x420/0x420 [ 10.974244][ T175] hvc_console_print+0x292/0x780 [ 10.974256][ T175] ? hvc_write+0x3a0/0x3a0 [ 10.974261][ T175] ? lock_acquire+0x13c/0x160 [ 10.974269][ T175] console_emit_next_record+0x22f/0x4c0 [ 10.974275][ T175] ? devkmsg_read+0x4b0/0x4b0 [ 10.974277][ T175] ? console_flush_one_record+0x106/0x710 [ 10.974282][ T175] ? rcu_is_watching+0x16/0xd0 [ 10.974287][ T175] ? lock_acquire+0x13c/0x160 [ 10.974294][ T175] console_flush_one_record+0x46f/0x710 [ 10.974300][ T175] ? console_emit_next_record+0x4c0/0x4c0 [ 10.974303][ T175] ? __lock_acquire+0x518/0xc20 [ 10.974312][ T175] console_unlock+0xee/0x1f0 [ 10.974316][ T175] ? console_flush_one_record+0x710/0x710 [ 10.974318][ T175] ? rcu_is_watching+0x16/0xd0 [ 10.974322][ T175] ? lock_acquire+0x60/0x160 [ 10.974328][ T175] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.974331][ T175] ? vprintk_emit+0x320/0x3e0 [ 10.974336][ T175] vprintk_emit+0x37c/0x3e0 [ 10.974342][ T175] ? wake_up_klogd_work_func+0x90/0x90 [ 10.974347][ T175] ? __lock_acquire+0x518/0xc20 [ 10.974353][ T175] _printk+0xc7/0x100 [ 10.974358][ T175] ? snapshot_read.cold+0x21/0x21 [ 10.974363][ T175] ? do_raw_spin_lock+0x131/0x280 [ 10.974367][ T175] ? __rwlock_init+0x150/0x150 [ 10.974373][ T175] ? do_raw_spin_lock+0x131/0x280 [ 10.974378][ T175] do_exit.cold+0x82/0x9c [ 10.974384][ T175] ? exit_notify+0x890/0x890 [ 10.974386][ T175] ? __lock_release.isra.0+0x69/0x1a0 [ 10.974390][ T175] ? rcu_is_watching+0x16/0xd0 [ 10.974397][ T175] do_group_exit+0xb8/0x370 [ 10.974402][ T175] __x64_sys_exit_group+0x3c/0x50 [ 10.974405][ T175] x64_sys_call+0x1567/0x1570 [ 10.974408][ T175] do_syscall_64+0x10e/0x570 [ 10.974413][ T175] ? exc_page_fault+0xee/0x100 [ 10.974418][ T175] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.974421][ T175] RIP: 0033:0x7fea9a6c91b8 [ 10.974424][ T175] Code: Unable to access opcode bytes at 0x7fea9a6c918e. [ 10.974426][ T175] RSP: 002b:00007ffd5ff82e38 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.974429][ T175] RAX: ffffffffffffffda RBX: 00007fea9a7f9f88 RCX: 00007fea9a6c91b8 [ 10.974431][ T175] RDX: 00007fea9a413fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.974433][ T175] RBP: 00007ffd5ff82e90 R08: 0000000000000000 R09: 0000000000000050 [ 10.974434][ T175] R10: 00007ffd5ff82c50 R11: 0000000000000246 R12: 0000000000000001 [ 10.974435][ T175] R13: 0000000000000000 R14: 00007fea9a7f8680 R15: 00007fea9a7f9fa0 [ 10.974448][ T175]