[ 1767.765857][T17539] u32 classifier [ 1767.766016][T17539] input device check on [ 1767.766174][T17539] Actions configured [ 1767.793449][T17540] Mirror/redirect action on [ 1831.468666][ C3] [ 1831.468749][ C3] ================================ [ 1831.468843][ C3] WARNING: inconsistent lock state [ 1831.468928][ C3] 7.1.0-rc5-virtme #1 Not tainted [ 1831.469013][ C3] -------------------------------- [ 1831.469095][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 1831.469204][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 1831.469315][ C3] ffffffffc03477b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1831.469490][ C3] {SOFTIRQ-ON-W} state was registered at: [ 1831.469576][ C3] __lock_acquire+0x378/0xc10 [ 1831.469662][ C3] lock_acquire.part.0+0xbc/0x260 [ 1831.469745][ C3] _raw_spin_lock+0x33/0x40 [ 1831.469831][ C3] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 1831.469934][ C3] tcf_action_init_1+0x428/0x6b0 [ 1831.470018][ C3] tcf_action_init+0x3cf/0x890 [ 1831.470107][ C3] tcf_exts_validate_ex+0x411/0x670 [ 1831.470188][ C3] u32_set_parms+0x8f/0x6c0 [cls_u32] [ 1831.470273][ C3] u32_change+0x159f/0x2a1c [cls_u32] [ 1831.470357][ C3] tc_new_tfilter+0x875/0x21e0 [ 1831.470441][ C3] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 1831.470527][ C3] netlink_rcv_skb+0x14e/0x3a0 [ 1831.470611][ C3] netlink_unicast+0x486/0x750 [ 1831.470690][ C3] netlink_sendmsg+0x735/0xc60 [ 1831.470771][ C3] ____sys_sendmsg+0x419/0x850 [ 1831.470856][ C3] ___sys_sendmsg+0x14e/0x1d0 [ 1831.470940][ C3] __sys_sendmsg+0x145/0x1f0 [ 1831.471023][ C3] do_syscall_64+0x117/0x590 [ 1831.471103][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 1831.471205][ C3] irq event stamp: 27591604 [ 1831.471291][ C3] hardirqs last enabled at (27591604): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 1831.471461][ C3] hardirqs last disabled at (27591603): [] _raw_spin_lock_irqsave+0x50/0x60 [ 1831.471630][ C3] softirqs last enabled at (27588966): [] handle_softirqs+0x611/0x940 [ 1831.471778][ C3] softirqs last disabled at (27588997): [] __irq_exit_rcu+0x103/0x1c0 [ 1831.471925][ C3] [ 1831.471925][ C3] other info that might help us debug this: [ 1831.472051][ C3] Possible unsafe locking scenario: [ 1831.472051][ C3] [ 1831.472169][ C3] CPU0 [ 1831.472229][ C3] ---- [ 1831.472288][ C3] lock(mirred_list_lock); [ 1831.472369][ C3] [ 1831.472428][ C3] lock(mirred_list_lock); [ 1831.472507][ C3] [ 1831.472507][ C3] *** DEADLOCK *** [ 1831.472507][ C3] [ 1831.472624][ C3] 1 lock held by swapper/3/0: [ 1831.472705][ C3] #0: ffffffffa478bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 1831.472852][ C3] [ 1831.472852][ C3] stack backtrace: [ 1831.472956][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 1831.472959][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1831.472961][ C3] Call Trace: [ 1831.472962][ C3] [ 1831.472964][ C3] dump_stack_lvl+0x6f/0xa0 [ 1831.472969][ C3] print_usage_bug.part.0.cold+0xa9/0xb7 [ 1831.472972][ C3] ? filter_irq_stacks+0xd0/0xd0 [ 1831.472976][ C3] mark_lock_irq+0x4e3/0x9c0 [ 1831.472977][ C3] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 1831.472979][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1831.472981][ C3] ? save_trace+0x68/0x280 [ 1831.472983][ C3] mark_lock+0x1d7/0xa00 [ 1831.472985][ C3] mark_usage+0x42/0x170 [ 1831.472986][ C3] __lock_acquire+0x378/0xc10 [ 1831.472988][ C3] ? rcu_is_watching+0x15/0xd0 [ 1831.472989][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 1831.472994][ C3] lock_acquire.part.0+0xbc/0x260 [ 1831.472995][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1831.472997][ C3] ? rcu_is_watching+0x15/0xd0 [ 1831.472999][ C3] ? lock_acquire+0x134/0x160 [ 1831.473001][ C3] _raw_spin_lock+0x33/0x40 [ 1831.473002][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1831.473003][ C3] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1831.473005][ C3] tcf_action_rcu_free+0x74/0x1a0 [ 1831.473007][ C3] ? rcu_do_batch+0x2b4/0x1020 [ 1831.473008][ C3] rcu_do_batch+0x2b6/0x1020 [ 1831.473011][ C3] ? trace_rcu_batch_end+0x330/0x330 [ 1831.473013][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 1831.473015][ C3] ? do_raw_spin_unlock+0x59/0x250 [ 1831.473016][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 1831.473018][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 1831.473019][ C3] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 1831.473020][ C3] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 1831.473022][ C3] rcu_core+0x2bf/0x640 [ 1831.473023][ C3] handle_softirqs+0x1d8/0x940 [ 1831.473025][ C3] ? find_held_lock+0x2b/0x80 [ 1831.473027][ C3] ? __lock_release.isra.0+0x6b/0x1a0 [ 1831.473028][ C3] ? _local_bh_enable+0xd0/0xd0 [ 1831.473030][ C3] __irq_exit_rcu+0x103/0x1c0 [ 1831.473032][ C3] irq_exit_rcu+0xe/0x30 [ 1831.473033][ C3] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 1831.473035][ C3] [ 1831.473035][ C3] [ 1831.473036][ C3] ? rcu_is_watching+0x15/0xd0 [ 1831.473037][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1831.473039][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 1831.473041][ C3] 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 [ 1831.473043][ C3] RSP: 0018:ffa0000000167de8 EFLAGS: 00000296 [ 1831.473045][ C3] RAX: 0000000001a4f983 RBX: ff11000001c78040 RCX: ffffffffa0cea8a7 [ 1831.473046][ C3] RDX: ff11000001c78040 RSI: ffffffffa3c93d1a RDI: ffffffffa36727c0 [ 1831.473047][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 1831.473048][ C3] R10: 0000000000000003 R11: 0000000000000001 R12: 1ff400000002cfc0 [ 1831.473049][ C3] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 1831.473050][ C3] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 1831.473053][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 1831.473054][ C3] default_idle+0x9/0x10 [ 1831.473056][ C3] default_idle_call+0x6e/0xb0 [ 1831.473057][ C3] cpuidle_idle_call.constprop.0+0x237/0x410 [ 1831.473058][ C3] ? arch_cpu_idle_exit+0x40/0x40 [ 1831.473060][ C3] ? mark_tsc_async_resets+0x30/0x30 [ 1831.473063][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 1831.473064][ C3] ? rcu_is_watching+0x15/0xd0 [ 1831.473066][ C3] do_idle+0xf5/0x160 [ 1831.473068][ C3] cpu_startup_entry+0x53/0x70 [ 1831.473069][ C3] start_secondary+0x204/0x2b0 [ 1831.473071][ C3] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 1831.473073][ C3] common_startup_64+0x13e/0x148 [ 1831.473077][ C3]