[ 9.010089][ T201] ip (201) used greatest stack depth: 24136 bytes left [ 9.664731][ T220] Mirror/redirect action on [ 12.969978][ C2] [ 12.970061][ C2] ================================ [ 12.970151][ C2] WARNING: inconsistent lock state [ 12.970229][ C2] 7.1.0-rc5-virtme #1 Not tainted [ 12.970310][ C2] -------------------------------- [ 12.970387][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.970482][ C2] ksoftirqd/2/28 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.970577][ C2] ffffffffc05417b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 12.970738][ C2] {SOFTIRQ-ON-W} state was registered at: [ 12.970818][ C2] __lock_acquire+0x378/0xc10 [ 12.970901][ C2] lock_acquire.part.0+0xbc/0x260 [ 12.970987][ C2] _raw_spin_lock+0x33/0x40 [ 12.971066][ C2] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 12.971167][ C2] tcf_action_init_1+0x428/0x6b0 [ 12.971245][ C2] tcf_action_init+0x3cf/0x890 [ 12.971322][ C2] tcf_exts_validate_ex+0x411/0x670 [ 12.971400][ C2] fl_change+0xed4/0x4e77 [cls_flower] [ 12.971478][ C2] tc_new_tfilter+0x875/0x21e0 [ 12.971557][ C2] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.971634][ C2] netlink_rcv_skb+0x14e/0x3a0 [ 12.971712][ C2] netlink_unicast+0x486/0x750 [ 12.971789][ C2] netlink_sendmsg+0x735/0xc60 [ 12.971864][ C2] ____sys_sendmsg+0x419/0x850 [ 12.971940][ C2] ___sys_sendmsg+0x14e/0x1d0 [ 12.972023][ C2] __sys_sendmsg+0x145/0x1f0 [ 12.972102][ C2] do_syscall_64+0x117/0x590 [ 12.972180][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.972278][ C2] irq event stamp: 1007568 [ 12.972355][ C2] hardirqs last enabled at (1007568): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 12.972509][ C2] hardirqs last disabled at (1007567): [] _raw_spin_lock_irqsave+0x50/0x60 [ 12.972667][ C2] softirqs last enabled at (1006574): [] handle_softirqs+0x611/0x940 [ 12.972803][ C2] softirqs last disabled at (1006591): [] run_ksoftirqd+0x39/0x60 [ 12.972936][ C2] [ 12.972936][ C2] other info that might help us debug this: [ 12.973069][ C2] Possible unsafe locking scenario: [ 12.973069][ C2] [ 12.973188][ C2] CPU0 [ 12.973246][ C2] ---- [ 12.973304][ C2] lock(mirred_list_lock); [ 12.973383][ C2] [ 12.973442][ C2] lock(mirred_list_lock); [ 12.973520][ C2] [ 12.973520][ C2] *** DEADLOCK *** [ 12.973520][ C2] [ 12.973631][ C2] 1 lock held by ksoftirqd/2/28: [ 12.973710][ C2] #0: ffffffffb9d8bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 12.973851][ C2] [ 12.973851][ C2] stack backtrace: [ 12.973947][ C2] CPU: 2 UID: 0 PID: 28 Comm: ksoftirqd/2 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 12.973954][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.973956][ C2] Call Trace: [ 12.973957][ C2] [ 12.973959][ C2] dump_stack_lvl+0x6f/0xa0 [ 12.973964][ C2] print_usage_bug.part.0.cold+0xa9/0xb7 [ 12.973967][ C2] mark_lock_irq+0x4e3/0x9c0 [ 12.973969][ C2] ? kthread+0x367/0x460 [ 12.973972][ C2] ? save_trace+0x68/0x280 [ 12.973973][ C2] ? __lock_acquire+0x508/0xc10 [ 12.973975][ C2] mark_lock+0x1d7/0xa00 [ 12.973977][ C2] mark_usage+0x42/0x170 [ 12.973979][ C2] __lock_acquire+0x378/0xc10 [ 12.973980][ C2] ? rcu_is_watching+0x15/0xd0 [ 12.973983][ C2] lock_acquire.part.0+0xbc/0x260 [ 12.973984][ C2] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 12.973986][ C2] ? rcu_is_watching+0x15/0xd0 [ 12.973988][ C2] ? lock_acquire+0x134/0x160 [ 12.973990][ C2] _raw_spin_lock+0x33/0x40 [ 12.973991][ C2] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 12.973992][ C2] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 12.973994][ C2] tcf_action_rcu_free+0x74/0x1a0 [ 12.973996][ C2] ? rcu_do_batch+0x2b4/0x1020 [ 12.973997][ C2] rcu_do_batch+0x2b6/0x1020 [ 12.974000][ C2] ? rcu_start_this_gp+0x270/0x490 [ 12.974002][ C2] ? trace_rcu_batch_end+0x330/0x330 [ 12.974004][ C2] ? rcu_is_watching+0x15/0xd0 [ 12.974006][ C2] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 12.974009][ C2] ? trace_irq_disable.constprop.0+0x9b/0x180 [ 12.974010][ C2] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 12.974012][ C2] ? lockdep_hardirqs_on+0x8c/0x130 [ 12.974013][ C2] rcu_core+0x2bf/0x640 [ 12.974015][ C2] handle_softirqs+0x1d8/0x940 [ 12.974017][ C2] ? find_held_lock+0x2b/0x80 [ 12.974019][ C2] ? _local_bh_enable+0xd0/0xd0 [ 12.974020][ C2] ? rcu_is_watching+0x15/0xd0 [ 12.974022][ C2] run_ksoftirqd+0x39/0x60 [ 12.974023][ C2] smpboot_thread_fn+0x2fb/0x9b0 [ 12.974027][ C2] ? sort_range+0x20/0x20 [ 12.974028][ C2] kthread+0x367/0x460 [ 12.974029][ C2] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 12.974031][ C2] ? kthread_affine_node+0x330/0x330 [ 12.974033][ C2] ret_from_fork+0x474/0x6b0 [ 12.974036][ C2] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 12.974038][ C2] ? __switch_to+0x5a3/0xe00 [ 12.974041][ C2] ? kthread_affine_node+0x330/0x330 [ 12.974042][ C2] ret_from_fork_asm+0x11/0x20 [ 12.974046][ C2]