[ 770.666746][T14719] u32 classifier [ 770.666910][T14719] input device check on [ 770.667064][T14719] Actions configured [ 770.694841][T14720] Mirror/redirect action on [ 835.201131][ C3] [ 835.201230][ C3] ================================ [ 835.201321][ C3] WARNING: inconsistent lock state [ 835.201411][ C3] 7.1.0-rc5-virtme #1 Not tainted [ 835.201503][ C3] -------------------------------- [ 835.201587][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 835.201691][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 835.201790][ C3] ffffffffc065f7b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 835.201965][ C3] {SOFTIRQ-ON-W} state was registered at: [ 835.202051][ C3] __lock_acquire+0x378/0xc10 [ 835.202142][ C3] lock_acquire.part.0+0xbc/0x260 [ 835.202228][ C3] _raw_spin_lock+0x33/0x40 [ 835.202314][ C3] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 835.202417][ C3] tcf_action_init_1+0x428/0x6b0 [ 835.202499][ C3] tcf_action_init+0x3cf/0x890 [ 835.202577][ C3] tcf_exts_validate_ex+0x411/0x670 [ 835.202662][ C3] u32_set_parms+0x8f/0x6c0 [cls_u32] [ 835.202744][ C3] u32_change+0x159f/0x2a1c [cls_u32] [ 835.202828][ C3] tc_new_tfilter+0x875/0x21e0 [ 835.202914][ C3] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 835.202999][ C3] netlink_rcv_skb+0x14e/0x3a0 [ 835.203086][ C3] netlink_unicast+0x486/0x750 [ 835.203170][ C3] netlink_sendmsg+0x735/0xc60 [ 835.203255][ C3] ____sys_sendmsg+0x419/0x850 [ 835.203341][ C3] ___sys_sendmsg+0x14e/0x1d0 [ 835.203420][ C3] __sys_sendmsg+0x145/0x1f0 [ 835.203500][ C3] do_syscall_64+0x117/0x590 [ 835.203584][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 835.203686][ C3] irq event stamp: 31120332 [ 835.203771][ C3] hardirqs last enabled at (31120332): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 835.203930][ C3] hardirqs last disabled at (31120331): [] _raw_spin_lock_irqsave+0x50/0x60 [ 835.204087][ C3] softirqs last enabled at (31118342): [] handle_softirqs+0x611/0x940 [ 835.204228][ C3] softirqs last disabled at (31118349): [] __irq_exit_rcu+0x103/0x1c0 [ 835.204375][ C3] [ 835.204375][ C3] other info that might help us debug this: [ 835.204494][ C3] Possible unsafe locking scenario: [ 835.204494][ C3] [ 835.204615][ C3] CPU0 [ 835.204676][ C3] ---- [ 835.204736][ C3] lock(mirred_list_lock); [ 835.204815][ C3] [ 835.204874][ C3] lock(mirred_list_lock); [ 835.204956][ C3] [ 835.204956][ C3] *** DEADLOCK *** [ 835.204956][ C3] [ 835.205073][ C3] 1 lock held by swapper/3/0: [ 835.205154][ C3] #0: ffffffffa818bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 835.205300][ C3] [ 835.205300][ C3] stack backtrace: [ 835.205398][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 835.205401][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 835.205402][ C3] Call Trace: [ 835.205404][ C3] [ 835.205406][ C3] dump_stack_lvl+0x6f/0xa0 [ 835.205410][ C3] print_usage_bug.part.0.cold+0xa9/0xb7 [ 835.205413][ C3] ? filter_irq_stacks+0xd0/0xd0 [ 835.205416][ C3] mark_lock_irq+0x4e3/0x9c0 [ 835.205418][ C3] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 835.205419][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 835.205421][ C3] ? save_trace+0x68/0x280 [ 835.205423][ C3] mark_lock+0x1d7/0xa00 [ 835.205425][ C3] mark_usage+0x42/0x170 [ 835.205427][ C3] __lock_acquire+0x378/0xc10 [ 835.205428][ C3] ? rcu_is_watching+0x15/0xd0 [ 835.205430][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 835.205434][ C3] lock_acquire.part.0+0xbc/0x260 [ 835.205435][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 835.205437][ C3] ? rcu_is_watching+0x15/0xd0 [ 835.205439][ C3] ? lock_acquire+0x134/0x160 [ 835.205440][ C3] _raw_spin_lock+0x33/0x40 [ 835.205442][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 835.205443][ C3] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 835.205445][ C3] tcf_action_rcu_free+0x74/0x1a0 [ 835.205446][ C3] ? rcu_do_batch+0x2b4/0x1020 [ 835.205448][ C3] rcu_do_batch+0x2b6/0x1020 [ 835.205451][ C3] ? trace_rcu_batch_end+0x330/0x330 [ 835.205453][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 835.205454][ C3] ? do_raw_spin_unlock+0x59/0x250 [ 835.205456][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 835.205457][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 835.205458][ C3] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 835.205459][ C3] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 835.205461][ C3] rcu_core+0x2bf/0x640 [ 835.205463][ C3] handle_softirqs+0x1d8/0x940 [ 835.205464][ C3] ? find_held_lock+0x2b/0x80 [ 835.205466][ C3] ? __lock_release.isra.0+0x6b/0x1a0 [ 835.205467][ C3] ? _local_bh_enable+0xd0/0xd0 [ 835.205469][ C3] __irq_exit_rcu+0x103/0x1c0 [ 835.205470][ C3] irq_exit_rcu+0xe/0x30 [ 835.205472][ C3] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 835.205473][ C3] [ 835.205474][ C3] [ 835.205474][ C3] ? rcu_is_watching+0x15/0xd0 [ 835.205476][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 835.205477][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 835.205479][ 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 [ 835.205481][ C3] RSP: 0018:ffa0000000167de8 EFLAGS: 00000296 [ 835.205483][ C3] RAX: 0000000001dad40b RBX: ff11000001c78040 RCX: ffffffffa46ea8a7 [ 835.205484][ C3] RDX: ff11000001c78040 RSI: ffffffffa7693d1a RDI: ffffffffa70727c0 [ 835.205485][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 835.205486][ C3] R10: 0000000000000003 R11: 0000000000000001 R12: 1ff400000002cfc0 [ 835.205487][ C3] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 835.205488][ C3] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 835.205492][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 835.205493][ C3] default_idle+0x9/0x10 [ 835.205495][ C3] default_idle_call+0x6e/0xb0 [ 835.205496][ C3] cpuidle_idle_call.constprop.0+0x237/0x410 [ 835.205497][ C3] ? arch_cpu_idle_exit+0x40/0x40 [ 835.205499][ C3] ? mark_tsc_async_resets+0x30/0x30 [ 835.205501][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 835.205503][ C3] ? rcu_is_watching+0x15/0xd0 [ 835.205505][ C3] do_idle+0xf5/0x160 [ 835.205506][ C3] cpu_startup_entry+0x53/0x70 [ 835.205508][ C3] start_secondary+0x204/0x2b0 [ 835.205509][ C3] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 835.205511][ C3] common_startup_64+0x13e/0x148 [ 835.205516][ C3]