[ 1536.041536][T32623] u32 classifier [ 1536.041688][T32623] input device check on [ 1536.041844][T32623] Actions configured [ 1536.078418][T32624] Mirror/redirect action on [ 1599.778878][ C2] [ 1599.778968][ C2] ================================ [ 1599.779045][ C2] WARNING: inconsistent lock state [ 1599.779114][ C2] 7.1.0-rc5-virtme #1 Not tainted [ 1599.779185][ C2] -------------------------------- [ 1599.779257][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 1599.779346][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 1599.779432][ C2] ffffffffc05b97b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1599.779574][ C2] {SOFTIRQ-ON-W} state was registered at: [ 1599.779644][ C2] __lock_acquire+0x378/0xc10 [ 1599.779718][ C2] lock_acquire.part.0+0xbc/0x260 [ 1599.779786][ C2] _raw_spin_lock+0x33/0x40 [ 1599.779856][ C2] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 1599.779947][ C2] tcf_action_init_1+0x428/0x6b0 [ 1599.780017][ C2] tcf_action_init+0x3cf/0x890 [ 1599.780084][ C2] tcf_exts_validate_ex+0x411/0x670 [ 1599.780153][ C2] u32_set_parms+0x8f/0x6c0 [cls_u32] [ 1599.780221][ C2] u32_change+0x159f/0x2a1c [cls_u32] [ 1599.780289][ C2] tc_new_tfilter+0x875/0x21e0 [ 1599.780357][ C2] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 1599.780427][ C2] netlink_rcv_skb+0x14e/0x3a0 [ 1599.780496][ C2] netlink_unicast+0x486/0x750 [ 1599.780563][ C2] netlink_sendmsg+0x735/0xc60 [ 1599.780632][ C2] ____sys_sendmsg+0x419/0x850 [ 1599.780701][ C2] ___sys_sendmsg+0x14e/0x1d0 [ 1599.780769][ C2] __sys_sendmsg+0x145/0x1f0 [ 1599.780837][ C2] do_syscall_64+0x117/0x590 [ 1599.780911][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 1599.780997][ C2] irq event stamp: 74074236 [ 1599.781067][ C2] hardirqs last enabled at (74074236): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 1599.781203][ C2] hardirqs last disabled at (74074235): [] _raw_spin_lock_irqsave+0x50/0x60 [ 1599.781339][ C2] softirqs last enabled at (74072254): [] handle_softirqs+0x611/0x940 [ 1599.781464][ C2] softirqs last disabled at (74072261): [] __irq_exit_rcu+0x103/0x1c0 [ 1599.781584][ C2] [ 1599.781584][ C2] other info that might help us debug this: [ 1599.781686][ C2] Possible unsafe locking scenario: [ 1599.781686][ C2] [ 1599.781786][ C2] CPU0 [ 1599.781838][ C2] ---- [ 1599.781896][ C2] lock(mirred_list_lock); [ 1599.781965][ C2] [ 1599.782016][ C2] lock(mirred_list_lock); [ 1599.782088][ C2] [ 1599.782088][ C2] *** DEADLOCK *** [ 1599.782088][ C2] [ 1599.782192][ C2] 1 lock held by swapper/2/0: [ 1599.782263][ C2] #0: ffffffff9018bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 1599.782389][ C2] [ 1599.782389][ C2] stack backtrace: [ 1599.782475][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 1599.782478][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1599.782480][ C2] Call Trace: [ 1599.782481][ C2] [ 1599.782483][ C2] dump_stack_lvl+0x6f/0xa0 [ 1599.782488][ C2] print_usage_bug.part.0.cold+0xa9/0xb7 [ 1599.782491][ C2] ? filter_irq_stacks+0xd0/0xd0 [ 1599.782494][ C2] mark_lock_irq+0x4e3/0x9c0 [ 1599.782495][ C2] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 1599.782497][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1599.782499][ C2] ? save_trace+0x68/0x280 [ 1599.782502][ C2] mark_lock+0x1d7/0xa00 [ 1599.782503][ C2] mark_usage+0x42/0x170 [ 1599.782505][ C2] __lock_acquire+0x378/0xc10 [ 1599.782506][ C2] ? rcu_is_watching+0x15/0xd0 [ 1599.782508][ C2] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 1599.782512][ C2] lock_acquire.part.0+0xbc/0x260 [ 1599.782514][ C2] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1599.782516][ C2] ? rcu_is_watching+0x15/0xd0 [ 1599.782517][ C2] ? lock_acquire+0x134/0x160 [ 1599.782519][ C2] _raw_spin_lock+0x33/0x40 [ 1599.782520][ C2] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1599.782522][ C2] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 1599.782524][ C2] tcf_action_rcu_free+0x74/0x1a0 [ 1599.782525][ C2] ? rcu_do_batch+0x2b4/0x1020 [ 1599.782527][ C2] rcu_do_batch+0x2b6/0x1020 [ 1599.782529][ C2] ? trace_rcu_batch_end+0x330/0x330 [ 1599.782531][ C2] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 1599.782533][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 1599.782535][ C2] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 1599.782536][ C2] ? lockdep_hardirqs_on+0x8c/0x130 [ 1599.782537][ C2] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 1599.782538][ C2] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 1599.782540][ C2] rcu_core+0x2bf/0x640 [ 1599.782542][ C2] handle_softirqs+0x1d8/0x940 [ 1599.782543][ C2] ? find_held_lock+0x2b/0x80 [ 1599.782545][ C2] ? __lock_release.isra.0+0x6b/0x1a0 [ 1599.782547][ C2] ? _local_bh_enable+0xd0/0xd0 [ 1599.782549][ C2] __irq_exit_rcu+0x103/0x1c0 [ 1599.782550][ C2] irq_exit_rcu+0xe/0x30 [ 1599.782552][ C2] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 1599.782553][ C2] [ 1599.782554][ C2] [ 1599.782554][ C2] ? rcu_is_watching+0x15/0xd0 [ 1599.782556][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 1599.782557][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 1599.782559][ C2] 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 [ 1599.782561][ C2] RSP: 0018:ffa0000000157de8 EFLAGS: 00000296 [ 1599.782563][ C2] RAX: 00000000046a40c3 RBX: ff11000001b9c640 RCX: ffffffff8c6ea8a7 [ 1599.782564][ C2] RDX: ff11000001b9c640 RSI: ffffffff8f693d1a RDI: ffffffff8f0727c0 [ 1599.782565][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 1599.782566][ C2] R10: 0000000000000002 R11: 0000000000000001 R12: 1ff400000002afc0 [ 1599.782567][ C2] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 1599.782568][ C2] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 1599.782571][ C2] ? lockdep_hardirqs_on+0x8c/0x130 [ 1599.782573][ C2] default_idle+0x9/0x10 [ 1599.782574][ C2] default_idle_call+0x6e/0xb0 [ 1599.782575][ C2] cpuidle_idle_call.constprop.0+0x237/0x410 [ 1599.782577][ C2] ? arch_cpu_idle_exit+0x40/0x40 [ 1599.782579][ C2] ? mark_tsc_async_resets+0x30/0x30 [ 1599.782581][ C2] ? rcu_is_watching+0x15/0xd0 [ 1599.782583][ C2] do_idle+0xf5/0x160 [ 1599.782585][ C2] cpu_startup_entry+0x53/0x70 [ 1599.782586][ C2] start_secondary+0x204/0x2b0 [ 1599.782588][ C2] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 1599.782590][ C2] common_startup_64+0x13e/0x148 [ 1599.782594][ C2]