[ 147.538183][ C0] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:623 [ 147.538867][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 [ 147.539061][ C0] preempt_count: 100, expected: 0 [ 147.539173][ C0] RCU nest depth: 0, expected: 0 [ 147.539282][ C0] 1 lock held by ksoftirqd/0/14: [ 147.539399][ C0] #0: ffffffffb0377c00 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 147.539619][ C0] Preemption disabled at: [ 147.539621][ C0] [] handle_softirqs+0xf7/0x940 [ 147.539851][ C0] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 147.539855][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 147.539857][ C0] Call Trace: [ 147.539858][ C0] [ 147.539860][ C0] dump_stack_lvl+0x6f/0xa0 [ 147.539865][ C0] ? handle_softirqs+0xf7/0x940 [ 147.539867][ C0] __might_resched.cold+0x20d/0x2d6 [ 147.539871][ C0] ? perf_trace_sched_switch+0x7d0/0x7d0 [ 147.539877][ C0] __mutex_lock+0x118/0x2010 [ 147.539881][ C0] ? validate_chain+0x38b/0xc20 [ 147.539884][ C0] ? __tcf_chain_put+0x5f/0xb20 [ 147.539889][ C0] ? ww_mutex_lock+0x160/0x160 [ 147.539895][ C0] ? __lock_release.isra.0+0x6b/0x1a0 [ 147.539897][ C0] ? rcu_is_watching+0x15/0xd0 [ 147.539901][ C0] ? __tcf_chain_put+0x5f/0xb20 [ 147.539903][ C0] __tcf_chain_put+0x5f/0xb20 [ 147.539905][ C0] ? free_percpu.part.0+0x5f7/0xc80 [ 147.539910][ C0] tcf_action_rcu_free+0x14f/0x1a0 [ 147.539913][ C0] ? rcu_do_batch+0x2b4/0x1020 [ 147.539914][ C0] rcu_do_batch+0x2b6/0x1020 [ 147.539919][ C0] ? rcu_start_this_gp+0x270/0x490 [ 147.539921][ C0] ? trace_rcu_batch_end+0x330/0x330 [ 147.539925][ C0] ? rcu_is_watching+0x15/0xd0 [ 147.539927][ C0] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 147.539930][ C0] ? trace_irq_disable.constprop.0+0x9b/0x180 [ 147.539932][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 147.539933][ C0] ? lockdep_hardirqs_on+0x8c/0x130 [ 147.539937][ C0] rcu_core+0x2bf/0x640 [ 147.539940][ C0] handle_softirqs+0x1d8/0x940 [ 147.539944][ C0] ? _local_bh_enable+0xd0/0xd0 [ 147.539945][ C0] ? perf_trace_sched_switch+0x7d0/0x7d0 [ 147.539948][ C0] ? rcu_is_watching+0x15/0xd0 [ 147.539949][ C0] ? rcu_is_watching+0x15/0xd0 [ 147.539952][ C0] run_ksoftirqd+0x39/0x60 [ 147.539954][ C0] smpboot_thread_fn+0x2fb/0x9b0 [ 147.539958][ C0] ? sort_range+0x20/0x20 [ 147.539960][ C0] kthread+0x367/0x460 [ 147.539963][ C0] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 147.539965][ C0] ? kthread_affine_node+0x330/0x330 [ 147.539968][ C0] ret_from_fork+0x474/0x6b0 [ 147.539971][ C0] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 147.539974][ C0] ? __switch_to+0x5a3/0xe00 [ 147.539977][ C0] ? kthread_affine_node+0x330/0x330 [ 147.539980][ C0] ret_from_fork_asm+0x11/0x20 [ 147.539987][ C0] [ 147.539988][ C0] [ 147.543392][ C0] ============================= [ 147.543468][ C0] [ BUG: Invalid wait context ] [ 147.543544][ C0] 7.1.0-rc5-virtme #1 Tainted: G W [ 147.543637][ C0] ----------------------------- [ 147.543717][ C0] ksoftirqd/0/14 is trying to lock: [ 147.543794][ C0] ff1100000c0288b0 (&block->lock){+.+.}-{4:4}, at: __tcf_chain_put+0x5f/0xb20 [ 147.543928][ C0] other info that might help us debug this: [ 147.544021][ C0] context-{3:3} [ 147.544083][ C0] 1 lock held by ksoftirqd/0/14: [ 147.544159][ C0] #0: ffffffffb0377c00 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 147.544294][ C0] stack backtrace: [ 147.544356][ C0] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 7.1.0-rc5-virtme #1 PREEMPT(full) [ 147.544359][ C0] Tainted: [W]=WARN [ 147.544359][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 147.544360][ C0] Call Trace: [ 147.544361][ C0] [ 147.544362][ C0] dump_stack_lvl+0x6f/0xa0 [ 147.544364][ C0] __lock_acquire.cold+0x3a/0x66 [ 147.544367][ C0] ? ret_from_fork_asm+0x11/0x20 [ 147.544369][ C0] ? rcu_is_watching+0x15/0xd0 [ 147.544371][ C0] lock_acquire.part.0+0xbc/0x260 [ 147.544372][ C0] ? __tcf_chain_put+0x5f/0xb20 [ 147.544374][ C0] ? rcu_is_watching+0x15/0xd0 [ 147.544376][ C0] ? lock_acquire+0x134/0x160 [ 147.544378][ C0] __mutex_lock+0x1ae/0x2010 [ 147.544380][ C0] ? __tcf_chain_put+0x5f/0xb20 [ 147.544381][ C0] ? validate_chain+0x38b/0xc20 [ 147.544383][ C0] ? __tcf_chain_put+0x5f/0xb20 [ 147.544385][ C0] ? ww_mutex_lock+0x160/0x160 [ 147.544387][ C0] ? __lock_release.isra.0+0x6b/0x1a0 [ 147.544389][ C0] ? rcu_is_watching+0x15/0xd0 [ 147.544391][ C0] ? __tcf_chain_put+0x5f/0xb20 [ 147.544393][ C0] __tcf_chain_put+0x5f/0xb20 [ 147.544394][ C0] ? free_percpu.part.0+0x5f7/0xc80 [ 147.544396][ C0] tcf_action_rcu_free+0x14f/0x1a0 [ 147.544398][ C0] ? rcu_do_batch+0x2b4/0x1020 [ 147.544400][ C0] rcu_do_batch+0x2b6/0x1020 [ 147.544402][ C0] ? rcu_start_this_gp+0x270/0x490 [ 147.544404][ C0] ? trace_rcu_batch_end+0x330/0x330 [ 147.544406][ C0] ? rcu_is_watching+0x15/0xd0 [ 147.544408][ C0] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 147.544410][ C0] ? trace_irq_disable.constprop.0+0x9b/0x180 [ 147.544411][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 147.544412][ C0] ? lockdep_hardirqs_on+0x8c/0x130 [ 147.544415][ C0] rcu_core+0x2bf/0x640 [ 147.544417][ C0] handle_softirqs+0x1d8/0x940 [ 147.544419][ C0] ? _local_bh_enable+0xd0/0xd0 [ 147.544420][ C0] ? perf_trace_sched_switch+0x7d0/0x7d0 [ 147.544422][ C0] ? rcu_is_watching+0x15/0xd0 [ 147.544424][ C0] ? rcu_is_watching+0x15/0xd0 [ 147.544425][ C0] run_ksoftirqd+0x39/0x60 [ 147.544427][ C0] smpboot_thread_fn+0x2fb/0x9b0 [ 147.544429][ C0] ? sort_range+0x20/0x20 [ 147.544431][ C0] kthread+0x367/0x460 [ 147.544432][ C0] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 147.544434][ C0] ? kthread_affine_node+0x330/0x330 [ 147.544436][ C0] ret_from_fork+0x474/0x6b0 [ 147.544438][ C0] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 147.544439][ C0] ? __switch_to+0x5a3/0xe00 [ 147.544441][ C0] ? kthread_affine_node+0x330/0x330 [ 147.544443][ C0] ret_from_fork_asm+0x11/0x20 [ 147.544446][ C0]