================================
WARNING: inconsistent lock state
6.9.0-syzkaller-11952-gc760b3725e52 #0 Not tainted
--------------------------------
inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage.
syz-executor.0/11716 [HC1[1]:SC0[0]:HE0:SE1] takes:
ffffffff8ea3cc58 (sync_timeline_list_lock){?.+.}-{2:2}, at: sync_timeline_debug_remove+0x29/0x1a0 drivers/dma-buf/sync_debug.c:31
{HARDIRQ-ON-W} state was registered at:
  __trace_hardirqs_on_caller kernel/locking/lockdep.c:4292 [inline]
  lockdep_hardirqs_on_prepare+0x137/0x420 kernel/locking/lockdep.c:4359
  trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:61
  __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline]
  _raw_spin_unlock_irq+0x23/0x50 kernel/locking/spinlock.c:202
  spin_unlock_irq include/linux/spinlock.h:401 [inline]
  sync_print_obj drivers/dma-buf/sync_debug.c:118 [inline]
  sync_info_debugfs_show+0xf4/0x210 drivers/dma-buf/sync_debug.c:153
  seq_read_iter+0x4fa/0x12c0 fs/seq_file.c:230
  seq_read+0x390/0x4d0 fs/seq_file.c:162
  vfs_read+0x1d4/0xbd0 fs/read_write.c:474
  ksys_read+0x12f/0x260 fs/read_write.c:619
  do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
  __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386
  do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
  entry_SYSENTER_compat_after_hwframe+0x84/0x8e
irq event stamp: 632
hardirqs last  enabled at (631): [<ffffffff8ae22723>] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline]
hardirqs last  enabled at (631): [<ffffffff8ae22723>] _raw_spin_unlock_irq+0x23/0x50 kernel/locking/spinlock.c:202
hardirqs last disabled at (632): [<ffffffff8ade51ee>] sysvec_irq_work+0xe/0xb0 arch/x86/kernel/irq_work.c:17
softirqs last  enabled at (484): [<ffffffff868fa4ff>] spin_unlock_bh include/linux/spinlock.h:396 [inline]
softirqs last  enabled at (484): [<ffffffff868fa4ff>] remove_user_radios drivers/net/wireless/virtual/mac80211_hwsim.c:6369 [inline]
softirqs last  enabled at (484): [<ffffffff868fa4ff>] mac80211_hwsim_netlink_notify+0x22f/0x7d0 drivers/net/wireless/virtual/mac80211_hwsim.c:6387
softirqs last disabled at (482): [<ffffffff868fa3f3>] spin_lock_bh include/linux/spinlock.h:356 [inline]
softirqs last disabled at (482): [<ffffffff868fa3f3>] remove_user_radios drivers/net/wireless/virtual/mac80211_hwsim.c:6360 [inline]
softirqs last disabled at (482): [<ffffffff868fa3f3>] mac80211_hwsim_netlink_notify+0x123/0x7d0 drivers/net/wireless/virtual/mac80211_hwsim.c:6387

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

       CPU0
       ----
  lock(sync_timeline_list_lock);
  <Interrupt>
    lock(sync_timeline_list_lock);

 *** DEADLOCK ***

no locks held by syz-executor.0/11716.

