[ 15.115583][ T281] GACT probability NOT on [ 17.599150][ T530] Mirror/redirect action on [ 17.737395][ C1] [ 17.737470][ C1] ================================ [ 17.737555][ C1] WARNING: inconsistent lock state [ 17.737636][ C1] 7.1.0-rc5-virtme #1 Not tainted [ 17.737728][ C1] -------------------------------- [ 17.737809][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.737908][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.738018][ C1] ffffffffc03787b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 17.738186][ C1] {SOFTIRQ-ON-W} state was registered at: [ 17.738268][ C1] __lock_acquire+0x378/0xc10 [ 17.738360][ C1] lock_acquire.part.0+0xbc/0x260 [ 17.738442][ C1] _raw_spin_lock+0x33/0x40 [ 17.738525][ C1] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 17.738630][ C1] tcf_action_init_1+0x428/0x6b0 [ 17.738720][ C1] tcf_action_init+0x3cf/0x890 [ 17.738809][ C1] tcf_exts_validate_ex+0x411/0x670 [ 17.738893][ C1] fl_change+0xed4/0x4e77 [cls_flower] [ 17.738975][ C1] tc_new_tfilter+0x875/0x21e0 [ 17.739055][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 17.739143][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 17.739226][ C1] netlink_unicast+0x486/0x750 [ 17.739307][ C1] netlink_sendmsg+0x735/0xc60 [ 17.739386][ C1] ____sys_sendmsg+0x419/0x850 [ 17.739473][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 17.739553][ C1] __sys_sendmsg+0x145/0x1f0 [ 17.739639][ C1] do_syscall_64+0x117/0x590 [ 17.739725][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.739825][ C1] irq event stamp: 657674 [ 17.739888][ C1] hardirqs last enabled at (657674): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 17.740048][ C1] hardirqs last disabled at (657673): [] _raw_spin_lock_irqsave+0x50/0x60 [ 17.740214][ C1] softirqs last enabled at (657440): [] handle_softirqs+0x611/0x940 [ 17.740357][ C1] softirqs last disabled at (657567): [] __irq_exit_rcu+0x103/0x1c0 [ 17.740499][ C1] [ 17.740499][ C1] other info that might help us debug this: [ 17.740617][ C1] Possible unsafe locking scenario: [ 17.740617][ C1] [ 17.740758][ C1] CPU0 [ 17.740823][ C1] ---- [ 17.740884][ C1] lock(mirred_list_lock); [ 17.740965][ C1] [ 17.741026][ C1] lock(mirred_list_lock); [ 17.741107][ C1] [ 17.741107][ C1] *** DEADLOCK *** [ 17.741107][ C1] [ 17.741225][ C1] 1 lock held by swapper/1/0: [ 17.741306][ C1] #0: ffffffffb2f77c00 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 17.741452][ C1] [ 17.741452][ C1] stack backtrace: [ 17.741558][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 17.741561][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.741563][ C1] Call Trace: [ 17.741564][ C1] [ 17.741566][ C1] dump_stack_lvl+0x6f/0xa0 [ 17.741571][ C1] print_usage_bug.part.0.cold+0xa9/0xb7 [ 17.741573][ C1] ? filter_irq_stacks+0xd0/0xd0 [ 17.741577][ C1] mark_lock_irq+0x4e3/0x9c0 [ 17.741578][ C1] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 17.741580][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.741583][ C1] ? save_trace+0x68/0x280 [ 17.741584][ C1] mark_lock+0x1d7/0xa00 [ 17.741586][ C1] mark_usage+0x42/0x170 [ 17.741587][ C1] __lock_acquire+0x378/0xc10 [ 17.741589][ C1] ? rcu_is_watching+0x15/0xd0 [ 17.741591][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 17.741594][ C1] lock_acquire.part.0+0xbc/0x260 [ 17.741596][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 17.741598][ C1] ? rcu_is_watching+0x15/0xd0 [ 17.741599][ C1] ? lock_acquire+0x134/0x160 [ 17.741601][ C1] _raw_spin_lock+0x33/0x40 [ 17.741603][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 17.741604][ C1] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 17.741606][ C1] tcf_action_rcu_free+0x74/0x1a0 [ 17.741607][ C1] ? rcu_do_batch+0x2b4/0x1020 [ 17.741609][ C1] rcu_do_batch+0x2b6/0x1020 [ 17.741612][ C1] ? trace_rcu_batch_end+0x330/0x330 [ 17.741614][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 17.741615][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 17.741617][ C1] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 17.741618][ C1] ? lockdep_hardirqs_on+0x8c/0x130 [ 17.741619][ C1] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 17.741621][ C1] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 17.741623][ C1] rcu_core+0x2bf/0x640 [ 17.741625][ C1] handle_softirqs+0x1d8/0x940 [ 17.741626][ C1] ? find_held_lock+0x2b/0x80 [ 17.741629][ C1] ? __lock_release.isra.0+0x6b/0x1a0 [ 17.741630][ C1] ? _local_bh_enable+0xd0/0xd0 [ 17.741632][ C1] __irq_exit_rcu+0x103/0x1c0 [ 17.741633][ C1] irq_exit_rcu+0xe/0x30 [ 17.741635][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 17.741637][ C1] [ 17.741637][ C1] [ 17.741638][ C1] ? rcu_is_watching+0x15/0xd0 [ 17.741639][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.741641][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 17.741643][ 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 [ 17.741645][ C1] RSP: 0018:ffa0000000147de8 EFLAGS: 00000296 [ 17.741647][ C1] RAX: 00000000000a089d RBX: ff11000001bb2340 RCX: ffffffffafcd9667 [ 17.741648][ C1] RDX: ff11000001bb2340 RSI: ffffffffb2a01bcb RDI: ffffffffb246f6c0 [ 17.741649][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 17.741650][ C1] R10: 0000000000000001 R11: 0000000000000001 R12: 1ff4000000028fc0 [ 17.741651][ C1] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 17.741652][ C1] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 17.741655][ C1] ? lockdep_hardirqs_on+0x8c/0x130 [ 17.741657][ C1] default_idle+0x9/0x10 [ 17.741659][ C1] default_idle_call+0x6e/0xb0 [ 17.741660][ C1] cpuidle_idle_call.constprop.0+0x237/0x410 [ 17.741662][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 17.741663][ C1] ? mark_tsc_async_resets+0x30/0x30 [ 17.741666][ C1] ? rcu_is_watching+0x15/0xd0 [ 17.741667][ C1] do_idle+0xf5/0x160 [ 17.741669][ C1] cpu_startup_entry+0x53/0x70 [ 17.741670][ C1] start_secondary+0x204/0x2b0 [ 17.741672][ C1] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 17.741674][ C1] common_startup_64+0x13e/0x148 [ 17.741678][ C1] [ 24.209377][ C1] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:623 [ 24.209593][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 24.209744][ C1] preempt_count: 101, expected: 0 [ 24.209823][ C1] RCU nest depth: 0, expected: 0 [ 24.209899][ C1] INFO: lockdep is turned off. [ 24.209973][ C1] Preemption disabled at: [ 24.209974][ C1] [<0000000000000000>] 0x0 [ 24.210112][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 24.210115][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.210117][ C1] Call Trace: [ 24.210119][ C1] [ 24.210120][ C1] dump_stack_lvl+0x6f/0xa0 [ 24.210128][ C1] __might_resched.cold+0x20d/0x2d6 [ 24.210131][ C1] ? default_idle_call+0x6e/0xb0 [ 24.210136][ C1] ? perf_trace_sched_switch+0x7d0/0x7d0 [ 24.210140][ C1] ? start_secondary+0x204/0x2b0 [ 24.210143][ C1] __mutex_lock+0x118/0x2010 [ 24.210145][ C1] ? __tcf_chain_put+0x5f/0xb20 [ 24.210149][ C1] ? ww_mutex_lock+0x160/0x160 [ 24.210152][ C1] ? __tcf_chain_put+0x5f/0xb20 [ 24.210154][ C1] __tcf_chain_put+0x5f/0xb20 [ 24.210155][ C1] ? free_percpu.part.0+0x5f7/0xc80 [ 24.210159][ C1] tcf_action_rcu_free+0x14f/0x1a0 [ 24.210161][ C1] ? rcu_do_batch+0x2b4/0x1020 [ 24.210164][ C1] rcu_do_batch+0x2b6/0x1020 [ 24.210166][ C1] ? trace_rcu_batch_end+0x330/0x330 [ 24.210168][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 24.210171][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 24.210173][ C1] ? trace_hardirqs_on+0x36/0x40 [ 24.210175][ C1] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 24.210177][ C1] rcu_core+0x2bf/0x640 [ 24.210179][ C1] handle_softirqs+0x1d8/0x940 [ 24.210181][ C1] ? clockevents_tick_resume+0x60/0x60 [ 24.210184][ C1] ? _local_bh_enable+0xd0/0xd0 [ 24.210185][ C1] ? rcu_is_watching+0x15/0xd0 [ 24.210187][ C1] ? lock_release+0x17c/0x1f0 [ 24.210189][ C1] __irq_exit_rcu+0x103/0x1c0 [ 24.210190][ C1] irq_exit_rcu+0xe/0x30 [ 24.210192][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 24.210194][ C1] [ 24.210194][ C1] [ 24.210195][ C1] ? rcu_is_watching+0x15/0xd0 [ 24.210197][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.210199][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 24.210201][ 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.210203][ C1] RSP: 0018:ffa0000000147de8 EFLAGS: 00000246 [ 24.210206][ C1] RAX: 0000000000000001 RBX: ff11000001bb2340 RCX: 0000000000000001 [ 24.210207][ C1] RDX: 0000000000000001 RSI: ffffffffb246f640 RDI: ffffffffafcd9667 [ 24.210208][ C1] RBP: 0000000000000000 R08: ffffffffb20694f1 R09: 1fe2200006a5639a [ 24.210209][ C1] R10: 0000000000000001 R11: 0000000000000000 R12: 1ff4000000028fc0 [ 24.210209][ C1] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 24.210211][ C1] ? ct_kernel_exit.constprop.0+0x101/0x160 [ 24.210213][ C1] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.210216][ C1] default_idle+0x9/0x10 [ 24.210218][ C1] default_idle_call+0x6e/0xb0 [ 24.210219][ C1] cpuidle_idle_call.constprop.0+0x237/0x410 [ 24.210221][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 24.210222][ C1] ? mark_tsc_async_resets+0x30/0x30 [ 24.210224][ C1] ? rcu_is_watching+0x15/0xd0 [ 24.210225][ C1] do_idle+0xf5/0x160 [ 24.210227][ C1] cpu_startup_entry+0x53/0x70 [ 24.210228][ C1] start_secondary+0x204/0x2b0 [ 24.210230][ C1] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 24.210232][ C1] common_startup_64+0x13e/0x148 [ 24.210236][ C1]