[ 142.827530][ T1937] ip (1937) used greatest stack depth: 24048 bytes left [ 143.091854][ T1948] u32 classifier [ 143.092001][ T1948] input device check on [ 143.092158][ T1948] Actions configured [ 143.119487][ T1949] Mirror/redirect action on [ 207.216221][ C1] [ 207.216316][ C1] ================================ [ 207.216416][ C1] WARNING: inconsistent lock state [ 207.216503][ C1] 7.1.0-rc5-virtme #1 Not tainted [ 207.216591][ C1] -------------------------------- [ 207.216676][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 207.216786][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 207.216896][ C1] ffffffffc06267b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 207.217074][ C1] {SOFTIRQ-ON-W} state was registered at: [ 207.217160][ C1] __lock_acquire+0x378/0xc10 [ 207.217252][ C1] lock_acquire.part.0+0xbc/0x260 [ 207.217341][ C1] _raw_spin_lock+0x33/0x40 [ 207.217433][ C1] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 207.217542][ C1] tcf_action_init_1+0x428/0x6b0 [ 207.217633][ C1] tcf_action_init+0x3cf/0x890 [ 207.217720][ C1] tcf_exts_validate_ex+0x411/0x670 [ 207.217807][ C1] u32_set_parms+0x8f/0x6c0 [cls_u32] [ 207.217894][ C1] u32_change+0x159f/0x2a1c [cls_u32] [ 207.217979][ C1] tc_new_tfilter+0x875/0x21e0 [ 207.218064][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 207.218149][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 207.218235][ C1] netlink_unicast+0x486/0x750 [ 207.218320][ C1] netlink_sendmsg+0x735/0xc60 [ 207.218410][ C1] ____sys_sendmsg+0x419/0x850 [ 207.218495][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 207.218581][ C1] __sys_sendmsg+0x145/0x1f0 [ 207.218665][ C1] do_syscall_64+0x117/0x590 [ 207.218751][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 207.218856][ C1] irq event stamp: 3402980 [ 207.218943][ C1] hardirqs last enabled at (3402980): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 207.219110][ C1] hardirqs last disabled at (3402979): [] _raw_spin_lock_irqsave+0x50/0x60 [ 207.219281][ C1] softirqs last enabled at (3400360): [] handle_softirqs+0x611/0x940 [ 207.219432][ C1] softirqs last disabled at (3400427): [] __irq_exit_rcu+0x103/0x1c0 [ 207.219584][ C1] [ 207.219584][ C1] other info that might help us debug this: [ 207.219708][ C1] Possible unsafe locking scenario: [ 207.219708][ C1] [ 207.219833][ C1] CPU0 [ 207.219897][ C1] ---- [ 207.219960][ C1] lock(mirred_list_lock); [ 207.220043][ C1] [ 207.220107][ C1] lock(mirred_list_lock); [ 207.220191][ C1] [ 207.220191][ C1] *** DEADLOCK *** [ 207.220191][ C1] [ 207.220320][ C1] 1 lock held by swapper/1/0: [ 207.220410][ C1] #0: ffffffff8978bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 207.220564][ C1] [ 207.220564][ C1] stack backtrace: [ 207.220676][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 207.220679][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 207.220681][ C1] Call Trace: [ 207.220682][ C1] [ 207.220684][ C1] dump_stack_lvl+0x6f/0xa0 [ 207.220689][ C1] print_usage_bug.part.0.cold+0xa9/0xb7 [ 207.220691][ C1] ? filter_irq_stacks+0xd0/0xd0 [ 207.220694][ C1] mark_lock_irq+0x4e3/0x9c0 [ 207.220696][ C1] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 207.220698][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 207.220699][ C1] ? save_trace+0x68/0x280 [ 207.220701][ C1] mark_lock+0x1d7/0xa00 [ 207.220703][ C1] mark_usage+0x42/0x170 [ 207.220705][ C1] __lock_acquire+0x378/0xc10 [ 207.220706][ C1] ? rcu_is_watching+0x15/0xd0 [ 207.220708][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 207.220712][ C1] lock_acquire.part.0+0xbc/0x260 [ 207.220713][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 207.220715][ C1] ? rcu_is_watching+0x15/0xd0 [ 207.220717][ C1] ? lock_acquire+0x134/0x160 [ 207.220718][ C1] _raw_spin_lock+0x33/0x40 [ 207.220720][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 207.220721][ C1] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 207.220723][ C1] tcf_action_rcu_free+0x74/0x1a0 [ 207.220724][ C1] ? rcu_do_batch+0x2b4/0x1020 [ 207.220726][ C1] rcu_do_batch+0x2b6/0x1020 [ 207.220729][ C1] ? trace_rcu_batch_end+0x330/0x330 [ 207.220731][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 207.220732][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 207.220734][ C1] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 207.220735][ C1] ? lockdep_hardirqs_on+0x8c/0x130 [ 207.220736][ C1] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 207.220738][ C1] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 207.220739][ C1] rcu_core+0x2bf/0x640 [ 207.220741][ C1] handle_softirqs+0x1d8/0x940 [ 207.220742][ C1] ? find_held_lock+0x2b/0x80 [ 207.220744][ C1] ? __lock_release.isra.0+0x6b/0x1a0 [ 207.220746][ C1] ? _local_bh_enable+0xd0/0xd0 [ 207.220748][ C1] __irq_exit_rcu+0x103/0x1c0 [ 207.220749][ C1] irq_exit_rcu+0xe/0x30 [ 207.220750][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 207.220752][ C1] [ 207.220753][ C1] [ 207.220753][ C1] ? rcu_is_watching+0x15/0xd0 [ 207.220755][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 207.220756][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 207.220758][ 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 [ 207.220760][ C1] RSP: 0018:ffa0000000147de8 EFLAGS: 00000296 [ 207.220762][ C1] RAX: 000000000033e2e9 RBX: ff11000001b9a340 RCX: ffffffff85cea8a7 [ 207.220763][ C1] RDX: ff11000001b9a340 RSI: ffffffff88c93d1a RDI: ffffffff886727c0 [ 207.220764][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 207.220765][ C1] R10: 0000000000000001 R11: 0000000000000001 R12: 1ff4000000028fc0 [ 207.220765][ C1] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 207.220767][ C1] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 207.220770][ C1] ? lockdep_hardirqs_on+0x8c/0x130 [ 207.220771][ C1] default_idle+0x9/0x10 [ 207.220773][ C1] default_idle_call+0x6e/0xb0 [ 207.220774][ C1] cpuidle_idle_call.constprop.0+0x237/0x410 [ 207.220776][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 207.220777][ C1] ? mark_tsc_async_resets+0x30/0x30 [ 207.220780][ C1] ? rcu_is_watching+0x15/0xd0 [ 207.220782][ C1] do_idle+0xf5/0x160 [ 207.220783][ C1] cpu_startup_entry+0x53/0x70 [ 207.220785][ C1] start_secondary+0x204/0x2b0 [ 207.220786][ C1] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 207.220788][ C1] common_startup_64+0x13e/0x148 [ 207.220792][ C1]