[ 15.489086][ T284] GACT probability NOT on [ 18.027462][ T521] Mirror/redirect action on [ 18.036999][ T520] tc (520) used greatest stack depth: 23528 bytes left [ 18.168570][ C1] [ 18.168642][ C1] ================================ [ 18.168725][ C1] WARNING: inconsistent lock state [ 18.168805][ C1] 7.1.0-rc5-virtme #1 Not tainted [ 18.168883][ C1] -------------------------------- [ 18.168968][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 18.169071][ C1] ksoftirqd/1/23 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 18.169166][ C1] ffffffffc03837b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 18.169342][ C1] {SOFTIRQ-ON-W} state was registered at: [ 18.169433][ C1] __lock_acquire+0x378/0xc10 [ 18.169525][ C1] lock_acquire.part.0+0xbc/0x260 [ 18.169603][ C1] _raw_spin_lock+0x33/0x40 [ 18.169685][ C1] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 18.169785][ C1] tcf_action_init_1+0x428/0x6b0 [ 18.169862][ C1] tcf_action_init+0x3cf/0x890 [ 18.169950][ C1] tcf_exts_validate_ex+0x411/0x670 [ 18.170027][ C1] fl_change+0xed4/0x4e77 [cls_flower] [ 18.170107][ C1] tc_new_tfilter+0x875/0x21e0 [ 18.170184][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 18.170262][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 18.170341][ C1] netlink_unicast+0x486/0x750 [ 18.170417][ C1] netlink_sendmsg+0x735/0xc60 [ 18.170497][ C1] ____sys_sendmsg+0x419/0x850 [ 18.170584][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 18.170661][ C1] __sys_sendmsg+0x145/0x1f0 [ 18.170737][ C1] do_syscall_64+0x117/0x590 [ 18.170815][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.170915][ C1] irq event stamp: 1177526 [ 18.170993][ C1] hardirqs last enabled at (1177526): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 18.171144][ C1] hardirqs last disabled at (1177525): [] _raw_spin_lock_irqsave+0x50/0x60 [ 18.171298][ C1] softirqs last enabled at (1177452): [] handle_softirqs+0x611/0x940 [ 18.171432][ C1] softirqs last disabled at (1177457): [] run_ksoftirqd+0x39/0x60 [ 18.171563][ C1] [ 18.171563][ C1] other info that might help us debug this: [ 18.171675][ C1] Possible unsafe locking scenario: [ 18.171675][ C1] [ 18.171790][ C1] CPU0 [ 18.171848][ C1] ---- [ 18.171905][ C1] lock(mirred_list_lock); [ 18.171996][ C1] [ 18.172053][ C1] lock(mirred_list_lock); [ 18.172130][ C1] [ 18.172130][ C1] *** DEADLOCK *** [ 18.172130][ C1] [ 18.172250][ C1] 1 lock held by ksoftirqd/1/23: [ 18.172328][ C1] #0: ffffffffba777c00 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 18.172467][ C1] [ 18.172467][ C1] stack backtrace: [ 18.172563][ C1] CPU: 1 UID: 0 PID: 23 Comm: ksoftirqd/1 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 18.172566][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.172568][ C1] Call Trace: [ 18.172569][ C1] [ 18.172571][ C1] dump_stack_lvl+0x6f/0xa0 [ 18.172576][ C1] print_usage_bug.part.0.cold+0xa9/0xb7 [ 18.172579][ C1] mark_lock_irq+0x4e3/0x9c0 [ 18.172580][ C1] ? kthread+0x367/0x460 [ 18.172583][ C1] ? save_trace+0x68/0x280 [ 18.172584][ C1] ? __lock_acquire+0x508/0xc10 [ 18.172586][ C1] mark_lock+0x1d7/0xa00 [ 18.172588][ C1] mark_usage+0x42/0x170 [ 18.172589][ C1] __lock_acquire+0x378/0xc10 [ 18.172591][ C1] ? rcu_is_watching+0x15/0xd0 [ 18.172594][ C1] lock_acquire.part.0+0xbc/0x260 [ 18.172595][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 18.172597][ C1] ? rcu_is_watching+0x15/0xd0 [ 18.172598][ C1] ? lock_acquire+0x134/0x160 [ 18.172600][ C1] _raw_spin_lock+0x33/0x40 [ 18.172602][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 18.172603][ C1] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 18.172605][ C1] tcf_action_rcu_free+0x74/0x1a0 [ 18.172606][ C1] ? rcu_do_batch+0x2b4/0x1020 [ 18.172608][ C1] rcu_do_batch+0x2b6/0x1020 [ 18.172610][ C1] ? rcu_start_this_gp+0x270/0x490 [ 18.172612][ C1] ? trace_rcu_batch_end+0x330/0x330 [ 18.172614][ C1] ? rcu_is_watching+0x15/0xd0 [ 18.172616][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 18.172619][ C1] rcu_core+0x2bf/0x640 [ 18.172621][ C1] handle_softirqs+0x1d8/0x940 [ 18.172623][ C1] ? find_held_lock+0x2b/0x80 [ 18.172626][ C1] ? _local_bh_enable+0xd0/0xd0 [ 18.172627][ C1] ? rcu_is_watching+0x15/0xd0 [ 18.172629][ C1] run_ksoftirqd+0x39/0x60 [ 18.172630][ C1] smpboot_thread_fn+0x2fb/0x9b0 [ 18.172633][ C1] ? sort_range+0x20/0x20 [ 18.172634][ C1] kthread+0x367/0x460 [ 18.172636][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 18.172637][ C1] ? kthread_affine_node+0x330/0x330 [ 18.172639][ C1] ret_from_fork+0x474/0x6b0 [ 18.172642][ C1] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 18.172644][ C1] ? __switch_to+0x5a3/0xe00 [ 18.172646][ C1] ? kthread_affine_node+0x330/0x330 [ 18.172648][ C1] ret_from_fork_asm+0x11/0x20 [ 18.172651][ C1] [ 24.741485][ C1] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:623 [ 24.741668][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 24.741805][ C1] preempt_count: 101, expected: 0 [ 24.741886][ C1] RCU nest depth: 0, expected: 0 [ 24.741974][ C1] INFO: lockdep is turned off. [ 24.742051][ C1] Preemption disabled at: [ 24.742052][ C1] [<0000000000000000>] 0x0 [ 24.742203][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 24.742206][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.742208][ C1] Call Trace: [ 24.742209][ C1] [ 24.742211][ C1] dump_stack_lvl+0x6f/0xa0 [ 24.742218][ C1] __might_resched.cold+0x20d/0x2d6 [ 24.742222][ C1] ? default_idle_call+0x6e/0xb0 [ 24.742226][ C1] ? perf_trace_sched_switch+0x7d0/0x7d0 [ 24.742230][ C1] ? start_secondary+0x204/0x2b0 [ 24.742234][ C1] __mutex_lock+0x118/0x2010 [ 24.742236][ C1] ? __tcf_chain_put+0x5f/0xb20 [ 24.742240][ C1] ? ww_mutex_lock+0x160/0x160 [ 24.742243][ C1] ? __tcf_chain_put+0x5f/0xb20 [ 24.742245][ C1] __tcf_chain_put+0x5f/0xb20 [ 24.742246][ C1] ? free_percpu.part.0+0x5f7/0xc80 [ 24.742250][ C1] tcf_action_rcu_free+0x14f/0x1a0 [ 24.742252][ C1] ? rcu_do_batch+0x2b4/0x1020 [ 24.742255][ C1] rcu_do_batch+0x2b6/0x1020 [ 24.742258][ C1] ? trace_rcu_batch_end+0x330/0x330 [ 24.742260][ C1] ? rcu_is_watching+0x15/0xd0 [ 24.742261][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 24.742265][ C1] ? trace_irq_disable.constprop.0+0x9b/0x180 [ 24.742267][ C1] rcu_core+0x2bf/0x640 [ 24.742269][ C1] handle_softirqs+0x1d8/0x940 [ 24.742271][ C1] ? clockevents_tick_resume+0x60/0x60 [ 24.742274][ C1] ? _local_bh_enable+0xd0/0xd0 [ 24.742275][ C1] ? rcu_is_watching+0x15/0xd0 [ 24.742277][ C1] ? lock_release+0x17c/0x1f0 [ 24.742280][ C1] __irq_exit_rcu+0x103/0x1c0 [ 24.742281][ C1] irq_exit_rcu+0xe/0x30 [ 24.742282][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 24.742284][ C1] [ 24.742285][ C1] [ 24.742286][ C1] ? rcu_is_watching+0x15/0xd0 [ 24.742287][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.742289][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 24.742292][ C1] Code: 48 8b 3d 44 d3 00 02 e8 1f 00 00 00 48 2b 05 c8 71 a3 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 43 f4 22 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 24.742294][ C1] RSP: 0018:ffa0000000147de8 EFLAGS: 00000246 [ 24.742297][ C1] RAX: 0000000000000001 RBX: ff11000001bb2340 RCX: 0000000000000001 [ 24.742298][ C1] RDX: 0000000000000001 RSI: ffffffffb9c6f640 RDI: ffffffffb74d9667 [ 24.742299][ C1] RBP: 0000000000000000 R08: ffffffffb98694f1 R09: 1fe2200006a5639a [ 24.742300][ C1] R10: 0000000000000001 R11: 0000000000000000 R12: 1ff4000000028fc0 [ 24.742301][ C1] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 24.742302][ C1] ? ct_kernel_exit.constprop.0+0x101/0x160 [ 24.742304][ C1] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.742307][ C1] default_idle+0x9/0x10 [ 24.742309][ C1] default_idle_call+0x6e/0xb0 [ 24.742310][ C1] cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.742312][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 24.742313][ C1] ? mark_tsc_async_resets+0x30/0x30 [ 24.742315][ C1] ? rcu_is_watching+0x15/0xd0 [ 24.742316][ C1] do_idle+0xf5/0x160 [ 24.742318][ C1] cpu_startup_entry+0x53/0x70 [ 24.742319][ C1] start_secondary+0x204/0x2b0 [ 24.742321][ C1] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 24.742323][ C1] common_startup_64+0x13e/0x148 [ 24.742327][ C1]