[ 10.262007][ T178] ip (178) used greatest stack depth: 24456 bytes left [ 10.262026][ T178] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.262028][ T178] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 178, name: ip [ 10.262029][ T178] preempt_count: 2, expected: 0 [ 10.262030][ T178] RCU nest depth: 0, expected: 0 [ 10.262031][ T178] locks held by ip/178: 5, last CPU#2: [ 10.262034][ T178] #0: ffffffffba002f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 10.262045][ T178] #1: ffffffffba16a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.262050][ T178] #2: ffffffffba16a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.262054][ T178] #3: ffffffffba089de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.262057][ T178] #4: ffffffffba089ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.262060][ T178] irq event stamp: 38686 [ 10.262061][ T178] hardirqs last enabled at (38685): [] __down_trylock_console_sem+0x86/0xa0 [ 10.262065][ T178] hardirqs last disabled at (38686): [] console_emit_next_record+0x3d4/0x4c0 [ 10.262066][ T178] softirqs last enabled at (38272): [] handle_softirqs+0x67c/0x900 [ 10.262068][ T178] softirqs last disabled at (38263): [] __irq_exit_rcu+0x145/0x1c0 [ 10.262071][ T178] Preemption disabled at: [ 10.262071][ T178] [<0000000000000000>] 0x0 [ 10.262078][ T178] CPU: 2 UID: 0 PID: 178 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.262081][ T178] Tainted: [W]=WARN [ 10.262082][ T178] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.262084][ T178] Call Trace: [ 10.262086][ T178] [ 10.262087][ T178] dump_stack_lvl+0x6f/0xa0 [ 10.262093][ T178] __might_resched.cold+0x1fe/0x2c1 [ 10.262098][ T178] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.262101][ T178] ? __kmalloc_noprof+0xdb/0x760 [ 10.262105][ T178] __kmalloc_noprof+0x443/0x760 [ 10.262108][ T178] ? alloc_buf.isra.0+0x4b/0x260 [ 10.262114][ T178] ? do_raw_spin_unlock+0x59/0x250 [ 10.262117][ T178] alloc_buf.isra.0+0x4b/0x260 [ 10.262120][ T178] put_chars+0x1e1/0x2f0 [ 10.262123][ T178] ? __send_to_port+0x420/0x420 [ 10.262129][ T178] hvc_console_print+0x292/0x780 [ 10.262136][ T178] ? hvc_write+0x3a0/0x3a0 [ 10.262139][ T178] ? lock_acquire+0x13c/0x160 [ 10.262144][ T178] console_emit_next_record+0x22f/0x4c0 [ 10.262147][ T178] ? devkmsg_read+0x4b0/0x4b0 [ 10.262148][ T178] ? console_flush_one_record+0x106/0x710 [ 10.262151][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.262154][ T178] ? lock_acquire+0x13c/0x160 [ 10.262158][ T178] console_flush_one_record+0x46f/0x710 [ 10.262162][ T178] ? console_emit_next_record+0x4c0/0x4c0 [ 10.262163][ T178] ? __lock_acquire+0x518/0xc20 [ 10.262168][ T178] console_unlock+0xee/0x1f0 [ 10.262171][ T178] ? console_flush_one_record+0x710/0x710 [ 10.262172][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.262174][ T178] ? lock_acquire+0x60/0x160 [ 10.262177][ T178] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.262179][ T178] ? vprintk_emit+0x320/0x3e0 [ 10.262182][ T178] vprintk_emit+0x37c/0x3e0 [ 10.262185][ T178] ? wake_up_klogd_work_func+0x90/0x90 [ 10.262188][ T178] ? __lock_acquire+0x518/0xc20 [ 10.262192][ T178] _printk+0xc7/0x100 [ 10.262195][ T178] ? snapshot_read.cold+0x21/0x21 [ 10.262198][ T178] ? do_raw_spin_lock+0x131/0x280 [ 10.262201][ T178] ? __rwlock_init+0x150/0x150 [ 10.262205][ T178] ? do_raw_spin_lock+0x131/0x280 [ 10.262208][ T178] do_exit.cold+0x82/0x9c [ 10.262211][ T178] ? exit_notify+0x890/0x890 [ 10.262213][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 10.262216][ T178] ? rcu_is_watching+0x16/0xd0 [ 10.262219][ T178] do_group_exit+0xb8/0x370 [ 10.262222][ T178] __x64_sys_exit_group+0x3c/0x50 [ 10.262224][ T178] x64_sys_call+0x1567/0x1570 [ 10.262227][ T178] do_syscall_64+0x10e/0x570 [ 10.262230][ T178] ? exc_page_fault+0xee/0x100 [ 10.262234][ T178] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.262236][ T178] RIP: 0033:0x7fef407d01b8 [ 10.262238][ T178] Code: Unable to access opcode bytes at 0x7fef407d018e. [ 10.262239][ T178] RSP: 002b:00007ffd38140a08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.262241][ T178] RAX: ffffffffffffffda RBX: 00007fef40900f88 RCX: 00007fef407d01b8 [ 10.262243][ T178] RDX: 00007fef4051afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.262243][ T178] RBP: 00007ffd38140a60 R08: 0000000000000000 R09: 0000000000000050 [ 10.262244][ T178] R10: 00007ffd38140820 R11: 0000000000000246 R12: 0000000000000001 [ 10.262245][ T178] R13: 0000000000000000 R14: 00007fef408ff680 R15: 00007fef40900fa0 [ 10.262252][ T178] [ 10.446806][ T183] ip (183) used greatest stack depth: 23552 bytes left