[ 199.662626][ T3010] Mirror/redirect action on [ 220.341568][ C3] [ 220.341661][ C3] ================================ [ 220.341752][ C3] WARNING: inconsistent lock state [ 220.341835][ C3] 7.1.0-rc5-virtme #1 Not tainted [ 220.341923][ C3] -------------------------------- [ 220.342004][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 220.342105][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 220.342205][ C3] ffffffffc06967b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 220.342385][ C3] {SOFTIRQ-ON-W} state was registered at: [ 220.342467][ C3] __lock_acquire+0x378/0xc10 [ 220.342557][ C3] lock_acquire.part.0+0xbc/0x260 [ 220.342644][ C3] _raw_spin_lock+0x33/0x40 [ 220.342727][ C3] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 220.342827][ C3] tcf_action_init_1+0x428/0x6b0 [ 220.342908][ C3] tcf_action_init+0x3cf/0x890 [ 220.342988][ C3] tcf_exts_validate_ex+0x411/0x670 [ 220.343071][ C3] fl_change+0xed4/0x4e77 [cls_flower] [ 220.343153][ C3] tc_new_tfilter+0x875/0x21e0 [ 220.343238][ C3] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 220.343320][ C3] netlink_rcv_skb+0x14e/0x3a0 [ 220.343405][ C3] netlink_unicast+0x486/0x750 [ 220.343485][ C3] netlink_sendmsg+0x735/0xc60 [ 220.343566][ C3] ____sys_sendmsg+0x419/0x850 [ 220.343647][ C3] ___sys_sendmsg+0x14e/0x1d0 [ 220.343728][ C3] __sys_sendmsg+0x145/0x1f0 [ 220.343808][ C3] do_syscall_64+0x117/0x590 [ 220.343889][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 220.343990][ C3] irq event stamp: 5366692 [ 220.344071][ C3] hardirqs last enabled at (5366692): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 220.344242][ C3] hardirqs last disabled at (5366691): [] _raw_spin_lock_irqsave+0x50/0x60 [ 220.344402][ C3] softirqs last enabled at (5366432): [] handle_softirqs+0x611/0x940 [ 220.344545][ C3] softirqs last disabled at (5366445): [] __irq_exit_rcu+0x103/0x1c0 [ 220.344688][ C3] [ 220.344688][ C3] other info that might help us debug this: [ 220.344812][ C3] Possible unsafe locking scenario: [ 220.344812][ C3] [ 220.344937][ C3] CPU0 [ 220.345001][ C3] ---- [ 220.345062][ C3] lock(mirred_list_lock); [ 220.345142][ C3] [ 220.345204][ C3] lock(mirred_list_lock); [ 220.345291][ C3] [ 220.345291][ C3] *** DEADLOCK *** [ 220.345291][ C3] [ 220.345412][ C3] 1 lock held by swapper/3/0: [ 220.345494][ C3] #0: ffffffffa0377c00 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 220.345642][ C3] [ 220.345642][ C3] stack backtrace: [ 220.345746][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 220.345748][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 220.345750][ C3] Call Trace: [ 220.345752][ C3] [ 220.345753][ C3] dump_stack_lvl+0x6f/0xa0 [ 220.345758][ C3] print_usage_bug.part.0.cold+0xa9/0xb7 [ 220.345761][ C3] ? filter_irq_stacks+0xd0/0xd0 [ 220.345765][ C3] mark_lock_irq+0x4e3/0x9c0 [ 220.345766][ C3] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 220.345769][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 220.345771][ C3] ? save_trace+0x68/0x280 [ 220.345773][ C3] mark_lock+0x1d7/0xa00 [ 220.345774][ C3] mark_usage+0x42/0x170 [ 220.345776][ C3] __lock_acquire+0x378/0xc10 [ 220.345777][ C3] ? rcu_is_watching+0x15/0xd0 [ 220.345779][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 220.345784][ C3] lock_acquire.part.0+0xbc/0x260 [ 220.345785][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 220.345787][ C3] ? rcu_is_watching+0x15/0xd0 [ 220.345789][ C3] ? lock_acquire+0x134/0x160 [ 220.345791][ C3] _raw_spin_lock+0x33/0x40 [ 220.345792][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 220.345794][ C3] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 220.345796][ C3] tcf_action_rcu_free+0x74/0x1a0 [ 220.345797][ C3] ? rcu_do_batch+0x2b4/0x1020 [ 220.345799][ C3] rcu_do_batch+0x2b6/0x1020 [ 220.345801][ C3] ? lock_acquire.part.0+0xbc/0x260 [ 220.345803][ C3] ? trace_rcu_batch_end+0x330/0x330 [ 220.345805][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 220.345807][ C3] ? do_raw_spin_unlock+0x59/0x250 [ 220.345808][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 220.345810][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 220.345811][ C3] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 220.345813][ C3] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 220.345815][ C3] rcu_core+0x2bf/0x640 [ 220.345817][ C3] handle_softirqs+0x1d8/0x940 [ 220.345818][ C3] ? find_held_lock+0x2b/0x80 [ 220.345821][ C3] ? __lock_release.isra.0+0x6b/0x1a0 [ 220.345823][ C3] ? _local_bh_enable+0xd0/0xd0 [ 220.345825][ C3] __irq_exit_rcu+0x103/0x1c0 [ 220.345826][ C3] irq_exit_rcu+0xe/0x30 [ 220.345828][ C3] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 220.345830][ C3] [ 220.345830][ C3] [ 220.345831][ C3] ? rcu_is_watching+0x15/0xd0 [ 220.345832][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 220.345834][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 220.345837][ C3] Code: 48 8b 3d 44 d3 00 02 e8 1f 00 00 00 48 2b 05 c8 71 a3 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 43 f4 22 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 220.345839][ C3] RSP: 0018:ffa0000000167de8 EFLAGS: 00000296 [ 220.345841][ C3] RAX: 000000000051e2ab RBX: ff11000001bd0040 RCX: ffffffff9d0d9667 [ 220.345842][ C3] RDX: ff11000001bd0040 RSI: ffffffff9fe01bcb RDI: ffffffff9f86f6c0 [ 220.345843][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 220.345844][ C3] R10: 0000000000000003 R11: 0000000000000001 R12: 1ff400000002cfc0 [ 220.345845][ C3] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 220.345846][ C3] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 220.345850][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 220.345851][ C3] default_idle+0x9/0x10 [ 220.345853][ C3] default_idle_call+0x6e/0xb0 [ 220.345855][ C3] cpuidle_idle_call.constprop.0+0x237/0x410 [ 220.345857][ C3] ? arch_cpu_idle_exit+0x40/0x40 [ 220.345858][ C3] ? mark_tsc_async_resets+0x30/0x30 [ 220.345861][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 220.345862][ C3] ? rcu_is_watching+0x15/0xd0 [ 220.345864][ C3] do_idle+0xf5/0x160 [ 220.345866][ C3] cpu_startup_entry+0x53/0x70 [ 220.345867][ C3] start_secondary+0x204/0x2b0 [ 220.345869][ C3] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 220.345871][ C3] common_startup_64+0x13e/0x148 [ 220.345875][ C3]