[ 2023.522527][ T2701] Mirror/redirect action on [ 2026.761965][ C1] [ 2026.762042][ C1] ================================ [ 2026.762126][ C1] WARNING: inconsistent lock state [ 2026.762211][ C1] 7.1.0-rc5-virtme #1 Not tainted [ 2026.762291][ C1] -------------------------------- [ 2026.762368][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 2026.762475][ C1] ksoftirqd/1/23 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 2026.762574][ C1] ffffffffc09077b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 2026.762734][ C1] {SOFTIRQ-ON-W} state was registered at: [ 2026.762810][ C1] __lock_acquire+0x378/0xc10 [ 2026.762898][ C1] lock_acquire.part.0+0xbc/0x260 [ 2026.762975][ C1] _raw_spin_lock+0x33/0x40 [ 2026.763059][ C1] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 2026.763159][ C1] tcf_action_init_1+0x428/0x6b0 [ 2026.763239][ C1] tcf_action_init+0x3cf/0x890 [ 2026.763315][ C1] tcf_exts_validate_ex+0x411/0x670 [ 2026.763399][ C1] fl_change+0xed4/0x4e77 [cls_flower] [ 2026.763479][ C1] tc_new_tfilter+0x875/0x21e0 [ 2026.763557][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 2026.763638][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 2026.763717][ C1] netlink_unicast+0x486/0x750 [ 2026.763796][ C1] netlink_sendmsg+0x735/0xc60 [ 2026.763877][ C1] ____sys_sendmsg+0x419/0x850 [ 2026.763956][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 2026.764039][ C1] __sys_sendmsg+0x145/0x1f0 [ 2026.764116][ C1] do_syscall_64+0x117/0x590 [ 2026.764194][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 2026.764289][ C1] irq event stamp: 55942680 [ 2026.764368][ C1] hardirqs last enabled at (55942680): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 2026.764520][ C1] hardirqs last disabled at (55942679): [] _raw_spin_lock_irqsave+0x50/0x60 [ 2026.764671][ C1] softirqs last enabled at (55942584): [] handle_softirqs+0x611/0x940 [ 2026.764809][ C1] softirqs last disabled at (55942589): [] run_ksoftirqd+0x39/0x60 [ 2026.764948][ C1] [ 2026.764948][ C1] other info that might help us debug this: [ 2026.765062][ C1] Possible unsafe locking scenario: [ 2026.765062][ C1] [ 2026.765175][ C1] CPU0 [ 2026.765233][ C1] ---- [ 2026.765289][ C1] lock(mirred_list_lock); [ 2026.765367][ C1] [ 2026.765423][ C1] lock(mirred_list_lock); [ 2026.765503][ C1] [ 2026.765503][ C1] *** DEADLOCK *** [ 2026.765503][ C1] [ 2026.765615][ C1] 1 lock held by ksoftirqd/1/23: [ 2026.765694][ C1] #0: ffffffff8d98bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 2026.765839][ C1] [ 2026.765839][ C1] stack backtrace: [ 2026.765936][ C1] CPU: 1 UID: 0 PID: 23 Comm: ksoftirqd/1 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 2026.765939][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2026.765941][ C1] Call Trace: [ 2026.765943][ C1] [ 2026.765944][ C1] dump_stack_lvl+0x6f/0xa0 [ 2026.765950][ C1] print_usage_bug.part.0.cold+0xa9/0xb7 [ 2026.765953][ C1] mark_lock_irq+0x4e3/0x9c0 [ 2026.765954][ C1] ? kthread+0x367/0x460 [ 2026.765958][ C1] ? save_trace+0x68/0x280 [ 2026.765959][ C1] ? __lock_acquire+0x508/0xc10 [ 2026.765961][ C1] mark_lock+0x1d7/0xa00 [ 2026.765962][ C1] mark_usage+0x42/0x170 [ 2026.765964][ C1] __lock_acquire+0x378/0xc10 [ 2026.765965][ C1] ? rcu_is_watching+0x15/0xd0 [ 2026.765968][ C1] lock_acquire.part.0+0xbc/0x260 [ 2026.765970][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 2026.765972][ C1] ? rcu_is_watching+0x15/0xd0 [ 2026.765973][ C1] ? lock_acquire+0x134/0x160 [ 2026.765975][ C1] _raw_spin_lock+0x33/0x40 [ 2026.765977][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 2026.765978][ C1] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 2026.765980][ C1] tcf_action_rcu_free+0x74/0x1a0 [ 2026.765981][ C1] ? rcu_do_batch+0x2b4/0x1020 [ 2026.765983][ C1] rcu_do_batch+0x2b6/0x1020 [ 2026.765985][ C1] ? rcu_start_this_gp+0x270/0x490 [ 2026.765987][ C1] ? trace_rcu_batch_end+0x330/0x330 [ 2026.765990][ C1] ? rcu_is_watching+0x15/0xd0 [ 2026.765991][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 2026.765995][ C1] rcu_core+0x2bf/0x640 [ 2026.765997][ C1] handle_softirqs+0x1d8/0x940 [ 2026.765998][ C1] ? find_held_lock+0x2b/0x80 [ 2026.766000][ C1] ? _local_bh_enable+0xd0/0xd0 [ 2026.766002][ C1] ? rcu_is_watching+0x15/0xd0 [ 2026.766004][ C1] run_ksoftirqd+0x39/0x60 [ 2026.766005][ C1] smpboot_thread_fn+0x2fb/0x9b0 [ 2026.766008][ C1] ? sort_range+0x20/0x20 [ 2026.766009][ C1] kthread+0x367/0x460 [ 2026.766011][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 2026.766013][ C1] ? kthread_affine_node+0x330/0x330 [ 2026.766014][ C1] ret_from_fork+0x474/0x6b0 [ 2026.766017][ C1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 2026.766019][ C1] ? __switch_to+0x5a3/0xe00 [ 2026.766022][ C1] ? kthread_affine_node+0x330/0x330 [ 2026.766023][ C1] ret_from_fork_asm+0x11/0x20 [ 2026.766027][ C1]