================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 36439 is out of range for type 'const int[34]'
CPU: 0 PID: 6765 Comm: syz.0.769 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
Call Trace:
dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106
ubsan_epilogue+0xa/0x30 lib/ubsan.c:151
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282
aiptek_irq+0x1e87/0x28f0 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1673
dummy_timer+0xa21/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1751 [inline]
__hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815
hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832
handle_softirqs+0x291/0x910 kernel/softirq.c:596
__do_softirq kernel/softirq.c:630 [inline]
invoke_softirq kernel/softirq.c:470 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679
irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:vcpu_enter_guest+0x268a/0x7a90 arch/x86/kvm/x86.c:10988
Code: 24 72 0b 00 00 49 89 de 49 c1 ee 03 43 0f b6 04 3e 84 c0 0f 85 f0 45 00 00 c6 03 01 e8 3f 97 76 00 fb 48 8b 84 24 88 00 00 00 <42> 80 3c 38 00 4c 8b 7c 24 40 74 08 4c 89 ff e8 22 58 c1 00 49 ff
RSP: 0018:ffffc90003327640 EFLAGS: 00000286
RAX: 1ffff11005120d6b RBX: ffff888028905af2 RCX: af57076568a24d00
RDX: dffffc0000000000 RSI: ffffffff8a8c17a0 RDI: ffffffff8adee1a0
RBP: ffffc90003327c88 R08: ffffffff90af2367 R09: 1ffffffff215e46c
R10: dffffc0000000000 R11: fffffbfff215e46d R12: ffff888028904f80
R13: ffffffaa77959ba6 R14: 1ffff11005120b5e R15: dffffc0000000000
vcpu_run arch/x86/kvm/x86.c:11125 [inline]
kvm_arch_vcpu_ioctl_run+0xecc/0x21f0 arch/x86/kvm/x86.c:11349
kvm_vcpu_ioctl+0x8f2/0xc10 virt/kvm/kvm_main.c:4122
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
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:0x7f287439ce59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f28752c6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f2874615fa0 RCX: 00007f287439ce59
RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000009
RBP: 00007f2874432e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2874616038 R14: 00007f2874615fa0 R15: 00007ffe739067e8
================================================================================
----------------
Code disassembly (best guess):
0: 24 72 and $0x72,%al
2: 0b 00 or (%rax),%eax
4: 00 49 89 add %cl,-0x77(%rcx)
7: de 49 c1 fimuls -0x3f(%rcx)
a: ee out %al,(%dx)
b: 03 43 0f add 0xf(%rbx),%eax
e: b6 04 mov $0x4,%dh
10: 3e 84 c0 ds test %al,%al
13: 0f 85 f0 45 00 00 jne 0x4609
19: c6 03 01 movb $0x1,(%rbx)
1c: e8 3f 97 76 00 call 0x769760
21: fb sti
22: 48 8b 84 24 88 00 00 mov 0x88(%rsp),%rax
29: 00
* 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction
2f: 4c 8b 7c 24 40 mov 0x40(%rsp),%r15
34: 74 08 je 0x3e
36: 4c 89 ff mov %r15,%rdi
39: e8 22 58 c1 00 call 0xc15860
3e: 49 rex.WB
3f: ff .byte 0xff