================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. syz.1.432/5926 [HC0[0]:SC0[0]:HE1:SE1] takes: ffff888018a66850 (&ccp->wait_input_report_lock){+.?.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] ffff888018a66850 (&ccp->wait_input_report_lock){+.?.}-{2:2}, at: ccp_raw_event+0x4d/0x110 drivers/hwmon/corsair-cpro.c:154 {IN-SOFTIRQ-W} state was registered at: lock_acquire+0x1bc/0x4a0 kernel/locking/lockdep.c:5790 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] ccp_raw_event+0x4d/0x110 drivers/hwmon/corsair-cpro.c:154 hid_input_report+0x3fe/0x4f0 drivers/hid/hid-core.c:2129 hid_irq_in+0x434/0x690 drivers/hid/usbhid/hid-core.c:284 __usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1675 dummy_timer+0xa39/0x34e0 drivers/usb/gadget/udc/dummy_hcd.c:2018 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832 handle_softirqs+0x291/0x910 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 lock_is_held_type+0x13a/0x190 kernel/locking/lockdep.c:5866 xa_entry include/linux/xarray.h:1198 [inline] xas_next_entry+0x214/0x3e0 include/linux/xarray.h:1689 next_map_page mm/filemap.c:3453 [inline] filemap_map_pages+0xe7e/0x11e0 mm/filemap.c:3530 do_fault_around mm/memory.c:4598 [inline] do_read_fault mm/memory.c:4624 [inline] do_fault mm/memory.c:4758 [inline] handle_pte_fault mm/memory.c:5029 [inline] __handle_mm_fault mm/memory.c:5171 [inline] handle_mm_fault+0x25e5/0x3d40 mm/memory.c:5292 faultin_page mm/gup.c:1026 [inline] __get_user_pages+0x40d/0xec0 mm/gup.c:1250 populate_vma_page_range+0x214/0x2b0 mm/gup.c:1607 __mm_populate+0x25c/0x380 mm/gup.c:1721 mm_populate include/linux/mm.h:2891 [inline] vm_mmap_pgoff+0x212/0x2d0 mm/util.c:525 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 irq event stamp: 209 hardirqs last enabled at (209): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (209): [] _raw_spin_unlock_irqrestore+0x82/0x120 kernel/locking/spinlock.c:194 hardirqs last disabled at (208): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (208): [] _raw_spin_lock_irqsave+0x8b/0x100 kernel/locking/spinlock.c:162 softirqs last enabled at (0): [] rcu_lock_acquire include/linux/rcupdate.h:350 [inline] softirqs last enabled at (0): [] rcu_read_lock include/linux/rcupdate.h:791 [inline] softirqs last enabled at (0): [] copy_process+0x974/0x4070 kernel/fork.c:2226 softirqs last disabled at (0): [<0000000000000000>] 0x0 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&ccp->wait_input_report_lock); lock(&ccp->wait_input_report_lock); *** DEADLOCK *** 1 lock held by syz.1.432/5926: #0: ffff888024724068 (&uhid->devlock){+.+.}-{3:3}, at: uhid_char_write+0x79/0xaf0 drivers/hid/uhid.c:733 stack backtrace: CPU: 1 PID: 5926 Comm: syz.1.432 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:4041 mark_lock_irq+0xa9/0x900 kernel/locking/lockdep.c:4244 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4706 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x12ad/0x7ea0 kernel/locking/lockdep.c:5125 lock_acquire+0x1bc/0x4a0 kernel/locking/lockdep.c:5790 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] ccp_raw_event+0x4d/0x110 drivers/hwmon/corsair-cpro.c:154 hid_input_report+0x3fe/0x4f0 drivers/hid/hid-core.c:2129 uhid_dev_input2+0xb1/0x130 drivers/hid/uhid.c:611 uhid_char_write+0x376/0xaf0 drivers/hid/uhid.c:769 vfs_write+0x2dc/0x9a0 fs/read_write.c:582 ksys_write+0x14d/0x260 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f043299e199 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0433882028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0432c25fa0 RCX: 00007f043299e199 RDX: 0000000000000016 RSI: 0000200000000500 RDI: 0000000000000003 RBP: 00007f0432a350b8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0432c26038 R14: 00007f0432c25fa0 R15: 00007ffc55ba0368