================================
WARNING: inconsistent lock state
syzkaller #0 Not tainted
--------------------------------
inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage.
syz-executor/11299 [HC0[0]:SC1[1]:HE1:SE0] takes:
ffff8880292520a8 (&p->tcfa_lock){+.?.}-{3:3}, at: est_timer+0xd4/0x9f0
{SOFTIRQ-ON-W} state was registered at:
  lock_acquire+0x120/0x360
  _raw_spin_lock+0x2e/0x40
  tunnel_key_init+0xd10/0x14d0
  tcf_action_init_1+0x463/0x6d0
  tcf_action_init+0x2cf/0xab0
  tc_ctl_action+0x430/0xbd0
  rtnetlink_rcv_msg+0x77c/0xb70
  netlink_rcv_skb+0x208/0x470
  netlink_unicast+0x82f/0x9e0
  netlink_sendmsg+0x805/0xb30
  __sock_sendmsg+0x21c/0x270
  ____sys_sendmsg+0x505/0x830
  ___sys_sendmsg+0x21f/0x2a0
  __x64_sys_sendmsg+0x19b/0x260
  do_syscall_64+0xfa/0x3b0
  entry_SYSCALL_64_after_hwframe+0x77/0x7f
irq event stamp: 284
hardirqs last  enabled at (284): [<ffffffff8b7cceb3>] _raw_spin_unlock_irq+0x23/0x50
hardirqs last disabled at (283): [<ffffffff8b7ccc2d>] _raw_spin_lock_irq+0x7d/0xf0
softirqs last  enabled at (0): [<ffffffff8182a66f>] copy_process+0x97f/0x3c00
softirqs last disabled at (281): [<ffffffff8184f4da>] __irq_exit_rcu+0xca/0x1f0

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(&p->tcfa_lock);
  <Interrupt>
    lock(&p->tcfa_lock);

 *** DEADLOCK ***

4 locks held by syz-executor/11299:
 #0: ffff88801fb40428 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90
 #1: ffff88811a4c02c8 (&type->i_mutex_dir_key#5/1){+.+.}-{4:4}, at: filename_create+0x1f8/0x3c0
 #2: ffffffff8e845c90 (tomoyo_ss){.+.+}-{0:0}, at: tomoyo_path_perm+0x1e3/0x4b0
 #3: ffffc90000007be0 ((&est->timer)){+.-.}-{0:0}, at: call_timer_fn+0xbe/0x5f0

stack backtrace:
CPU: 0 UID: 0 PID: 11299 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <IRQ>
 dump_stack_lvl+0x189/0x250
 print_usage_bug+0x297/0x2e0
 valid_state+0xc3/0xf0
 mark_lock_irq+0x36/0x390
 mark_lock+0x11b/0x190
 __lock_acquire+0x680/0xd20
 lock_acquire+0x120/0x360
 _raw_spin_lock+0x2e/0x40
 est_timer+0xd4/0x9f0
 call_timer_fn+0x17e/0x5f0
 __run_timer_base+0x61a/0x860
 run_timer_softirq+0xb7/0x180
 handle_softirqs+0x286/0x870
 __irq_exit_rcu+0xca/0x1f0
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70
Code: 8b 3d 64 79 fe 0b 48 89 de 5b e9 c3 9f 58 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0c 25 08 c0 a0 92 65 8b 15 88 14 e1 10 81 e2 00 01 ff 00
RSP: 0018:ffffc9000a907a90 EFLAGS: 00000202
RAX: ffffffff847efcdd RBX: ffffc9000a907c80 RCX: 0000000000000001
RDX: ffffffff847efcc9 RSI: ffffffff8e8465c0 RDI: 000000000000006e
RBP: ffff888028ac1002 R08: ffff88803b6b0000 R09: 0000000000000002
R10: 000000000000005c R11: 0000000000000000 R12: ffff888028ac1001
R13: 000000000000006e R14: dffffc0000000000 R15: 0000000000000001
 tomoyo_fill_path_info+0xad/0x3c0
 tomoyo_path_perm+0x237/0x4b0
 tomoyo_path_symlink+0xa3/0xe0
 security_path_symlink+0x177/0x380
 do_symlinkat+0x107/0x3f0
 __x64_sys_symlinkat+0x95/0xb0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2b1f18e167
Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe30196c58 EFLAGS: 00000202 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2b1f18e167
RDX: 00007f2b1f2136da RSI: 00000000ffffff9c RDI: 00007ffe30196cf0
RBP: 00007ffe30196c9c R08: 0000000000000013 R09: 00007ffe301969a7
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000217
R13: 00000000000927c0 R14: 00000000000232c7 R15: 00007ffe30196cf0
 </TASK>
