[ 9.977343][ T209] ip (209) used greatest stack depth: 24480 bytes left [ 9.977359][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.977361][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: ip [ 9.977363][ T209] preempt_count: 2, expected: 0 [ 9.977364][ T209] RCU nest depth: 0, expected: 0 [ 9.977365][ T209] locks held by ip/209: 5, last CPU#3: [ 9.977367][ T209] #0: ffffffff906167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.977378][ T209] #1: ffffffff9077ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.977383][ T209] #2: ffffffff9077de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.977387][ T209] #3: ffffffff9069d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.977391][ T209] #4: ffffffff9069d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.977394][ T209] irq event stamp: 35734 [ 9.977395][ T209] hardirqs last enabled at (35733): [] __down_trylock_console_sem+0x86/0xa0 [ 9.977398][ T209] hardirqs last disabled at (35734): [] console_emit_next_record+0x3d4/0x4c0 [ 9.977400][ T209] softirqs last enabled at (35276): [] handle_softirqs+0x67c/0x900 [ 9.977402][ T209] softirqs last disabled at (35271): [] __irq_exit_rcu+0x145/0x1c0 [ 9.977404][ T209] Preemption disabled at: [ 9.977405][ T209] [<0000000000000000>] 0x0 [ 9.977412][ T209] CPU: 3 UID: 0 PID: 209 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.977415][ T209] Tainted: [W]=WARN [ 9.977416][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.977418][ T209] Call Trace: [ 9.977419][ T209] [ 9.977420][ T209] dump_stack_lvl+0x6f/0xa0 [ 9.977427][ T209] __might_resched.cold+0x1fe/0x2c1 [ 9.977432][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.977435][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 9.977440][ T209] __kmalloc_noprof+0x443/0x760 [ 9.977442][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 9.977449][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 9.977451][ T209] alloc_buf.isra.0+0x4b/0x260 [ 9.977455][ T209] put_chars+0x1e1/0x2f0 [ 9.977457][ T209] ? __send_to_port+0x420/0x420 [ 9.977458][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.977462][ T209] ? validate_chain+0x38b/0xc20 [ 9.977468][ T209] hvc_console_print+0x292/0x780 [ 9.977475][ T209] ? hvc_write+0x3a0/0x3a0 [ 9.977478][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.977480][ T209] ? lock_acquire+0x13c/0x160 [ 9.977484][ T209] console_emit_next_record+0x22f/0x4c0 [ 9.977487][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 9.977489][ T209] ? console_flush_one_record+0x106/0x710 [ 9.977492][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.977494][ T209] ? lock_acquire+0x13c/0x160 [ 9.977498][ T209] console_flush_one_record+0x46f/0x710 [ 9.977502][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 9.977504][ T209] ? __lock_acquire+0x518/0xc20 [ 9.977509][ T209] console_unlock+0xee/0x1f0 [ 9.977512][ T209] ? console_flush_one_record+0x710/0x710 [ 9.977514][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.977515][ T209] ? lock_acquire+0xe0/0x160 [ 9.977519][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.977521][ T209] ? vprintk_emit+0x320/0x3e0 [ 9.977523][ T209] vprintk_emit+0x37c/0x3e0 [ 9.977526][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 9.977529][ T209] ? __lock_acquire+0x518/0xc20 [ 9.977533][ T209] _printk+0xc7/0x100 [ 9.977536][ T209] ? snapshot_read.cold+0x21/0x21 [ 9.977539][ T209] ? do_raw_spin_lock+0x131/0x280 [ 9.977541][ T209] ? __rwlock_init+0x150/0x150 [ 9.977545][ T209] ? do_raw_spin_lock+0x131/0x280 [ 9.977548][ T209] do_exit.cold+0x82/0x9c [ 9.977552][ T209] ? exit_notify+0x890/0x890 [ 9.977553][ T209] ? __lock_release.isra.0+0x69/0x1a0 [ 9.977556][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.977560][ T209] do_group_exit+0xb8/0x370 [ 9.977562][ T209] __x64_sys_exit_group+0x3c/0x50 [ 9.977564][ T209] x64_sys_call+0x1567/0x1570 [ 9.977567][ T209] do_syscall_64+0xff/0x530 [ 9.977571][ T209] ? exc_page_fault+0xee/0x100 [ 9.977573][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.977575][ T209] RIP: 0033:0x7f01954261b8 [ 9.977578][ T209] Code: Unable to access opcode bytes at 0x7f019542618e. [ 9.977579][ T209] RSP: 002b:00007fffbcd59528 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.977581][ T209] RAX: ffffffffffffffda RBX: 00007f0195556f88 RCX: 00007f01954261b8 [ 9.977582][ T209] RDX: 00007f0195170fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.977583][ T209] RBP: 00007fffbcd59580 R08: 0000000000000000 R09: 0000000000000000 [ 9.977584][ T209] R10: 00007fffbcd59340 R11: 0000000000000246 R12: 0000000000000001 [ 9.977585][ T209] R13: 0000000000000000 R14: 00007f0195555680 R15: 00007f0195556fa0 [ 9.977592][ T209] [ 10.574593][ T222] mausezahn (222) used greatest stack depth: 24336 bytes left