[ 10.515345][ T166] unsigned-md5_ip (166) used greatest stack depth: 24416 bytes left [ 10.515361][ T166] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.515363][ T166] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 166, name: unsigned-md5_ip [ 10.515365][ T166] preempt_count: 2, expected: 0 [ 10.515366][ T166] RCU nest depth: 0, expected: 0 [ 10.515367][ T166] locks held by unsigned-md5_ip/166: 5, last CPU#1: [ 10.515369][ T166] #0: ffffffff8ee127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.515380][ T166] #1: ffffffff8ef79cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.515386][ T166] #2: ffffffff8ef79d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.515390][ T166] #3: ffffffff8ee99660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.515394][ T166] #4: ffffffff8ee99560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.515398][ T166] irq event stamp: 276800 [ 10.515398][ T166] hardirqs last enabled at (276799): [] __down_trylock_console_sem+0x86/0xa0 [ 10.515401][ T166] hardirqs last disabled at (276800): [] console_emit_next_record+0x3d4/0x4c0 [ 10.515403][ T166] softirqs last enabled at (276136): [] tcp_close+0x2b/0xb0 [ 10.515407][ T166] softirqs last disabled at (276134): [] release_sock+0x21/0x240 [ 10.515411][ T166] Preemption disabled at: [ 10.515412][ T166] [<0000000000000000>] 0x0 [ 10.515419][ T166] CPU: 1 UID: 0 PID: 166 Comm: unsigned-md5_ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.515423][ T166] Tainted: [W]=WARN [ 10.515424][ T166] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.515426][ T166] Call Trace: [ 10.515427][ T166] [ 10.515429][ T166] dump_stack_lvl+0x6f/0xa0 [ 10.515435][ T166] __might_resched.cold+0x1fe/0x2c1 [ 10.515440][ T166] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.515444][ T166] ? __kmalloc_noprof+0xdb/0x760 [ 10.515449][ T166] __kmalloc_noprof+0x443/0x760 [ 10.515452][ T166] ? alloc_buf.isra.0+0x4b/0x260 [ 10.515458][ T166] ? do_raw_spin_unlock+0x59/0x250 [ 10.515461][ T166] alloc_buf.isra.0+0x4b/0x260 [ 10.515465][ T166] put_chars+0x1e1/0x2f0 [ 10.515468][ T166] ? __send_to_port+0x420/0x420 [ 10.515471][ T166] ? validate_chain+0x38b/0xc20 [ 10.515477][ T166] hvc_console_print+0x292/0x780 [ 10.515484][ T166] ? hvc_write+0x3a0/0x3a0 [ 10.515487][ T166] ? rcu_is_watching+0x16/0xd0 [ 10.515491][ T166] ? lock_acquire+0x13c/0x160 [ 10.515496][ T166] console_emit_next_record+0x22f/0x4c0 [ 10.515500][ T166] ? devkmsg_read+0x4b0/0x4b0 [ 10.515502][ T166] ? console_flush_one_record+0x106/0x710 [ 10.515505][ T166] ? rcu_is_watching+0x16/0xd0 [ 10.515508][ T166] ? lock_acquire+0x13c/0x160 [ 10.515512][ T166] console_flush_one_record+0x46f/0x710 [ 10.515516][ T166] ? console_emit_next_record+0x4c0/0x4c0 [ 10.515518][ T166] ? __lock_acquire+0x518/0xc20 [ 10.515524][ T166] console_unlock+0xee/0x1f0 [ 10.515527][ T166] ? console_flush_one_record+0x710/0x710 [ 10.515528][ T166] ? rcu_is_watching+0x16/0xd0 [ 10.515531][ T166] ? lock_acquire+0x60/0x160 [ 10.515535][ T166] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.515536][ T166] ? vprintk_emit+0x320/0x3e0 [ 10.515540][ T166] vprintk_emit+0x37c/0x3e0 [ 10.515544][ T166] ? wake_up_klogd_work_func+0x90/0x90 [ 10.515548][ T166] ? __lock_acquire+0x518/0xc20 [ 10.515552][ T166] _printk+0xc7/0x100 [ 10.515555][ T166] ? snapshot_read.cold+0x21/0x21 [ 10.515558][ T166] ? do_raw_spin_lock+0x131/0x280 [ 10.515561][ T166] ? __rwlock_init+0x150/0x150 [ 10.515565][ T166] ? do_raw_spin_lock+0x131/0x280 [ 10.515568][ T166] do_exit.cold+0x82/0x9c [ 10.515572][ T166] ? exit_notify+0x890/0x890 [ 10.515573][ T166] ? find_held_lock+0x2b/0x80 [ 10.515577][ T166] ? __lock_release.isra.0+0x69/0x1a0 [ 10.515578][ T166] ? __rwlock_init+0x150/0x150 [ 10.515582][ T166] do_group_exit+0xb8/0x370 [ 10.515584][ T166] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 10.515585][ T166] ? lockdep_hardirqs_on+0x91/0x130 [ 10.515588][ T166] ? _raw_spin_unlock_irq+0x28/0x50 [ 10.515591][ T166] ? _raw_spin_unlock_irq+0x33/0x50 [ 10.515592][ T166] get_signal+0x1886/0x1980 [ 10.515601][ T166] ? ptrace_signal+0x600/0x600 [ 10.515607][ T166] arch_do_signal_or_restart+0xc2/0x3a0 [ 10.515612][ T166] ? get_sigframe_size+0x20/0x20 [ 10.515613][ T166] ? lockdep_hardirqs_on+0x91/0x130 [ 10.515618][ T166] ? do_futex+0x270/0x270 [ 10.515621][ T166] ? rcu_is_watching+0x16/0xd0 [ 10.515623][ T166] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.515627][ T166] exit_to_user_mode_loop+0xd5/0x5a0 [ 10.515630][ T166] ? rcu_is_watching+0x16/0xd0 [ 10.515633][ T166] do_syscall_64+0x3e3/0x530 [ 10.515636][ T166] ? irq_exit_rcu+0x1a/0x30 [ 10.515639][ T166] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.515642][ T166] RIP: 0033:0x7f79c867a312 [ 10.515644][ T166] Code: Unable to access opcode bytes at 0x7f79c867a2e8. [ 10.515645][ T166] RSP: 002b:00007ffdbc19cb18 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 10.515647][ T166] RAX: fffffffffffffe00 RBX: 000000000041b480 RCX: 00007f79c867a312 [ 10.515649][ T166] RDX: 0000000000000063 RSI: 0000000000000189 RDI: 000000000041b4a4 [ 10.515650][ T166] RBP: 00007ffdbc19cb40 R08: 0000000000000000 R09: 00000000ffffffff [ 10.515651][ T166] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 10.515651][ T166] R13: 000000000041b4c0 R14: 00000000000000cb R15: 0000000000000000 [ 10.515659][ T166]