================================================================================ UBSAN: array-index-out-of-bounds in kernel/locking/qspinlock.c:131:9 index 16382 is out of range for type 'unsigned long[8]' CPU: 0 PID: 381 Comm: syz.2.18 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 dump_stack+0x15/0x24 lib/dump_stack.c:113 ubsan_epilogue+0xe/0x40 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 decode_tail kernel/locking/qspinlock.c:131 [inline] __pv_queued_spin_lock_slowpath+0x9ea/0xc40 kernel/locking/qspinlock.c:471 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath+0x47/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x120/0x130 kernel/locking/spinlock.c:162 __pm_runtime_resume+0x5c/0x90 drivers/base/power/runtime.c:1170 pm_runtime_get_sync include/linux/pm_runtime.h:435 [inline] usb_autopm_get_interface+0x20/0x60 drivers/usb/core/driver.c:1827 usbhid_power+0x80/0xc0 drivers/hid/usbhid/hid-core.c:1281 hid_hw_power include/linux/hid.h:1139 [inline] hidraw_open+0x272/0x920 drivers/hid/hidraw.c:288 chrdev_open+0x593/0x600 fs/char_dev.c:414 do_dentry_open+0x885/0x11f0 fs/open.c:884 vfs_open+0x73/0x80 fs/open.c:1017 do_open fs/namei.c:3633 [inline] path_openat+0x2699/0x2f30 fs/namei.c:3790 do_filp_open+0x1ee/0x420 fs/namei.c:3817 do_sys_openat2+0x15e/0x820 fs/open.c:1343 do_sys_open fs/open.c:1359 [inline] __do_sys_openat fs/open.c:1375 [inline] __se_sys_openat fs/open.c:1370 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1370 x64_sys_call+0x783/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258 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:0x7f94a515eb0e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f94a5f97b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f94a5f986c0 RCX: 00007f94a515eb0e RDX: 000000000000bb02 RSI: 00007f94a5f97c00 RDI: ffffffffffffff9c RBP: 00007f94a5f97c00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd R13: 00007f94a5426038 R14: 00007f94a5425fa0 R15: 00007ffe1d572008 ================================================================================ general protection fault, probably for non-canonical address 0xe013088b9f547847: 0000 [#1] PREEMPT SMP KASAN KASAN: maybe wild-memory-access in range [0x0098645cfaa3c238-0x0098645cfaa3c23f] CPU: 0 PID: 381 Comm: syz.2.18 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__pv_queued_spin_lock_slowpath+0x2c8/0xc40 kernel/locking/qspinlock.c:474 Code: 86 4c 89 f8 48 c1 e8 03 80 3c 10 00 74 12 4c 89 ff e8 0c 47 b5 fc 48 ba 00 00 00 00 00 fc ff df 4d 03 2f 4c 89 e8 48 c1 e8 03 <80> 3c 10 00 4d 89 ef 4c 8b 6c 24 30 74 12 4c 89 ff e8 d2 47 b5 fc RSP: 0018:ffffc900009cf540 EFLAGS: 00010007 RAX: 00130c8b9f547847 RBX: ffffffff87803a84 RCX: ffff888113635100 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 00000000ffffffff RBP: ffffc900009cf630 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff0f6ee4c R12: 1ffff1103edc71c9 R13: 0098645cfaa3c23f R14: 1ffffffff0f00750 R15: ffffffff866f7990 FS: 00007f94a5f986c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005607b1e4bcd0 CR3: 00000001135bd000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath+0x47/0x50 arch/x86/include/asm/qspinlock.h:51 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:187 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x120/0x130 kernel/locking/spinlock.c:162 __pm_runtime_resume+0x5c/0x90 drivers/base/power/runtime.c:1170 pm_runtime_get_sync include/linux/pm_runtime.h:435 [inline] usb_autopm_get_interface+0x20/0x60 drivers/usb/core/driver.c:1827 usbhid_power+0x80/0xc0 drivers/hid/usbhid/hid-core.c:1281 hid_hw_power include/linux/hid.h:1139 [inline] hidraw_open+0x272/0x920 drivers/hid/hidraw.c:288 chrdev_open+0x593/0x600 fs/char_dev.c:414 do_dentry_open+0x885/0x11f0 fs/open.c:884 vfs_open+0x73/0x80 fs/open.c:1017 do_open fs/namei.c:3633 [inline] path_openat+0x2699/0x2f30 fs/namei.c:3790 do_filp_open+0x1ee/0x420 fs/namei.c:3817 do_sys_openat2+0x15e/0x820 fs/open.c:1343 do_sys_open fs/open.c:1359 [inline] __do_sys_openat fs/open.c:1375 [inline] __se_sys_openat fs/open.c:1370 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1370 x64_sys_call+0x783/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258 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:0x7f94a515eb0e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f94a5f97b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f94a5f986c0 RCX: 00007f94a515eb0e RDX: 000000000000bb02 RSI: 00007f94a5f97c00 RDI: ffffffffffffff9c RBP: 00007f94a5f97c00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd R13: 00007f94a5426038 R14: 00007f94a5425fa0 R15: 00007ffe1d572008 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__pv_queued_spin_lock_slowpath+0x2c8/0xc40 kernel/locking/qspinlock.c:474 Code: 86 4c 89 f8 48 c1 e8 03 80 3c 10 00 74 12 4c 89 ff e8 0c 47 b5 fc 48 ba 00 00 00 00 00 fc ff df 4d 03 2f 4c 89 e8 48 c1 e8 03 <80> 3c 10 00 4d 89 ef 4c 8b 6c 24 30 74 12 4c 89 ff e8 d2 47 b5 fc RSP: 0018:ffffc900009cf540 EFLAGS: 00010007 RAX: 00130c8b9f547847 RBX: ffffffff87803a84 RCX: ffff888113635100 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 00000000ffffffff RBP: ffffc900009cf630 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffffbfff0f6ee4c R12: 1ffff1103edc71c9 R13: 0098645cfaa3c23f R14: 1ffffffff0f00750 R15: ffffffff866f7990 FS: 00007f94a5f986c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005607b1e4bcd0 CR3: 00000001135bd000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 86 4c 89 f8 xchg %cl,-0x8(%rcx,%rcx,4) 4: 48 c1 e8 03 shr $0x3,%rax 8: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) c: 74 12 je 0x20 e: 4c 89 ff mov %r15,%rdi 11: e8 0c 47 b5 fc call 0xfcb54722 16: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 1d: fc ff df 20: 4d 03 2f add (%r15),%r13 23: 4c 89 e8 mov %r13,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction 2e: 4d 89 ef mov %r13,%r15 31: 4c 8b 6c 24 30 mov 0x30(%rsp),%r13 36: 74 12 je 0x4a 38: 4c 89 ff mov %r15,%rdi 3b: e8 d2 47 b5 fc call 0xfcb54812