================================ WARNING: inconsistent lock state syzkaller #0 Tainted: G L -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. kworker/u8:1/16858 [HC0[0]:SC1[1]:HE0:SE0] takes: ffff888087c44c68 (&ccp->wait_input_report_lock){+.?.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline] ffff888087c44c68 (&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: 2576811 hardirqs last enabled at (2576810): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:210 [inline] hardirqs last enabled at (2576810): [] _raw_spin_unlock_irqrestore+0x30/0x80 kernel/locking/spinlock.c:221 hardirqs last disabled at (2576811): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:153 [inline] hardirqs last disabled at (2576811): [] _raw_spin_lock_irqsave+0x1a/0x60 kernel/locking/spinlock.c:181 softirqs last enabled at (2576762): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last enabled at (2576762): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last enabled at (2576762): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 softirqs last disabled at (2576807): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last disabled at (2576807): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last disabled at (2576807): [] __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 kworker/u8:1/16858: 4, last CPU#1: #0: ffff88801dffa940 ((wq_completion)iou_exit){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88801dffa940 ((wq_completion)iou_exit){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88801dffa940 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3361 [inline] #0: ffff88801dffa940 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3479 #1: ffffc90006eefc40 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90006eefc40 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90006eefc40 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3361 [inline] #1: ffffc90006eefc40 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3479 #2: ffff88808ca0e0a0 (&ctx->uring_lock){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline] #2: ffff88808ca0e0a0 (&ctx->uring_lock){+.+.}-{4:4}, at: io_req_caches_free+0x19/0x30 io_uring/io_uring.c:2152 #3: ffffffff8ed5c960 (rcu_read_lock_sched){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #3: ffffffff8ed5c960 (rcu_read_lock_sched){....}-{1:2}, at: rcu_read_lock_sched include/linux/rcupdate.h:947 [inline] #3: ffffffff8ed5c960 (rcu_read_lock_sched){....}-{1:2}, at: pfn_valid include/linux/mmzone.h:2276 [inline] #3: ffffffff8ed5c960 (rcu_read_lock_sched){....}-{1:2}, at: __virt_addr_valid+0x137/0x390 arch/x86/mm/physaddr.c:54 stack backtrace: CPU: 1 UID: 0 PID: 16858 Comm: kworker/u8:1 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Workqueue: iou_exit io_ring_exit_work 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:valid_section include/linux/mmzone.h:2131 [inline] RIP: 0010:pfn_valid include/linux/mmzone.h:2277 [inline] RIP: 0010:__virt_addr_valid+0x1ac/0x390 arch/x86/mm/physaddr.c:54 Code: 01 48 c7 c7 c0 0a 0a 8c be b5 03 00 00 48 c7 c2 00 0b 0a 8c e8 55 d5 29 00 4d 85 ff 74 1e 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 <74> 08 4c 89 ff e8 da 46 be 00 49 8b 0f f6 c1 02 75 7e e8 fd 7d 6d RSP: 0018:ffffc90006eef818 EFLAGS: 00000246 RAX: 1ffff11027fc0e38 RBX: 00000000752c8140 RCX: 8000000000000002 RDX: 00000000e6e261fe RSI: ffffffff8c6dad60 RDI: ffffffff8c6dad20 RBP: 000000000143a310 R08: ffffffff8179dd07 R09: 0000000000000000 R10: 000000000000000c R11: ffffffff81b2c4a0 R12: dffffc0000000000 R13: 00000000000001c0 R14: ffffffff8179dd07 R15: ffff88813fe071c0 kasan_addr_to_slab+0xf/0x70 mm/kasan/common.c:47 kasan_record_aux_stack+0xf/0xd0 mm/kasan/generic.c:541 slab_free_hook mm/slub.c:2709 [inline] slab_free mm/slub.c:6509 [inline] kmem_cache_free+0x45e/0x650 mm/slub.c:6636 __io_req_caches_free+0x1be/0x270 io_uring/io_uring.c:2141 io_req_caches_free+0x21/0x30 io_uring/io_uring.c:2153 io_ring_exit_work+0x43e/0x9a0 io_uring/io_uring.c:2356 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 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: 01 48 c7 add %ecx,-0x39(%rax) 3: c7 c0 0a 0a 8c be mov $0xbe8c0a0a,%eax 9: b5 03 mov $0x3,%ch b: 00 00 add %al,(%rax) d: 48 c7 c2 00 0b 0a 8c mov $0xffffffff8c0a0b00,%rdx 14: e8 55 d5 29 00 call 0x29d56e 19: 4d 85 ff test %r15,%r15 1c: 74 1e je 0x3c 1e: 4c 89 f8 mov %r15,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) * 2a: 74 08 je 0x34 <-- trapping instruction 2c: 4c 89 ff mov %r15,%rdi 2f: e8 da 46 be 00 call 0xbe470e 34: 49 8b 0f mov (%r15),%rcx 37: f6 c1 02 test $0x2,%cl 3a: 75 7e jne 0xba 3c: e8 .byte 0xe8 3d: fd std 3e: 7d 6d jge 0xad