[ 15.748081][ T283] GACT probability NOT on [ 15.759231][ T281] tc (281) used greatest stack depth: 24568 bytes left [ 18.278067][ T535] Mirror/redirect action on [ 18.414177][ C1] [ 18.414251][ C1] ================================ [ 18.414339][ C1] WARNING: inconsistent lock state [ 18.414425][ C1] 7.1.0-rc5-virtme #1 Not tainted [ 18.414514][ C1] -------------------------------- [ 18.414594][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 18.414699][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 18.414802][ C1] ffffffffc04d17b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 18.414974][ C1] {SOFTIRQ-ON-W} state was registered at: [ 18.415060][ C1] __lock_acquire+0x378/0xc10 [ 18.415148][ C1] lock_acquire.part.0+0xbc/0x260 [ 18.415235][ C1] _raw_spin_lock+0x33/0x40 [ 18.415323][ C1] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 18.415427][ C1] tcf_action_init_1+0x428/0x6b0 [ 18.415508][ C1] tcf_action_init+0x3cf/0x890 [ 18.415595][ C1] tcf_exts_validate_ex+0x411/0x670 [ 18.415679][ C1] fl_change+0xed4/0x4e77 [cls_flower] [ 18.415764][ C1] tc_new_tfilter+0x875/0x21e0 [ 18.415846][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 18.415931][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 18.416012][ C1] netlink_unicast+0x486/0x750 [ 18.416092][ C1] netlink_sendmsg+0x735/0xc60 [ 18.416177][ C1] ____sys_sendmsg+0x419/0x850 [ 18.416261][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 18.416342][ C1] __sys_sendmsg+0x145/0x1f0 [ 18.416422][ C1] do_syscall_64+0x117/0x590 [ 18.416504][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 18.416604][ C1] irq event stamp: 677732 [ 18.416666][ C1] hardirqs last enabled at (677732): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 18.416827][ C1] hardirqs last disabled at (677731): [] _raw_spin_lock_irqsave+0x50/0x60 [ 18.416997][ C1] softirqs last enabled at (677608): [] handle_softirqs+0x611/0x940 [ 18.417146][ C1] softirqs last disabled at (677625): [] __irq_exit_rcu+0x103/0x1c0 [ 18.417295][ C1] [ 18.417295][ C1] other info that might help us debug this: [ 18.417427][ C1] Possible unsafe locking scenario: [ 18.417427][ C1] [ 18.417545][ C1] CPU0 [ 18.417607][ C1] ---- [ 18.417668][ C1] lock(mirred_list_lock); [ 18.417749][ C1] [ 18.417815][ C1] lock(mirred_list_lock); [ 18.417896][ C1] [ 18.417896][ C1] *** DEADLOCK *** [ 18.417896][ C1] [ 18.418015][ C1] 1 lock held by swapper/1/0: [ 18.418097][ C1] #0: ffffffffb6777c00 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 18.418247][ C1] [ 18.418247][ C1] stack backtrace: [ 18.418348][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 18.418351][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.418353][ C1] Call Trace: [ 18.418354][ C1] [ 18.418356][ C1] dump_stack_lvl+0x6f/0xa0 [ 18.418360][ C1] print_usage_bug.part.0.cold+0xa9/0xb7 [ 18.418363][ C1] ? filter_irq_stacks+0xd0/0xd0 [ 18.418366][ C1] mark_lock_irq+0x4e3/0x9c0 [ 18.418368][ C1] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 18.418370][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.418372][ C1] ? save_trace+0x68/0x280 [ 18.418374][ C1] mark_lock+0x1d7/0xa00 [ 18.418376][ C1] mark_usage+0x42/0x170 [ 18.418377][ C1] __lock_acquire+0x378/0xc10 [ 18.418378][ C1] ? rcu_is_watching+0x15/0xd0 [ 18.418380][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 18.418384][ C1] lock_acquire.part.0+0xbc/0x260 [ 18.418385][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 18.418387][ C1] ? rcu_is_watching+0x15/0xd0 [ 18.418389][ C1] ? lock_acquire+0x134/0x160 [ 18.418391][ C1] _raw_spin_lock+0x33/0x40 [ 18.418392][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 18.418394][ C1] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 18.418395][ C1] tcf_action_rcu_free+0x74/0x1a0 [ 18.418397][ C1] ? rcu_do_batch+0x2b4/0x1020 [ 18.418398][ C1] rcu_do_batch+0x2b6/0x1020 [ 18.418401][ C1] ? trace_rcu_batch_end+0x330/0x330 [ 18.418403][ C1] ? rcu_is_watching+0x15/0xd0 [ 18.418405][ C1] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 18.418406][ C1] ? trace_irq_disable.constprop.0+0x9b/0x180 [ 18.418408][ C1] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 18.418409][ C1] ? lockdep_hardirqs_on+0x8c/0x130 [ 18.418411][ C1] rcu_core+0x2bf/0x640 [ 18.418412][ C1] handle_softirqs+0x1d8/0x940 [ 18.418414][ C1] ? find_held_lock+0x2b/0x80 [ 18.418417][ C1] ? __lock_release.isra.0+0x6b/0x1a0 [ 18.418418][ C1] ? _local_bh_enable+0xd0/0xd0 [ 18.418420][ C1] __irq_exit_rcu+0x103/0x1c0 [ 18.418421][ C1] irq_exit_rcu+0xe/0x30 [ 18.418423][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 18.418424][ C1] [ 18.418425][ C1] [ 18.418426][ C1] ? rcu_is_watching+0x15/0xd0 [ 18.418427][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.418429][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 18.418431][ 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 [ 18.418433][ C1] RSP: 0018:ffa0000000147de8 EFLAGS: 00000296 [ 18.418435][ C1] RAX: 00000000000a56f7 RBX: ff11000001bb2340 RCX: ffffffffb34d9667 [ 18.418436][ C1] RDX: ff11000001bb2340 RSI: ffffffffb6201bcb RDI: ffffffffb5c6f6c0 [ 18.418437][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 18.418438][ C1] R10: 0000000000000001 R11: 0000000000000001 R12: 1ff4000000028fc0 [ 18.418439][ C1] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 [ 18.418440][ C1] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 18.418443][ C1] ? lockdep_hardirqs_on+0x8c/0x130 [ 18.418445][ C1] default_idle+0x9/0x10 [ 18.418446][ C1] default_idle_call+0x6e/0xb0 [ 18.418448][ C1] cpuidle_idle_call.constprop.0+0x237/0x410 [ 18.418449][ C1] ? arch_cpu_idle_exit+0x40/0x40 [ 18.418451][ C1] ? mark_tsc_async_resets+0x30/0x30 [ 18.418453][ C1] ? rcu_is_watching+0x15/0xd0 [ 18.418455][ C1] do_idle+0xf5/0x160 [ 18.418457][ C1] cpu_startup_entry+0x53/0x70 [ 18.418458][ C1] start_secondary+0x204/0x2b0 [ 18.418460][ C1] ? set_cpu_sibling_map+0x1fb0/0x1fb0 [ 18.418462][ C1] common_startup_64+0x13e/0x148 [ 18.418466][ C1] [ 24.928455][ C0] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:623 [ 24.928629][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 [ 24.928758][ C0] preempt_count: 100, expected: 0 [ 24.928831][ C0] RCU nest depth: 0, expected: 0 [ 24.928906][ C0] INFO: lockdep is turned off. [ 24.928978][ C0] Preemption disabled at: [ 24.928979][ C0] [] handle_softirqs+0xf7/0x940 [ 24.929136][ C0] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 24.929139][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.929141][ C0] Call Trace: [ 24.929142][ C0] [ 24.929144][ C0] dump_stack_lvl+0x6f/0xa0 [ 24.929150][ C0] ? handle_softirqs+0xf7/0x940 [ 24.929151][ C0] __might_resched.cold+0x20d/0x2d6 [ 24.929155][ C0] ? perf_trace_sched_switch+0x7d0/0x7d0 [ 24.929159][ C0] __mutex_lock+0x118/0x2010 [ 24.929163][ C0] ? __tcf_chain_put+0x5f/0xb20 [ 24.929166][ C0] ? ww_mutex_lock+0x160/0x160 [ 24.929169][ C0] ? rcu_is_watching+0x15/0xd0 [ 24.929173][ C0] ? __tcf_chain_put+0x5f/0xb20 [ 24.929174][ C0] __tcf_chain_put+0x5f/0xb20 [ 24.929176][ C0] ? free_percpu.part.0+0x5f7/0xc80 [ 24.929179][ C0] tcf_action_rcu_free+0x14f/0x1a0 [ 24.929181][ C0] ? rcu_do_batch+0x2b4/0x1020 [ 24.929183][ C0] rcu_do_batch+0x2b6/0x1020 [ 24.929185][ C0] ? rcu_is_watching+0x15/0xd0 [ 24.929187][ C0] ? trace_rcu_batch_end+0x330/0x330 [ 24.929189][ C0] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 24.929192][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 24.929200][ C0] ? trace_hardirqs_on+0x36/0x40 [ 24.929202][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 24.929204][ C0] rcu_core+0x2bf/0x640 [ 24.929206][ C0] handle_softirqs+0x1d8/0x940 [ 24.929208][ C0] ? _local_bh_enable+0xd0/0xd0 [ 24.929209][ C0] ? rcu_is_watching+0x15/0xd0 [ 24.929211][ C0] ? rcu_is_watching+0x15/0xd0 [ 24.929212][ C0] run_ksoftirqd+0x39/0x60 [ 24.929214][ C0] smpboot_thread_fn+0x2fb/0x9b0 [ 24.929217][ C0] ? sort_range+0x20/0x20 [ 24.929218][ C0] kthread+0x367/0x460 [ 24.929220][ C0] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 24.929222][ C0] ? kthread_affine_node+0x330/0x330 [ 24.929224][ C0] ret_from_fork+0x474/0x6b0 [ 24.929226][ C0] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 24.929228][ C0] ? __switch_to+0x5a3/0xe00 [ 24.929231][ C0] ? kthread_affine_node+0x330/0x330 [ 24.929232][ C0] ret_from_fork_asm+0x11/0x20 [ 24.929236][ C0]