[ 8.966520][ T167] unsigned-md5_ip (167) used greatest stack depth: 24448 bytes left [ 8.966535][ T167] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.966537][ T167] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 167, name: unsigned-md5_ip [ 8.966538][ T167] preempt_count: 2, expected: 0 [ 8.966539][ T167] RCU nest depth: 0, expected: 0 [ 8.966540][ T167] locks held by unsigned-md5_ip/167: 5, last CPU#3: [ 8.966542][ T167] #0: ffffffff954127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.966553][ T167] #1: ffffffff95579cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.966558][ T167] #2: ffffffff95579d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.966562][ T167] #3: ffffffff95499660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.966565][ T167] #4: ffffffff95499560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 8.966569][ T167] irq event stamp: 296842 [ 8.966570][ T167] hardirqs last enabled at (296841): [] __down_trylock_console_sem+0x86/0xa0 [ 8.966572][ T167] hardirqs last disabled at (296842): [] console_emit_next_record+0x3d4/0x4c0 [ 8.966574][ T167] softirqs last enabled at (296718): [] handle_softirqs+0x67c/0x900 [ 8.966577][ T167] softirqs last disabled at (296707): [] __irq_exit_rcu+0x145/0x1c0 [ 8.966579][ T167] Preemption disabled at: [ 8.966579][ T167] [<0000000000000000>] 0x0 [ 8.966586][ T167] CPU: 3 UID: 0 PID: 167 Comm: unsigned-md5_ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.966589][ T167] Tainted: [W]=WARN [ 8.966590][ T167] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.966591][ T167] Call Trace: [ 8.966593][ T167] [ 8.966595][ T167] dump_stack_lvl+0x6f/0xa0 [ 8.966601][ T167] __might_resched.cold+0x1fe/0x2c1 [ 8.966605][ T167] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.966609][ T167] ? __kmalloc_noprof+0xdb/0x760 [ 8.966614][ T167] __kmalloc_noprof+0x443/0x760 [ 8.966616][ T167] ? alloc_buf.isra.0+0x4b/0x260 [ 8.966621][ T167] ? do_raw_spin_unlock+0x59/0x250 [ 8.966624][ T167] alloc_buf.isra.0+0x4b/0x260 [ 8.966627][ T167] put_chars+0x1e1/0x2f0 [ 8.966630][ T167] ? __send_to_port+0x420/0x420 [ 8.966633][ T167] ? validate_chain+0x38b/0xc20 [ 8.966638][ T167] hvc_console_print+0x292/0x780 [ 8.966645][ T167] ? hvc_write+0x3a0/0x3a0 [ 8.966647][ T167] ? rcu_is_watching+0x16/0xd0 [ 8.966651][ T167] ? lock_acquire+0x13c/0x160 [ 8.966655][ T167] console_emit_next_record+0x22f/0x4c0 [ 8.966659][ T167] ? devkmsg_read+0x4b0/0x4b0 [ 8.966660][ T167] ? console_flush_one_record+0x106/0x710 [ 8.966664][ T167] ? rcu_is_watching+0x16/0xd0 [ 8.966666][ T167] ? lock_acquire+0x13c/0x160 [ 8.966669][ T167] console_flush_one_record+0x46f/0x710 [ 8.966673][ T167] ? console_emit_next_record+0x4c0/0x4c0 [ 8.966675][ T167] ? __lock_acquire+0x518/0xc20 [ 8.966680][ T167] console_unlock+0xee/0x1f0 [ 8.966683][ T167] ? console_flush_one_record+0x710/0x710 [ 8.966685][ T167] ? rcu_is_watching+0x16/0xd0 [ 8.966687][ T167] ? lock_acquire+0x60/0x160 [ 8.966690][ T167] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.966692][ T167] ? vprintk_emit+0x320/0x3e0 [ 8.966695][ T167] vprintk_emit+0x37c/0x3e0 [ 8.966699][ T167] ? wake_up_klogd_work_func+0x90/0x90 [ 8.966702][ T167] ? __lock_acquire+0x518/0xc20 [ 8.966705][ T167] _printk+0xc7/0x100 [ 8.966709][ T167] ? snapshot_read.cold+0x21/0x21 [ 8.966711][ T167] ? do_raw_spin_lock+0x131/0x280 [ 8.966714][ T167] ? __rwlock_init+0x150/0x150 [ 8.966717][ T167] ? do_raw_spin_lock+0x131/0x280 [ 8.966720][ T167] do_exit.cold+0x82/0x9c [ 8.966724][ T167] ? exit_notify+0x890/0x890 [ 8.966725][ T167] ? find_held_lock+0x2b/0x80 [ 8.966728][ T167] ? __lock_release.isra.0+0x69/0x1a0 [ 8.966729][ T167] ? __rwlock_init+0x150/0x150 [ 8.966732][ T167] do_group_exit+0xb8/0x370 [ 8.966734][ T167] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 8.966736][ T167] ? lockdep_hardirqs_on+0x91/0x130 [ 8.966739][ T167] ? _raw_spin_unlock_irq+0x28/0x50 [ 8.966741][ T167] ? _raw_spin_unlock_irq+0x33/0x50 [ 8.966742][ T167] get_signal+0x1886/0x1980 [ 8.966750][ T167] ? ptrace_signal+0x600/0x600 [ 8.966755][ T167] arch_do_signal_or_restart+0xc2/0x3a0 [ 8.966759][ T167] ? get_sigframe_size+0x20/0x20 [ 8.966761][ T167] ? lockdep_hardirqs_on+0x91/0x130 [ 8.966765][ T167] ? do_futex+0x270/0x270 [ 8.966768][ T167] ? rcu_is_watching+0x16/0xd0 [ 8.966770][ T167] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 8.966774][ T167] exit_to_user_mode_loop+0xd5/0x5a0 [ 8.966777][ T167] ? rcu_is_watching+0x16/0xd0 [ 8.966780][ T167] do_syscall_64+0x3e3/0x530 [ 8.966782][ T167] ? irq_exit_rcu+0x1a/0x30 [ 8.966785][ T167] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.966787][ T167] RIP: 0033:0x7f4fe6758312 [ 8.966789][ T167] Code: Unable to access opcode bytes at 0x7f4fe67582e8. [ 8.966790][ T167] RSP: 002b:00007fff37bf7b08 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca [ 8.966793][ T167] RAX: fffffffffffffe00 RBX: 000000000041b480 RCX: 00007f4fe6758312 [ 8.966794][ T167] RDX: 0000000000000063 RSI: 0000000000000189 RDI: 000000000041b4a4 [ 8.966795][ T167] RBP: 00007fff37bf7b30 R08: 0000000000000000 R09: 00000000ffffffff [ 8.966796][ T167] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 8.966796][ T167] R13: 000000000041b4c0 R14: 00000000000000cb R15: 0000000000000000 [ 8.966808][ T167]