[ 10.656618][ T178] ip (178) used greatest stack depth: 24248 bytes left [ 10.656636][ T178] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.656637][ T178] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 178, name: ip [ 10.656639][ T178] preempt_count: 2, expected: 0 [ 10.656640][ T178] RCU nest depth: 0, expected: 0 [ 10.656641][ T178] locks held by ip/178: 5, last CPU#0: [ 10.656643][ T178] #0: ffffffff8f4267b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.656655][ T178] #1: ffffffff8f58dcc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.656661][ T178] #2: ffffffff8f58dd38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.656665][ T178] #3: ffffffff8f4ad660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.656669][ T178] #4: ffffffff8f4ad560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.656672][ T178] irq event stamp: 25574 [ 10.656673][ T178] hardirqs last enabled at (25573): [] __down_trylock_console_sem+0x86/0xa0 [ 10.656675][ T178] hardirqs last disabled at (25574): [] console_emit_next_record+0x3d4/0x4c0 [ 10.656677][ T178] softirqs last enabled at (25390): [] handle_softirqs+0x67c/0x900 [ 10.656679][ T178] softirqs last disabled at (25385): [] __irq_exit_rcu+0x145/0x1c0 [ 10.656681][ T178] Preemption disabled at: [ 10.656682][ T178] [<0000000000000000>] 0x0 [ 10.656689][ T178] CPU: 0 UID: 0 PID: 178 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.656692][ T178] Tainted: [W]=WARN [ 10.656693][ T178] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.656696][ T178] Call Trace: [ 10.656697][ T178] [ 10.656699][ T178] dump_stack_lvl+0x6f/0xa0 [ 10.656705][ T178] __might_resched.cold+0x1fe/0x2c1 [ 10.656710][ T178] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.656713][ T178] ? __kmalloc_noprof+0xdb/0x760 [ 10.656718][ T178] __kmalloc_noprof+0x443/0x760 [ 10.656720][ T178] ? alloc_buf.isra.0+0x4b/0x260 [ 10.656727][ T178] ? do_raw_spin_unlock+0x59/0x250 [ 10.656729][ T178] alloc_buf.isra.0+0x4b/0x260 [ 10.656733][ T178] put_chars+0x1e1/0x2f0 [ 10.656736][ T178] ? __send_to_port+0x420/0x420 [ 10.656738][ T178] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.656743][ T178] ? validate_chain+0x38b/0xc20 [ 10.656748][ T178] hvc_console_print+0x292/0x780 [ 10.656755][ T178] ? hvc_write+0x3a0/0x3a0 [ 10.656758][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.656760][ T178] ? lock_acquire+0x13c/0x160 [ 10.656764][ T178] console_emit_next_record+0x22f/0x4c0 [ 10.656768][ T178] ? devkmsg_read+0x4b0/0x4b0 [ 10.656770][ T178] ? console_flush_one_record+0x106/0x710 [ 10.656773][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.656775][ T178] ? lock_acquire+0x13c/0x160 [ 10.656778][ T178] console_flush_one_record+0x46f/0x710 [ 10.656782][ T178] ? console_emit_next_record+0x4c0/0x4c0 [ 10.656784][ T178] ? __lock_acquire+0x518/0xc20 [ 10.656789][ T178] console_unlock+0xee/0x1f0 [ 10.656792][ T178] ? console_flush_one_record+0x710/0x710 [ 10.656793][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.656801][ T178] ? lock_acquire+0x60/0x160 [ 10.656805][ T178] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.656806][ T178] ? vprintk_emit+0x320/0x3e0 [ 10.656810][ T178] vprintk_emit+0x37c/0x3e0 [ 10.656813][ T178] ? wake_up_klogd_work_func+0x90/0x90 [ 10.656817][ T178] ? __lock_acquire+0x518/0xc20 [ 10.656820][ T178] _printk+0xc7/0x100 [ 10.656824][ T178] ? snapshot_read.cold+0x21/0x21 [ 10.656827][ T178] ? do_raw_spin_lock+0x131/0x280 [ 10.656829][ T178] ? __rwlock_init+0x150/0x150 [ 10.656833][ T178] ? do_raw_spin_lock+0x131/0x280 [ 10.656835][ T178] do_exit.cold+0x82/0x9c [ 10.656839][ T178] ? exit_notify+0x890/0x890 [ 10.656841][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 10.656843][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.656847][ T178] do_group_exit+0xb8/0x370 [ 10.656851][ T178] __x64_sys_exit_group+0x3c/0x50 [ 10.656853][ T178] x64_sys_call+0x1567/0x1570 [ 10.656855][ T178] do_syscall_64+0xff/0x530 [ 10.656859][ T178] ? exc_page_fault+0xee/0x100 [ 10.656862][ T178] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.656864][ T178] RIP: 0033:0x7f04129401b8 [ 10.656866][ T178] Code: Unable to access opcode bytes at 0x7f041294018e. [ 10.656868][ T178] RSP: 002b:00007ffd0fdd4a88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.656870][ T178] RAX: ffffffffffffffda RBX: 00007f0412a70f88 RCX: 00007f04129401b8 [ 10.656871][ T178] RDX: 00007f041268afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.656872][ T178] RBP: 00007ffd0fdd4ae0 R08: 0000000000000000 R09: 0000000000000050 [ 10.656873][ T178] R10: 00007ffd0fdd48a0 R11: 0000000000000246 R12: 0000000000000001 [ 10.656874][ T178] R13: 0000000000000000 R14: 00007f0412a6f680 R15: 00007f0412a70fa0 [ 10.656881][ T178]