[ 1723.227038][T20774] Mirror/redirect action on [ 1786.749164][ C0] [ 1786.749267][ C0] ================================ [ 1786.749365][ C0] WARNING: inconsistent lock state [ 1786.749457][ C0] 7.1.0-rc5-virtme #1 Not tainted [ 1786.749552][ C0] -------------------------------- [ 1786.749639][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 1786.749746][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 1786.749853][ C0] ffffffffc06697b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1786.750032][ C0] {SOFTIRQ-ON-W} state was registered at: [ 1786.750118][ C0] __lock_acquire+0x378/0xc10 [ 1786.750212][ C0] lock_acquire.part.0+0xbc/0x260 [ 1786.750300][ C0] _raw_spin_lock+0x33/0x40 [ 1786.750388][ C0] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 1786.750502][ C0] tcf_action_init_1+0x428/0x6b0 [ 1786.750591][ C0] tcf_action_init+0x3cf/0x890 [ 1786.750678][ C0] tcf_exts_validate_ex+0x411/0x670 [ 1786.750768][ C0] u32_set_parms+0x8f/0x6c0 [cls_u32] [ 1786.750857][ C0] u32_change+0x159f/0x2a1c [cls_u32] [ 1786.750942][ C0] tc_new_tfilter+0x875/0x21e0 [ 1786.751028][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 1786.751116][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 1786.751202][ C0] netlink_unicast+0x486/0x750 [ 1786.751289][ C0] netlink_sendmsg+0x735/0xc60 [ 1786.751374][ C0] ____sys_sendmsg+0x419/0x850 [ 1786.751460][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 1786.751553][ C0] __sys_sendmsg+0x145/0x1f0 [ 1786.751640][ C0] do_syscall_64+0x117/0x590 [ 1786.751728][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 1786.751836][ C0] irq event stamp: 30022558 [ 1786.751926][ C0] hardirqs last enabled at (30022558): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 1786.752097][ C0] hardirqs last disabled at (30022557): [] _raw_spin_lock_irqsave+0x50/0x60 [ 1786.752274][ C0] softirqs last enabled at (30020488): [] handle_softirqs+0x611/0x940 [ 1786.752424][ C0] softirqs last disabled at (30020497): [] __irq_exit_rcu+0x103/0x1c0 [ 1786.752578][ C0] [ 1786.752578][ C0] other info that might help us debug this: [ 1786.752706][ C0] Possible unsafe locking scenario: [ 1786.752706][ C0] [ 1786.752835][ C0] CPU0 [ 1786.752900][ C0] ---- [ 1786.752964][ C0] lock(mirred_list_lock); [ 1786.753055][ C0] [ 1786.753119][ C0] lock(mirred_list_lock); [ 1786.753206][ C0] [ 1786.753206][ C0] *** DEADLOCK *** [ 1786.753206][ C0] [ 1786.753333][ C0] 1 lock held by swapper/0/0: [ 1786.753421][ C0] #0: ffffffffa698bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 1786.753582][ C0] [ 1786.753582][ C0] stack backtrace: [ 1786.753695][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 1786.753698][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1786.753699][ C0] Call Trace: [ 1786.753701][ C0] [ 1786.753702][ C0] dump_stack_lvl+0x6f/0xa0 [ 1786.753707][ C0] print_usage_bug.part.0.cold+0xa9/0xb7 [ 1786.753709][ C0] ? filter_irq_stacks+0xd0/0xd0 [ 1786.753713][ C0] mark_lock_irq+0x4e3/0x9c0 [ 1786.753714][ C0] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 1786.753715][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1786.753717][ C0] ? save_trace+0x68/0x280 [ 1786.753719][ C0] ? kvm_mmu_spte_module_init+0xa0/0xf0 [ 1786.753724][ C0] mark_lock+0x1d7/0xa00 [ 1786.753726][ C0] mark_usage+0x42/0x170 [ 1786.753727][ C0] __lock_acquire+0x378/0xc10 [ 1786.753728][ C0] ? rcu_is_watching+0x15/0xd0 [ 1786.753730][ C0] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 1786.753734][ C0] lock_acquire.part.0+0xbc/0x260 [ 1786.753736][ C0] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1786.753737][ C0] ? rcu_is_watching+0x15/0xd0 [ 1786.753739][ C0] ? lock_acquire+0x134/0x160 [ 1786.753741][ C0] _raw_spin_lock+0x33/0x40 [ 1786.753742][ C0] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1786.753744][ C0] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1786.753745][ C0] tcf_action_rcu_free+0x74/0x1a0 [ 1786.753747][ C0] ? rcu_do_batch+0x2b4/0x1020 [ 1786.753748][ C0] rcu_do_batch+0x2b6/0x1020 [ 1786.753751][ C0] ? trace_rcu_batch_end+0x330/0x330 [ 1786.753753][ C0] ? rcu_is_watching+0x15/0xd0 [ 1786.753755][ C0] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 1786.753756][ C0] ? trace_irq_disable.constprop.0+0x9b/0x180 [ 1786.753758][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 1786.753760][ C0] ? lockdep_hardirqs_on+0x8c/0x130 [ 1786.753761][ C0] rcu_core+0x2bf/0x640 [ 1786.753763][ C0] handle_softirqs+0x1d8/0x940 [ 1786.753764][ C0] ? find_held_lock+0x2b/0x80 [ 1786.753766][ C0] ? __lock_release.isra.0+0x6b/0x1a0 [ 1786.753767][ C0] ? _local_bh_enable+0xd0/0xd0 [ 1786.753769][ C0] __irq_exit_rcu+0x103/0x1c0 [ 1786.753771][ C0] irq_exit_rcu+0xe/0x30 [ 1786.753772][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 1786.753774][ C0] [ 1786.753774][ C0] [ 1786.753775][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1786.753777][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 1786.753779][ C0] 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 [ 1786.753781][ C0] RSP: 0018:ffffffffa6607e00 EFLAGS: 00000282 [ 1786.753783][ C0] RAX: 0000000001ca138f RBX: ffffffffa6630740 RCX: ffffffffa2eea8a7 [ 1786.753784][ C0] RDX: ffffffffa6630740 RSI: ffffffffa5e93d1a RDI: ffffffffa58727c0 [ 1786.753785][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 1786.753785][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff4cc0fc3 [ 1786.753786][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 1786.753788][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 1786.753791][ C0] default_idle+0x9/0x10 [ 1786.753793][ C0] default_idle_call+0x6e/0xb0 [ 1786.753794][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 1786.753795][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 1786.753797][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 1786.753800][ C0] ? rcu_is_watching+0x15/0xd0 [ 1786.753801][ C0] do_idle+0xf5/0x160 [ 1786.753803][ C0] cpu_startup_entry+0x53/0x70 [ 1786.753804][ C0] rest_init+0x1f7/0x200 [ 1786.753806][ C0] start_kernel+0x3ad/0x3b0 [ 1786.753808][ C0] x86_64_start_reservations+0x24/0x30 [ 1786.753810][ C0] x86_64_start_kernel+0x12b/0x130 [ 1786.753812][ C0] common_startup_64+0x13e/0x148 [ 1786.753816][ C0]