[ 8.509833][ T202] ip (202) used greatest stack depth: 24224 bytes left [ 9.037354][ T221] Mirror/redirect action on [ 12.306008][ C3] [ 12.306087][ C3] ================================ [ 12.306178][ C3] WARNING: inconsistent lock state [ 12.306266][ C3] 7.1.0-rc5-virtme #1 Not tainted [ 12.306353][ C3] -------------------------------- [ 12.306438][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.306543][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.306644][ C3] ffffffffc04857b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 12.306820][ C3] {SOFTIRQ-ON-W} state was registered at: [ 12.306907][ C3] __lock_acquire+0x378/0xc10 [ 12.307002][ C3] lock_acquire.part.0+0xbc/0x260 [ 12.307084][ C3] _raw_spin_lock+0x33/0x40 [ 12.307167][ C3] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 12.307273][ C3] tcf_action_init_1+0x428/0x6b0 [ 12.307356][ C3] tcf_action_init+0x3cf/0x890 [ 12.307437][ C3] tcf_exts_validate_ex+0x411/0x670 [ 12.307520][ C3] fl_change+0xed4/0x4e77 [cls_flower] [ 12.307607][ C3] tc_new_tfilter+0x875/0x21e0 [ 12.307689][ C3] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 12.307777][ C3] netlink_rcv_skb+0x14e/0x3a0 [ 12.307860][ C3] netlink_unicast+0x486/0x750 [ 12.307942][ C3] netlink_sendmsg+0x735/0xc60 [ 12.308030][ C3] ____sys_sendmsg+0x419/0x850 [ 12.308115][ C3] ___sys_sendmsg+0x14e/0x1d0 [ 12.308196][ C3] __sys_sendmsg+0x145/0x1f0 [ 12.308277][ C3] do_syscall_64+0x117/0x590 [ 12.308359][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.308464][ C3] irq event stamp: 384516 [ 12.308526][ C3] hardirqs last enabled at (384516): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 12.308689][ C3] hardirqs last disabled at (384515): [] _raw_spin_lock_irqsave+0x50/0x60 [ 12.308852][ C3] softirqs last enabled at (384102): [] handle_softirqs+0x611/0x940 [ 12.308999][ C3] softirqs last disabled at (384111): [] __irq_exit_rcu+0x103/0x1c0 [ 12.309141][ C3] [ 12.309141][ C3] other info that might help us debug this: [ 12.309260][ C3] Possible unsafe locking scenario: [ 12.309260][ C3] [ 12.309383][ C3] CPU0 [ 12.309445][ C3] ---- [ 12.309506][ C3] lock(mirred_list_lock); [ 12.309590][ C3] [ 12.309650][ C3] lock(mirred_list_lock); [ 12.309735][ C3] [ 12.309735][ C3] *** DEADLOCK *** [ 12.309735][ C3] [ 12.309862][ C3] 1 lock held by swapper/3/0: [ 12.309946][ C3] #0: ffffffffafb8bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 12.310099][ C3] [ 12.310099][ C3] stack backtrace: [ 12.310203][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 12.310206][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.310208][ C3] Call Trace: [ 12.310210][ C3] [ 12.310211][ C3] dump_stack_lvl+0x6f/0xa0 [ 12.310216][ C3] print_usage_bug.part.0.cold+0xa9/0xb7 [ 12.310219][ C3] ? filter_irq_stacks+0xd0/0xd0 [ 12.310222][ C3] mark_lock_irq+0x4e3/0x9c0 [ 12.310224][ C3] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 12.310225][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.310227][ C3] ? save_trace+0x68/0x280 [ 12.310229][ C3] mark_lock+0x1d7/0xa00 [ 12.310231][ C3] mark_usage+0x42/0x170 [ 12.310233][ C3] __lock_acquire+0x378/0xc10 [ 12.310234][ C3] ? rcu_is_watching+0x15/0xd0 [ 12.310236][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 12.310240][ C3] lock_acquire.part.0+0xbc/0x260 [ 12.310241][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 12.310243][ C3] ? rcu_is_watching+0x15/0xd0 [ 12.310245][ C3] ? lock_acquire+0x134/0x160 [ 12.310246][ C3] _raw_spin_lock+0x33/0x40 [ 12.310248][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 12.310249][ C3] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 12.310251][ C3] tcf_action_rcu_free+0x74/0x1a0 [ 12.310252][ C3] ? rcu_do_batch+0x2b4/0x1020 [ 12.310254][ C3] rcu_do_batch+0x2b6/0x1020 [ 12.310257][ C3] ? trace_rcu_batch_end+0x330/0x330 [ 12.310259][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 12.310260][ C3] ? do_raw_spin_unlock+0x59/0x250 [ 12.310262][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 12.310263][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 12.310264][ C3] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 12.310265][ C3] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 12.310267][ C3] rcu_core+0x2bf/0x640 [ 12.310269][ C3] handle_softirqs+0x1d8/0x940 [ 12.310270][ C3] ? find_held_lock+0x2b/0x80 [ 12.310272][ C3] ? __lock_release.isra.0+0x6b/0x1a0 [ 12.310274][ C3] ? _local_bh_enable+0xd0/0xd0 [ 12.310276][ C3] __irq_exit_rcu+0x103/0x1c0 [ 12.310277][ C3] irq_exit_rcu+0xe/0x30 [ 12.310278][ C3] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 12.310280][ C3] [ 12.310280][ C3] [ 12.310281][ C3] ? rcu_is_watching+0x15/0xd0 [ 12.310283][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.310284][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 12.310286][ 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 [ 12.310288][ C3] RSP: 0018:ffa0000000167de8 EFLAGS: 00000296 [ 12.310290][ C3] RAX: 000000000005dc6d RBX: ff11000001c78040 RCX: ffffffffac0ea8a7 [ 12.310291][ C3] RDX: ff11000001c78040 RSI: ffffffffaf093d1a RDI: ffffffffaea727c0 [ 12.310292][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 12.310293][ C3] R10: 0000000000000003 R11: 0000000000000001 R12: 1ff400000002cfc0 [ 12.310294][ C3] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 12.310295][ C3] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 12.310298][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 12.310299][ C3] default_idle+0x9/0x10 [ 12.310301][ C3] default_idle_call+0x6e/0xb0 [ 12.310302][ C3] cpuidle_idle_call.constprop.0+0x237/0x410 [ 12.310304][ C3] ? arch_cpu_idle_exit+0x40/0x40 [ 12.310305][ C3] ? mark_tsc_async_resets+0x30/0x30 [ 12.310308][ C3] ? rcu_is_watching+0x15/0xd0 [ 12.310310][ C3] do_idle+0xf5/0x160 [ 12.310311][ C3] cpu_startup_entry+0x53/0x70 [ 12.310313][ C3] start_secondary+0x204/0x2b0 [ 12.310314][ C3] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 12.310316][ C3] common_startup_64+0x13e/0x148 [ 12.310321][ C3]