stack backtrace:
CPU: 3 PID: 11716 Comm: syz-executor.0 Not tainted 6.9.0-syzkaller-11952-gc760b3725e52 #0
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 lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
 print_usage_bug kernel/locking/lockdep.c:3971 [inline]
 valid_state kernel/locking/lockdep.c:4013 [inline]
 mark_lock_irq kernel/locking/lockdep.c:4216 [inline]
 mark_lock+0x923/0xc60 kernel/locking/lockdep.c:4678
 mark_usage kernel/locking/lockdep.c:4564 [inline]
 __lock_acquire+0x1359/0x3b30 kernel/locking/lockdep.c:5091
 lock_acquire kernel/locking/lockdep.c:5754 [inline]
 lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
 sync_timeline_debug_remove+0x29/0x1a0 drivers/dma-buf/sync_debug.c:31
 sync_timeline_free drivers/dma-buf/sw_sync.c:125 [inline]
 kref_put include/linux/kref.h:65 [inline]
 sync_timeline_put drivers/dma-buf/sw_sync.c:137 [inline]
 timeline_fence_release+0x262/0x340 drivers/dma-buf/sw_sync.c:165
 dma_fence_release+0x308/0x560 drivers/dma-buf/dma-fence.c:560
 kref_put include/linux/kref.h:65 [inline]
 dma_fence_put include/linux/dma-fence.h:297 [inline]
 dma_fence_put include/linux/dma-fence.h:294 [inline]
 dma_fence_array_release+0x1fa/0x2e0 drivers/dma-buf/dma-fence-array.c:120
 dma_fence_release+0x308/0x560 drivers/dma-buf/dma-fence.c:560
 kref_put include/linux/kref.h:65 [inline]
 dma_fence_put include/linux/dma-fence.h:297 [inline]
 dma_fence_put include/linux/dma-fence.h:294 [inline]
 irq_dma_fence_array_work+0xa9/0xd0 drivers/dma-buf/dma-fence-array.c:52
 irq_work_single+0x1bc/0x260 kernel/irq_work.c:221
 irq_work_run_list+0x92/0xc0 kernel/irq_work.c:252
 irq_work_run+0x58/0xd0 kernel/irq_work.c:261
 __sysvec_irq_work+0x8c/0x410 arch/x86/kernel/irq_work.c:22
 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
 sysvec_irq_work+0x90/0xb0 arch/x86/kernel/irq_work.c:17
 </IRQ>
 <TASK>
 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 9a 7b 8a f6 48 89 df e8 62 f8 8a f6 e8 4d ab b3 f6 fb bf 01 00 00 00 <e8> 82 3c 7c f6 65 8b 05 13 b2 21 75 85 c0 74 06 5b c3 cc cc cc cc
RSP: 0000:ffffc9000738fd98 EFLAGS: 00000206
RAX: 0000000000000277 RBX: ffff888023656050 RCX: 1ffffffff1fc4dc9
RDX: 0000000000000000 RSI: ffffffff8b2cb700 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8fe2b0d7 R11: 0000000000000001 R12: ffff888023656000
R13: dffffc0000000000 R14: ffff888023656000 R15: ffff888023656050
 spin_unlock_irq include/linux/spinlock.h:401 [inline]
 sw_sync_debugfs_release+0x164/0x240 drivers/dma-buf/sw_sync.c:359
 __fput+0x408/0xbb0 fs/file_table.c:422
 task_work_run+0x14e/0x250 kernel/task_work.c:180
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x278/0x2a0 kernel/entry/common.c:218
 __do_fast_syscall_32+0x80/0x120 arch/x86/entry/common.c:389
 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7336579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f5f285ac EFLAGS: 00000292 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000ffffffff
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
vkms_vblank_simulate: vblank timer overrun
----------------
Code disassembly (best guess):
   0:	90                   	nop
   1:	f3 0f 1e fa          	endbr64
   5:	53                   	push   %rbx
   6:	48 8b 74 24 08       	mov    0x8(%rsp),%rsi
   b:	48 89 fb             	mov    %rdi,%rbx
   e:	48 83 c7 18          	add    $0x18,%rdi
  12:	e8 9a 7b 8a f6       	call   0xf68a7bb1
  17:	48 89 df             	mov    %rbx,%rdi
  1a:	e8 62 f8 8a f6       	call   0xf68af881
  1f:	e8 4d ab b3 f6       	call   0xf6b3ab71
  24:	fb                   	sti
  25:	bf 01 00 00 00       	mov    $0x1,%edi
* 2a:	e8 82 3c 7c f6       	call   0xf67c3cb1 <-- trapping instruction
  2f:	65 8b 05 13 b2 21 75 	mov    %gs:0x7521b213(%rip),%eax        # 0x7521b249
  36:	85 c0                	test   %eax,%eax
  38:	74 06                	je     0x40
  3a:	5b                   	pop    %rbx
  3b:	c3                   	ret
  3c:	cc                   	int3
  3d:	cc                   	int3
  3e:	cc                   	int3
  3f:	cc                   	int3