================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 6691 is out of range for type 'const int[34]' CPU: 0 PID: 5693 Comm: syz.9.323 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0xa39/0x34e0 drivers/usb/gadget/udc/dummy_hcd.c:2018 __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:finish_task_switch+0x267/0x8e0 kernel/sched/core.c:5125 Code: d7 08 85 c0 0f 84 38 01 00 00 48 85 db 0f 85 57 01 00 00 e9 e7 04 00 00 4c 89 e7 e8 f3 d0 e1 08 e8 ae 17 2f 00 fb 4c 8b 65 b8 <49> 8d bc 24 f8 15 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 RSP: 0018:ffffc90005a67900 EFLAGS: 00000286 RAX: 6f89bae6ced04800 RBX: 0000000000000000 RCX: 6f89bae6ced04800 RDX: dffffc0000000000 RSI: ffffffff8a8c18a0 RDI: ffffffff8adf6420 RBP: ffffc90005a67950 R08: ffff8880b8e3acc3 R09: 1ffff110171c7598 R10: dffffc0000000000 R11: ffffed10171c7599 R12: ffff8880770cda00 R13: ffff8880b8e3ba08 R14: dffffc0000000000 R15: ffff8880b8e3b790 context_switch kernel/sched/core.c:5249 [inline] __schedule+0x1087/0x4030 kernel/sched/core.c:6563 schedule+0xb9/0x180 kernel/sched/core.c:6639 futex_wait_queue+0x134/0x1b0 kernel/futex/waitwake.c:355 futex_wait+0x1e5/0x5c0 kernel/futex/waitwake.c:656 do_futex+0x310/0x320 kernel/futex/syscalls.c:134 __do_sys_futex kernel/futex/syscalls.c:211 [inline] __se_sys_futex+0x381/0x410 kernel/futex/syscalls.c:192 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:0x7faa2c59e159 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:00007faa2a7f60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007faa2c825fa8 RCX: 00007faa2c59e159 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007faa2c825fa8 RBP: 00007faa2c825fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007faa2c826038 R14: 00007fff25a295b0 R15: 00007fff25a29698 ================================================================================ ---------------- Code disassembly (best guess): 0: d7 xlat %ds:(%rbx) 1: 08 85 c0 0f 84 38 or %al,0x38840fc0(%rbp) 7: 01 00 add %eax,(%rax) 9: 00 48 85 add %cl,-0x7b(%rax) c: db 0f fisttpl (%rdi) e: 85 57 01 test %edx,0x1(%rdi) 11: 00 00 add %al,(%rax) 13: e9 e7 04 00 00 jmp 0x4ff 18: 4c 89 e7 mov %r12,%rdi 1b: e8 f3 d0 e1 08 call 0x8e1d113 20: e8 ae 17 2f 00 call 0x2f17d3 25: fb sti 26: 4c 8b 65 b8 mov -0x48(%rbp),%r12 * 2a: 49 8d bc 24 f8 15 00 lea 0x15f8(%r12),%rdi <-- trapping instruction 31: 00 32: 48 89 f8 mov %rdi,%rax 35: 48 c1 e8 03 shr $0x3,%rax 39: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 3e: 84 c0 test %al,%al