[ 298.157011][ T3454] Mirror/redirect action on [ 318.845137][ C1] [ 318.845241][ C1] ================================ [ 318.845348][ C1] WARNING: inconsistent lock state [ 318.845452][ C1] 7.1.0-rc5-virtme #1 Not tainted [ 318.845556][ C1] -------------------------------- [ 318.845658][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 318.845782][ C1] tc/3543 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 318.845888][ C1] ffffffffc066f7b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 318.846103][ C1] {SOFTIRQ-ON-W} state was registered at: [ 318.846209][ C1] __lock_acquire+0x378/0xc10 [ 318.846316][ C1] lock_acquire.part.0+0xbc/0x260 [ 318.846423][ C1] _raw_spin_lock+0x33/0x40 [ 318.846527][ C1] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 318.846654][ C1] tcf_action_init_1+0x428/0x6b0 [ 318.846755][ C1] tcf_action_init+0x3cf/0x890 [ 318.846855][ C1] tcf_exts_validate_ex+0x411/0x670 [ 318.846958][ C1] fl_change+0xed4/0x4e77 [cls_flower] [ 318.847058][ C1] tc_new_tfilter+0x875/0x21e0 [ 318.847157][ C1] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 318.847263][ C1] netlink_rcv_skb+0x14e/0x3a0 [ 318.847363][ C1] netlink_unicast+0x486/0x750 [ 318.847462][ C1] netlink_sendmsg+0x735/0xc60 [ 318.847560][ C1] ____sys_sendmsg+0x419/0x850 [ 318.847663][ C1] ___sys_sendmsg+0x14e/0x1d0 [ 318.847768][ C1] __sys_sendmsg+0x145/0x1f0 [ 318.847868][ C1] do_syscall_64+0x117/0x590 [ 318.847973][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 318.848095][ C1] irq event stamp: 9218 [ 318.848171][ C1] hardirqs last enabled at (9218): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 318.848369][ C1] hardirqs last disabled at (9217): [] _raw_spin_lock_irqsave+0x50/0x60 [ 318.848542][ C1] softirqs last enabled at (8506): [] handle_softirqs+0x611/0x940 [ 318.848715][ C1] softirqs last disabled at (9079): [] __irq_exit_rcu+0x103/0x1c0 [ 318.848897][ C1] [ 318.848897][ C1] other info that might help us debug this: [ 318.849047][ C1] Possible unsafe locking scenario: [ 318.849047][ C1] [ 318.849199][ C1] CPU0 [ 318.849274][ C1] ---- [ 318.849348][ C1] lock(mirred_list_lock); [ 318.849447][ C1] [ 318.849521][ C1] lock(mirred_list_lock); [ 318.849624][ C1] [ 318.849624][ C1] *** DEADLOCK *** [ 318.849624][ C1] [ 318.849777][ C1] 2 locks held by tc/3543: [ 318.849877][ C1] #0: ffffffffb7377d20 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x17e/0x1ea0 [ 318.850058][ C1] #1: ffffffffb7377c00 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 318.850240][ C1] [ 318.850240][ C1] stack backtrace: [ 318.850364][ C1] CPU: 1 UID: 0 PID: 3543 Comm: tc Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 318.850367][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 318.850369][ C1] Call Trace: [ 318.850370][ C1] [ 318.850372][ C1] dump_stack_lvl+0x6f/0xa0 [ 318.850377][ C1] print_usage_bug.part.0.cold+0xa9/0xb7 [ 318.850380][ C1] ? filter_irq_stacks+0xd0/0xd0 [ 318.850383][ C1] mark_lock_irq+0x4e3/0x9c0 [ 318.850385][ C1] ? sysvec_apic_timer_interrupt+0x9d/0xe0 [ 318.850387][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 318.850389][ C1] ? save_trace+0x68/0x280 [ 318.850390][ C1] ? fuse_dax_inode_init+0x130/0x2a0 [ 318.850395][ C1] mark_lock+0x1d7/0xa00 [ 318.850396][ C1] mark_usage+0x42/0x170 [ 318.850398][ C1] __lock_acquire+0x378/0xc10 [ 318.850399][ C1] ? rcu_is_watching+0x15/0xd0 [ 318.850401][ C1] ? rcu_do_batch+0x2b4/0x1020 [ 318.850404][ C1] lock_acquire.part.0+0xbc/0x260 [ 318.850405][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 318.850407][ C1] ? rcu_is_watching+0x15/0xd0 [ 318.850409][ C1] ? lock_acquire+0x134/0x160 [ 318.850411][ C1] _raw_spin_lock+0x33/0x40 [ 318.850412][ C1] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 318.850414][ C1] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 318.850415][ C1] tcf_action_rcu_free+0x74/0x1a0 [ 318.850417][ C1] ? rcu_do_batch+0x2b4/0x1020 [ 318.850419][ C1] rcu_do_batch+0x2b6/0x1020 [ 318.850421][ C1] ? rcu_is_watching+0x15/0xd0 [ 318.850423][ C1] ? sched_balance_softirq+0x260/0x320 [ 318.850425][ C1] ? trace_rcu_batch_end+0x330/0x330 [ 318.850427][ C1] ? sched_balance_domains+0xcd0/0xcd0 [ 318.850429][ C1] ? rcu_is_watching+0x15/0xd0 [ 318.850431][ C1] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 318.850432][ C1] ? lockdep_hardirqs_on+0x8c/0x130 [ 318.850434][ C1] rcu_core+0x2bf/0x640 [ 318.850436][ C1] handle_softirqs+0x1d8/0x940 [ 318.850437][ C1] ? find_held_lock+0x2b/0x80 [ 318.850440][ C1] ? __lock_release.isra.0+0x6b/0x1a0 [ 318.850442][ C1] ? _local_bh_enable+0xd0/0xd0 [ 318.850444][ C1] __irq_exit_rcu+0x103/0x1c0 [ 318.850445][ C1] irq_exit_rcu+0xe/0x30 [ 318.850447][ C1] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 318.850449][ C1] [ 318.850449][ C1] [ 318.850450][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 318.850452][ C1] RIP: 0010:lock_acquire.part.0+0xfa/0x260 [ 318.850454][ C1] Code: ff 65 0f c1 05 37 d9 33 04 83 f8 01 4c 8b 14 24 0f 85 30 01 00 00 9c 58 f6 c4 02 0f 85 4d 01 00 00 4d 85 d2 0f 85 16 01 00 00 <48> 8b 44 24 30 65 48 2b 05 a9 92 33 04 0f 85 43 01 00 00 48 83 c4 [ 318.850456][ C1] RSP: 0018:ffa0000000707580 EFLAGS: 00000206 [ 318.850458][ C1] RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0ac0d5affe09d4ff [ 318.850460][ C1] RDX: 0000000000000001 RSI: ffffffffb6debde8 RDI: ffffffffb686f6c0 [ 318.850461][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ff1100001747ae30 [ 318.850461][ C1] R10: 0000000000000200 R11: 0000000000000001 R12: ffffffffb7377d20 [ 318.850462][ C1] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 [ 318.850464][ C1] ? rcu_is_watching+0x15/0xd0 [ 318.850466][ C1] ? mark_usage+0x61/0x170 [ 318.850467][ C1] ? lock_acquire+0x134/0x160 [ 318.850469][ C1] unwind_next_frame+0x192/0x1ea0 [ 318.850470][ C1] ? unwind_next_frame+0x17e/0x1ea0 [ 318.850472][ C1] ? arch_stack_walk+0xb3/0x130 [ 318.850476][ C1] ? stack_access_ok+0x1e0/0x1e0 [ 318.850477][ C1] ? lock_acquire.part.0+0xbc/0x260 [ 318.850478][ C1] ? mark_usage+0x61/0x170 [ 318.850479][ C1] ? __lock_release.isra.0+0x6b/0x1a0 [ 318.850481][ C1] ? __lock_acquire+0x508/0xc10 [ 318.850482][ C1] ? get_stack_info_noinstr+0x1a/0x120 [ 318.850484][ C1] __unwind_start+0x432/0x910 [ 318.850486][ C1] ? write_profile+0xf0/0xf0 [ 318.850488][ C1] arch_stack_walk+0xb3/0x130 [ 318.850490][ C1] ? arch_stack_walk+0xb3/0x130 [ 318.850492][ C1] ? copy_args_to_argbuf+0xc1/0x2c0 [ 318.850494][ C1] stack_trace_save+0x93/0xc0 [ 318.850496][ C1] ? filter_irq_stacks+0xd0/0xd0 [ 318.850498][ C1] ? __lock_release.isra.0+0x6b/0x1a0 [ 318.850499][ C1] ? check_object+0xc4/0x340 [ 318.850503][ C1] ? rcu_is_watching+0x15/0xd0 [ 318.850505][ C1] set_track_prepare+0x62/0x90 [ 318.850508][ C1] ___slab_alloc+0xcb/0x300 [ 318.850510][ C1] ? copy_args_to_argbuf+0x13a/0x2c0 [ 318.850512][ C1] ? copy_args_to_argbuf+0x13a/0x2c0 [ 318.850514][ C1] ? copy_args_to_argbuf+0x13a/0x2c0 [ 318.850515][ C1] __kmalloc_noprof+0x3ad/0x760 [ 318.850518][ C1] copy_args_to_argbuf+0x13a/0x2c0 [ 318.850519][ C1] ? write_profile+0xf0/0xf0 [ 318.850522][ C1] virtio_fs_enqueue_req+0x3db/0xfa0 [ 318.850524][ C1] ? rcu_read_lock_any_held+0x3c/0x90 [ 318.850526][ C1] ? validate_chain+0x38b/0xc20 [ 318.850527][ C1] ? virtio_fs_probe+0x310/0x310 [ 318.850529][ C1] ? rcu_lockdep_current_cpu_online+0x39/0x1b0 [ 318.850533][ C1] ? __rwlock_init+0x150/0x150 [ 318.850535][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 318.850537][ C1] virtio_fs_send_req+0xf6/0x480 [ 318.850539][ C1] ? fuse_request_alloc+0x120/0x210 [ 318.850542][ C1] __fuse_simple_request+0x227/0xbb0 [ 318.850544][ C1] fuse_flush+0x485/0x660 [ 318.850547][ C1] ? fuse_release+0x230/0x230 [ 318.850548][ C1] ? ovl_verify_lowerdata+0xda/0x6e0 [ 318.850550][ C1] ? rcu_lockdep_current_cpu_online+0x39/0x1b0 [ 318.850552][ C1] ? validate_chain+0x38b/0xc20 [ 318.850554][ C1] ? ovl_path_next+0x750/0x750 [ 318.850557][ C1] ? ovl_real_file+0x172/0x1e0 [ 318.850559][ C1] ? find_held_lock+0x2b/0x80 [ 318.850561][ C1] ? ovl_fsync+0x2f0/0x2f0 [ 318.850563][ C1] ovl_flush+0x122/0x230 [ 318.850565][ C1] filp_flush+0xbc/0x140 [ 318.850568][ C1] __x64_sys_close+0x81/0xf0 [ 318.850570][ C1] do_syscall_64+0x117/0x590 [ 318.850572][ C1] ? trace_hardirqs_off+0xd/0x30 [ 318.850575][ C1] ? exc_page_fault+0xee/0x100 [ 318.850577][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 318.850578][ C1] RIP: 0033:0x7f0a1d27d4cb [ 318.850581][ C1] Code: 0f 1e fa 48 89 f2 31 c9 48 89 fe bf 9c ff ff ff e9 0a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 f7 d8 89 05 c0 4d 01 00 b8 [ 318.850582][ C1] RSP: 002b:00007ffd263572b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 318.850583][ C1] RAX: ffffffffffffffda RBX: 00007f0a1d185530 RCX: 00007f0a1d27d4cb [ 318.850584][ C1] RDX: 0000000000000001 RSI: 00007f0a1d175160 RDI: 0000000000000005 [ 318.850585][ C1] RBP: 00007ffd26357420 R08: 00007f0a1d175138 R09: 000000000000000f [ 318.850585][ C1] R10: 00000000c0000002 R11: 0000000000000246 R12: 0000000000000003 [ 318.850586][ C1] R13: 00007f0a1d061040 R14: 0000000000000005 R15: 00007f0a1d177010 [ 318.850589][ C1]