================================ WARNING: inconsistent lock state syzkaller #0 Tainted: G L -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. pr/ttyS0/16 [HC0[0]:SC1[1]:HE0:SE0] takes: ffff888046f87068 (&ccp->wait_input_report_lock){+.?.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline] ffff888046f87068 (&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_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 2964195 hardirqs last enabled at (2964194): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:210 [inline] hardirqs last enabled at (2964194): [] _raw_spin_unlock_irqrestore+0x30/0x80 kernel/locking/spinlock.c:221 hardirqs last disabled at (2964195): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:153 [inline] hardirqs last disabled at (2964195): [] _raw_spin_lock_irqsave+0x1a/0x60 kernel/locking/spinlock.c:181 softirqs last enabled at (2964156): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last enabled at (2964156): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last enabled at (2964156): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 softirqs last disabled at (2964163): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last disabled at (2964163): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last disabled at (2964163): [] __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 pr/ttyS0/16: 1, last CPU#1: #0: ffffffff8ec364d8 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:314 [inline] #0: ffffffff8ec364d8 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:439 [inline] #0: ffffffff8ec364d8 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60 kernel/printk/printk.c:291 stack backtrace: CPU: 1 UID: 0 PID: 16 Comm: pr/ttyS0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:221 Code: f7 e8 4d ff b9 f5 f7 c3 00 02 00 00 74 05 e8 50 4e e6 f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 84 fc aa f5 65 48 8b 05 0c 90 ab 07 48 85 c0 74 18 5b 41 5e e9 RSP: 0018:ffffc90000157ca8 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000206 RCX: 8000000000000001 RDX: 0000000000000000 RSI: ffffffff8e41727c RDI: 0000000000000001 RBP: ffffc90000157e18 R08: ffffffff907a667f R09: 1ffffffff20f4ccf R10: dffffc0000000000 R11: fffffbfff20f4cd0 R12: 0000000000000002 R13: ffff88801e298000 R14: ffffffff9ad452e0 R15: dffffc0000000000 nbcon_emit_one kernel/printk/nbcon.c:1165 [inline] nbcon_kthread_func+0x6c4/0x880 kernel/printk/nbcon.c:1271 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- Code disassembly (best guess): 0: f7 e8 imul %eax 2: 4d ff rex.WRB (bad) 4: b9 f5 f7 c3 00 mov $0xc3f7f5,%ecx 9: 02 00 add (%rax),%al b: 00 74 05 e8 add %dh,-0x18(%rbp,%rax,1) f: 50 push %rax 10: 4e e6 f5 rex.WRX out %al,$0xf5 13: 9c pushf 14: 58 pop %rax 15: a9 00 02 00 00 test $0x200,%eax 1a: 75 29 jne 0x45 1c: f7 c3 00 02 00 00 test $0x200,%ebx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 84 fc aa f5 call 0xf5aafcb3 <-- trapping instruction 2f: 65 48 8b 05 0c 90 ab mov %gs:0x7ab900c(%rip),%rax # 0x7ab9043 36: 07 37: 48 85 c0 test %rax,%rax 3a: 74 18 je 0x54 3c: 5b pop %rbx 3d: 41 5e pop %r14 3f: e9 .byte 0xe9