[ 94.852716][ T1133] ip (1133) used greatest stack depth: 24040 bytes left [ 95.445322][ T1163] Mirror/redirect action on [ 98.706171][ C3] [ 98.706242][ C3] ================================ [ 98.706327][ C3] WARNING: inconsistent lock state [ 98.706412][ C3] 7.1.0-rc5-virtme #1 Not tainted [ 98.706490][ C3] -------------------------------- [ 98.706569][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 98.706670][ C3] ksoftirqd/3/33 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 98.706767][ C3] ffffffffc027b7b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 98.706929][ C3] {SOFTIRQ-ON-W} state was registered at: [ 98.707012][ C3] __lock_acquire+0x378/0xc10 [ 98.707105][ C3] lock_acquire.part.0+0xbc/0x260 [ 98.707184][ C3] _raw_spin_lock+0x33/0x40 [ 98.707272][ C3] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 98.707376][ C3] tcf_action_init_1+0x428/0x6b0 [ 98.707462][ C3] tcf_action_init+0x3cf/0x890 [ 98.707539][ C3] tcf_exts_validate_ex+0x411/0x670 [ 98.707623][ C3] fl_change+0xed4/0x4e77 [cls_flower] [ 98.707705][ C3] tc_new_tfilter+0x875/0x21e0 [ 98.707782][ C3] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 98.707860][ C3] netlink_rcv_skb+0x14e/0x3a0 [ 98.707944][ C3] netlink_unicast+0x486/0x750 [ 98.708019][ C3] netlink_sendmsg+0x735/0xc60 [ 98.708099][ C3] ____sys_sendmsg+0x419/0x850 [ 98.708178][ C3] ___sys_sendmsg+0x14e/0x1d0 [ 98.708260][ C3] __sys_sendmsg+0x145/0x1f0 [ 98.708337][ C3] do_syscall_64+0x117/0x590 [ 98.708417][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 98.708517][ C3] irq event stamp: 1314050 [ 98.708606][ C3] hardirqs last enabled at (1314050): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 98.708773][ C3] hardirqs last disabled at (1314049): [] _raw_spin_lock_irqsave+0x50/0x60 [ 98.708949][ C3] softirqs last enabled at (1312966): [] handle_softirqs+0x611/0x940 [ 98.709102][ C3] softirqs last disabled at (1312969): [] run_ksoftirqd+0x39/0x60 [ 98.709246][ C3] [ 98.709246][ C3] other info that might help us debug this: [ 98.709374][ C3] Possible unsafe locking scenario: [ 98.709374][ C3] [ 98.709501][ C3] CPU0 [ 98.709566][ C3] ---- [ 98.709630][ C3] lock(mirred_list_lock); [ 98.709719][ C3] [ 98.709785][ C3] lock(mirred_list_lock); [ 98.709867][ C3] [ 98.709867][ C3] *** DEADLOCK *** [ 98.709867][ C3] [ 98.709982][ C3] 1 lock held by ksoftirqd/3/33: [ 98.710070][ C3] #0: ffffffff9098bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 98.710215][ C3] [ 98.710215][ C3] stack backtrace: [ 98.710317][ C3] CPU: 3 UID: 0 PID: 33 Comm: ksoftirqd/3 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 98.710320][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 98.710322][ C3] Call Trace: [ 98.710324][ C3] [ 98.710325][ C3] dump_stack_lvl+0x6f/0xa0 [ 98.710330][ C3] print_usage_bug.part.0.cold+0xa9/0xb7 [ 98.710333][ C3] mark_lock_irq+0x4e3/0x9c0 [ 98.710335][ C3] ? kthread+0x367/0x460 [ 98.710338][ C3] ? save_trace+0x68/0x280 [ 98.710339][ C3] ? __lock_acquire+0x508/0xc10 [ 98.710341][ C3] mark_lock+0x1d7/0xa00 [ 98.710343][ C3] mark_usage+0x42/0x170 [ 98.710344][ C3] __lock_acquire+0x378/0xc10 [ 98.710346][ C3] ? rcu_is_watching+0x15/0xd0 [ 98.710349][ C3] lock_acquire.part.0+0xbc/0x260 [ 98.710350][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 98.710352][ C3] ? rcu_is_watching+0x15/0xd0 [ 98.710354][ C3] ? lock_acquire+0x134/0x160 [ 98.710356][ C3] _raw_spin_lock+0x33/0x40 [ 98.710357][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 98.710359][ C3] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 98.710360][ C3] tcf_action_rcu_free+0x74/0x1a0 [ 98.710362][ C3] ? rcu_do_batch+0x2b4/0x1020 [ 98.710364][ C3] rcu_do_batch+0x2b6/0x1020 [ 98.710366][ C3] ? rcu_start_this_gp+0x270/0x490 [ 98.710368][ C3] ? trace_rcu_batch_end+0x330/0x330 [ 98.710370][ C3] ? rcu_is_watching+0x15/0xd0 [ 98.710372][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 98.710375][ C3] ? trace_irq_disable.constprop.0+0x9b/0x180 [ 98.710377][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 98.710378][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 98.710380][ C3] rcu_core+0x2bf/0x640 [ 98.710382][ C3] handle_softirqs+0x1d8/0x940 [ 98.710384][ C3] ? _local_bh_enable+0xd0/0xd0 [ 98.710385][ C3] ? perf_trace_sched_switch+0x7d0/0x7d0 [ 98.710388][ C3] ? rcu_is_watching+0x15/0xd0 [ 98.710390][ C3] ? rcu_is_watching+0x15/0xd0 [ 98.710392][ C3] run_ksoftirqd+0x39/0x60 [ 98.710393][ C3] smpboot_thread_fn+0x2fb/0x9b0 [ 98.710396][ C3] ? sort_range+0x20/0x20 [ 98.710398][ C3] kthread+0x367/0x460 [ 98.710399][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 98.710401][ C3] ? kthread_affine_node+0x330/0x330 [ 98.710403][ C3] ret_from_fork+0x474/0x6b0 [ 98.710406][ C3] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 98.710408][ C3] ? __switch_to+0x5a3/0xe00 [ 98.710411][ C3] ? kthread_affine_node+0x330/0x330 [ 98.710413][ C3] ret_from_fork_asm+0x11/0x20 [ 98.710417][ C3]