[ 402.203786][ T7699] u32 classifier [ 402.203914][ T7699] input device check on [ 402.204026][ T7699] Actions configured [ 402.237930][ T7700] Mirror/redirect action on [ 466.323152][ C1] [ 466.323247][ C1] ================================ [ 466.323334][ C1] WARNING: inconsistent lock state [ 466.323419][ C1] 7.1.0-rc5-virtme #1 Not tainted [ 466.323508][ C1] -------------------------------- [ 466.323589][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 466.323695][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 466.323799][ C1] ffffffffc05bb7b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 466.323970][ C1] {SOFTIRQ-ON-W} state was registered at: [ 466.324052][ C1] __lock_acquire+0x378/0xc10 [ 466.324138][ C1] lock_acquire.part.0+0xbc/0x260 [ 466.324221][ C1] _raw_spin_lock+0x33/0x40 [ 466.324304][ C1] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 466.324409][ C1] tcf_action_init_1+0x428/0x6b0 [ 466.324495][ C1] tcf_action_init+0x3cf/0x890 [ 466.324581][ C1] tcf_exts_validate_ex+0x411/0x670 [ 466.324666][ C1] u32_set_parms+0x8f/0x6c0 [cls_u32] [ 466.324749][ C1] u32_change+0x159f/0x2a1c [cls_u32] [ 466.324836][ C1] tc_new_tfilter+0x875/0x21e0 [ 466.324924][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 466.325010][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 466.325095][ C1] netlink_unicast+0x486/0x750 [ 466.325179][ C1] netlink_sendmsg+0x735/0xc60 [ 466.325263][ C1] ____sys_sendmsg+0x419/0x850 [ 466.325346][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 466.325430][ C1] __sys_sendmsg+0x145/0x1f0 [ 466.325514][ C1] do_syscall_64+0x117/0x590 [ 466.325595][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 466.325695][ C1] irq event stamp: 13173966 [ 466.325781][ C1] hardirqs last enabled at (13173966): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 466.325953][ C1] hardirqs last disabled at (13173965): [] _raw_spin_lock_irqsave+0x50/0x60 [ 466.326119][ C1] softirqs last enabled at (13171308): [] handle_softirqs+0x611/0x940 [ 466.326259][ C1] softirqs last disabled at (13171315): [] __irq_exit_rcu+0x103/0x1c0 [ 466.326398][ C1] [ 466.326398][ C1] other info that might help us debug this: [ 466.326516][ C1] Possible unsafe locking scenario: [ 466.326516][ C1] [ 466.326642][ C1] CPU0 [ 466.326706][ C1] ---- [ 466.326768][ C1] lock(mirred_list_lock); [ 466.326854][ C1] [ 466.326914][ C1] lock(mirred_list_lock); [ 466.327003][ C1] [ 466.327003][ C1] *** DEADLOCK *** [ 466.327003][ C1] [ 466.327124][ C1] 1 lock held by swapper/1/0: [ 466.327210][ C1] #0: ffffffff8878bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 466.327355][ C1] [ 466.327355][ C1] stack backtrace: [ 466.327457][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 466.327460][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 466.327462][ C1] Call Trace: [ 466.327463][ C1] [ 466.327465][ C1] dump_stack_lvl+0x6f/0xa0 [ 466.327470][ C1] print_usage_bug.part.0.cold+0xa9/0xb7 [ 466.327473][ C1] ? filter_irq_stacks+0xd0/0xd0 [ 466.327476][ C1] mark_lock_irq+0x4e3/0x9c0 [ 466.327478][ C1] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 466.327479][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 466.327481][ C1] ? save_trace+0x68/0x280 [ 466.327483][ C1] mark_lock+0x1d7/0xa00 [ 466.327485][ C1] mark_usage+0x42/0x170 [ 466.327487][ C1] __lock_acquire+0x378/0xc10 [ 466.327488][ C1] ? rcu_is_watching+0x15/0xd0 [ 466.327490][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 466.327494][ C1] lock_acquire.part.0+0xbc/0x260 [ 466.327495][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 466.327497][ C1] ? rcu_is_watching+0x15/0xd0 [ 466.327499][ C1] ? lock_acquire+0x134/0x160 [ 466.327500][ C1] _raw_spin_lock+0x33/0x40 [ 466.327502][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 466.327503][ C1] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 466.327505][ C1] tcf_action_rcu_free+0x74/0x1a0 [ 466.327506][ C1] ? rcu_do_batch+0x2b4/0x1020 [ 466.327508][ C1] rcu_do_batch+0x2b6/0x1020 [ 466.327510][ C1] ? trace_rcu_batch_end+0x330/0x330 [ 466.327513][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 466.327514][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 466.327516][ C1] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 466.327517][ C1] ? lockdep_hardirqs_on+0x8c/0x130 [ 466.327518][ C1] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 466.327519][ C1] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 466.327521][ C1] rcu_core+0x2bf/0x640 [ 466.327523][ C1] handle_softirqs+0x1d8/0x940 [ 466.327525][ C1] ? find_held_lock+0x2b/0x80 [ 466.327526][ C1] ? __lock_release.isra.0+0x6b/0x1a0 [ 466.327528][ C1] ? _local_bh_enable+0xd0/0xd0 [ 466.327530][ C1] __irq_exit_rcu+0x103/0x1c0 [ 466.327531][ C1] irq_exit_rcu+0xe/0x30 [ 466.327533][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 466.327534][ C1] [ 466.327535][ C1] [ 466.327535][ C1] ? rcu_is_watching+0x15/0xd0 [ 466.327537][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 466.327538][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 466.327540][ C1] Code: 48 8b 3d 44 e3 60 02 e8 1f 00 00 00 48 2b 05 c8 81 9e 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 43 74 14 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 466.327542][ C1] RSP: 0018:ffa0000000147de8 EFLAGS: 00000296 [ 466.327544][ C1] RAX: 0000000000c8fa71 RBX: ff11000001b9a340 RCX: ffffffff84cea8a7 [ 466.327545][ C1] RDX: ff11000001b9a340 RSI: ffffffff87c93d1a RDI: ffffffff876727c0 [ 466.327546][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 466.327547][ C1] R10: 0000000000000001 R11: 0000000000000001 R12: 1ff4000000028fc0 [ 466.327548][ C1] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 466.327549][ C1] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 466.327552][ C1] ? lockdep_hardirqs_on+0x8c/0x130 [ 466.327554][ C1] default_idle+0x9/0x10 [ 466.327555][ C1] default_idle_call+0x6e/0xb0 [ 466.327557][ C1] cpuidle_idle_call.constprop.0+0x237/0x410 [ 466.327558][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 466.327559][ C1] ? mark_tsc_async_resets+0x30/0x30 [ 466.327562][ C1] ? rcu_is_watching+0x15/0xd0 [ 466.327564][ C1] do_idle+0xf5/0x160 [ 466.327565][ C1] cpu_startup_entry+0x53/0x70 [ 466.327567][ C1] start_secondary+0x204/0x2b0 [ 466.327568][ C1] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 466.327570][ C1] common_startup_64+0x13e/0x148 [ 466.327574][ C1]