================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. fido_id/14084 [HC0[0]:SC1[1]:HE0:SE0] takes: ffff888069b01468 (&ccp->wait_input_report_lock){+.?.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline] ffff888069b01468 (&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/0x6a0 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: 5461 hardirqs last enabled at (5460): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:210 [inline] hardirqs last enabled at (5460): [] _raw_spin_unlock_irqrestore+0x30/0x80 kernel/locking/spinlock.c:221 hardirqs last disabled at (5461): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:153 [inline] hardirqs last disabled at (5461): [] _raw_spin_lock_irqsave+0x1a/0x60 kernel/locking/spinlock.c:181 softirqs last enabled at (5430): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last enabled at (5430): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last enabled at (5430): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 softirqs last disabled at (5457): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last disabled at (5457): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last disabled at (5457): [] __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 fido_id/14084: 1, last CPU#1: #0: ffff888073e89088 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500 mm/mmap_lock.c:310 stack backtrace: CPU: 1 UID: 0 PID: 14084 Comm: fido_id Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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:memset_orig+0x36/0xb0 arch/x86/lib/memset_64.S:70 Code: 01 01 01 01 01 48 0f af c1 41 89 f9 41 83 e1 07 75 74 48 89 d1 48 c1 e9 06 74 39 66 0f 1f 84 00 00 00 00 00 48 ff c9 48 89 07 <48> 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 48 89 47 28 48 89 RSP: 0000:ffffc9000308f6b0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff8880814b0000 RCX: 0000000000000007 RDX: 0000000000000200 RSI: 0000000000000000 RDI: ffffed1010296000 RBP: 0000000000140cca R08: ffffffff907a657f R09: 0000000000000000 R10: ffffed1010296000 R11: fffffbfff20f4cb0 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000001000 R15: dffffc0000000000 kasan_poison mm/kasan/shadow.c:146 [inline] kasan_unpoison+0x48/0x70 mm/kasan/shadow.c:178 __kasan_unpoison_pages+0x25/0x30 mm/kasan/common.c:151 kasan_unpoison_pages include/linux/kasan.h:126 [inline] post_alloc_hook+0x8f/0x250 mm/page_alloc.c:1855 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 alloc_pages_mpol+0x21e/0x390 mm/mempolicy.c:2486 folio_alloc_mpol_noprof+0x39/0x160 mm/mempolicy.c:2505 vma_alloc_folio_noprof+0xe1/0x1e0 mm/mempolicy.c:2540 folio_prealloc mm/memory.c:-1 [inline] do_cow_fault mm/memory.c:6024 [inline] do_fault mm/memory.c:6136 [inline] do_pte_missing+0x598/0x34b0 mm/memory.c:4700 handle_pte_fault mm/memory.c:6558 [inline] __handle_mm_fault mm/memory.c:6707 [inline] handle_mm_fault+0x1a53/0x3750 mm/memory.c:6876 do_user_addr_fault+0xa4f/0x1340 arch/x86/mm/fault.c:1343 handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x6a/0xc0 arch/x86/mm/fault.c:1536 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0033:0x7ff598aab8ec Code: 1f 80 00 00 00 00 48 8b 31 8b 51 08 4c 01 fe 48 83 fa 26 74 0a 48 83 fa 08 0f 85 ef 3c ff ff 48 8b 51 10 48 83 c1 18 4c 01 fa <48> 89 16 48 39 d9 72 d4 4d 8b 9a 08 02 00 00 4d 85 db 0f 84 ec 0b RSP: 002b:00007fffe1a43f60 EFLAGS: 00010206 RAX: 00007ff598414308 RBX: 00007ff5984c90c0 RCX: 00007ff5984691e0 RDX: 00007ff5987ca7ac RSI: 00007ff5988eb000 RDI: 00007ff5984c9fc0 RBP: 00007fffe1a44080 R08: 00007ff5984c9180 R09: 00007ff5984c9fc0 R10: 00007ff598a95580 R11: 0000000000000000 R12: 00007fffe1a44010 R13: 00007fffe1a44010 R14: 00007ff598a95580 R15: 00007ff598400000 ---------------- Code disassembly (best guess): 0: 01 01 add %eax,(%rcx) 2: 01 01 add %eax,(%rcx) 4: 01 48 0f add %ecx,0xf(%rax) 7: af scas %es:(%rdi),%eax 8: c1 41 89 f9 roll $0xf9,-0x77(%rcx) c: 41 83 e1 07 and $0x7,%r9d 10: 75 74 jne 0x86 12: 48 89 d1 mov %rdx,%rcx 15: 48 c1 e9 06 shr $0x6,%rcx 19: 74 39 je 0x54 1b: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 22: 00 00 24: 48 ff c9 dec %rcx 27: 48 89 07 mov %rax,(%rdi) * 2a: 48 89 47 08 mov %rax,0x8(%rdi) <-- trapping instruction 2e: 48 89 47 10 mov %rax,0x10(%rdi) 32: 48 89 47 18 mov %rax,0x18(%rdi) 36: 48 89 47 20 mov %rax,0x20(%rdi) 3a: 48 89 47 28 mov %rax,0x28(%rdi) 3e: 48 rex.W 3f: 89 .byte 0x89