================================ WARNING: inconsistent lock state syzkaller #0 Tainted: G L -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz.4.5791/21273 [HC0[0]:SC1[1]:HE0:SE0] takes: ffff888054d03068 (&ccp->wait_input_report_lock){+.?.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline] ffff888054d03068 (&ccp->wait_input_report_lock){+.?.}-{3:3}, at: ccp_raw_event+0x51/0x110 drivers/hwmon/corsair-cpro.c:161 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 __raw_spin_lock include/linux/spinlock_api_smp.h:190 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:173 spin_lock include/linux/spinlock.h:347 [inline] ccp_raw_event+0x51/0x110 drivers/hwmon/corsair-cpro.c:161 __hid_input_report+0x41c/0x580 drivers/hid/hid-core.c:2175 uhid_dev_input2+0xbc/0x150 drivers/hid/uhid.c:609 uhid_char_write+0x4a1/0xc90 drivers/hid/uhid.c:767 vfs_write+0x296/0xba0 fs/read_write.c:685 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x27a/0x6b0 arch/x86/entry/syscall_32.c:291 do_fast_syscall_32+0x33/0x70 arch/x86/entry/syscall_32.c:316 entry_SYSENTER_compat_after_hwframe+0x84/0x8e irq event stamp: 181 hardirqs last enabled at (180): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:210 [inline] hardirqs last enabled at (180): [] _raw_spin_unlock_irqrestore+0x30/0x80 kernel/locking/spinlock.c:221 hardirqs last disabled at (181): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:153 [inline] hardirqs last disabled at (181): [] _raw_spin_lock_irqsave+0x1a/0x60 kernel/locking/spinlock.c:181 softirqs last enabled at (156): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last enabled at (156): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last enabled at (156): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 softirqs last disabled at (177): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last disabled at (177): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last disabled at (177): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 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 *** locks held by syz.4.5791/21273: 0, last CPU#1 stack backtrace: CPU: 1 UID: 0 PID: 21273 Comm: syz.4.5791 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_usage_bug+0x28c/0x2e0 kernel/locking/lockdep.c:4086 valid_state+0xbe/0xf0 kernel/locking/lockdep.c:4100 mark_lock_irq+0x36/0x380 kernel/locking/lockdep.c:4311 mark_lock+0x117/0x190 kernel/locking/lockdep.c:4797 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x71e/0x2de0 kernel/locking/lockdep.c:5242 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 __raw_spin_lock include/linux/spinlock_api_smp.h:190 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:173 spin_lock include/linux/spinlock.h:347 [inline] ccp_raw_event+0x51/0x110 drivers/hwmon/corsair-cpro.c:161 __hid_input_report+0x41c/0x580 drivers/hid/hid-core.c:2175 hid_irq_in+0x492/0x710 drivers/hid/usbhid/hid-core.c:287 __usb_hcd_giveback_urb+0x378/0x540 drivers/usb/core/hcd.c:1657 dummy_timer+0xa91/0x4cc0 drivers/usb/gadget/udc/dummy_hcd.c:2023 __run_hrtimer kernel/time/hrtimer.c:2074 [inline] __hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2131 hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2148 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:syscall_enter_from_user_mode_work include/linux/entry-common.h:144 [inline] RIP: 0010:do_int80_emulation+0x105/0x500 arch/x86/entry/syscall_32.c:165 Code: 01 00 00 4c 89 73 08 41 8b 47 50 49 89 47 78 49 c7 47 50 da ff ff ff 41 80 4d 10 02 4d 63 67 78 e8 40 73 e9 f5 fb 4d 8b 75 08 <41> f6 c6 bf 74 6f 41 f6 c6 20 74 0c 4c 89 ff e8 97 c1 c9 f5 84 c0 RSP: 0000:ffffc90003297ef0 EFLAGS: 00000206 RAX: 00000000000000af RBX: ffffc90003297ef0 RCX: 0000000000000046 RDX: 0000000000000000 RSI: ffffffff8e4172d0 RDI: ffffffff8c6dad80 RBP: ffffc90003297f38 R08: ffffffff907a657f R09: 1ffffffff20f4caf R10: dffffc0000000000 R11: fffffbfff20f4cb0 R12: 000000000000010b R13: ffff888031841f40 R14: 0000000000000000 R15: ffffc90003297f48 asm_int80_emulation+0x1a/0x20 arch/x86/include/asm/idtentry.h:598 RIP: 0023:0xf71275eb Code: 57 56 53 8b 44 24 14 f6 00 08 75 23 8b 44 24 18 8b 5c 24 1c 8b 4c 24 20 8b 54 24 24 8b 74 24 28 8b 7c 24 2c 8b 6c 24 30 cd 80 <5b> 5e 5f 5d c3 5b 5e 5f 5d e9 f7 a1 ff ff 66 90 66 90 66 90 90 53 RSP: 002b:00000000f53c438c EFLAGS: 00000246 ORIG_RAX: 000000000000010b RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000000000 RDX: 00000000f53c4424 RSI: 00000000f53c441c RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 01 00 add %eax,(%rax) 2: 00 4c 89 73 add %cl,0x73(%rcx,%rcx,4) 6: 08 41 8b or %al,-0x75(%rcx) 9: 47 50 rex.RXB push %r8 b: 49 89 47 78 mov %rax,0x78(%r15) f: 49 c7 47 50 da ff ff movq $0xffffffffffffffda,0x50(%r15) 16: ff 17: 41 80 4d 10 02 orb $0x2,0x10(%r13) 1c: 4d 63 67 78 movslq 0x78(%r15),%r12 20: e8 40 73 e9 f5 call 0xf5e97365 25: fb sti 26: 4d 8b 75 08 mov 0x8(%r13),%r14 * 2a: 41 f6 c6 bf test $0xbf,%r14b <-- trapping instruction 2e: 74 6f je 0x9f 30: 41 f6 c6 20 test $0x20,%r14b 34: 74 0c je 0x42 36: 4c 89 ff mov %r15,%rdi 39: e8 97 c1 c9 f5 call 0xf5c9c1d5 3e: 84 c0 test %al,%al