================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 28671 is out of range for type 'const int[34]'
CPU: 0 PID: 7074 Comm: syz.2.336 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
ubsan_epilogue+0xa/0x30 lib/ubsan.c:217
__ubsan_handle_out_of_bounds+0xe3/0xf0 lib/ubsan.c:348
aiptek_irq+0x1eb8/0x2920 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1648
dummy_timer+0xa40/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1754 [inline]
__hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818
hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835
handle_softirqs+0x27d/0x820 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661
irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:finish_task_switch+0x267/0x8f0 kernel/sched/core.c:5255
Code: 2e 09 85 c0 0f 84 30 01 00 00 48 85 db 0f 85 4f 01 00 00 0f 1f 44 00 00 4c 89 e7 e8 43 32 38 09 e8 8e 0a 30 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:ffffc90003a8f9a0 EFLAGS: 00000286
RAX: 39455118977e8500 RBX: 0000000000000000 RCX: 39455118977e8500
RDX: dffffc0000000000 RSI: ffffffff8acacb60 RDI: ffffffff8b1cfa20
RBP: ffffc90003a8f9f0 R08: ffffffff8e8c6b2f R09: 1ffffffff1d18d65
R10: dffffc0000000000 R11: fffffbfff1d18d66 R12: ffff88801b7cda00
R13: 1ffff110171c79a9 R14: dffffc0000000000 R15: ffff8880b8e3cd48
context_switch kernel/sched/core.c:5384 [inline]
__schedule+0x15b6/0x4660 kernel/sched/core.c:6700
schedule+0xbd/0x170 kernel/sched/core.c:6774
do_nanosleep+0x1b3/0x5e0 kernel/time/hrtimer.c:2095
hrtimer_nanosleep+0x175/0x370 kernel/time/hrtimer.c:2143
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1397 [inline]
__se_sys_clock_nanosleep+0x30f/0x3a0 kernel/time/posix-timers.c:1374
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc30035e6ce
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:00007ffda500f448 EFLAGS: 00000246 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 000055558eef8500 RCX: 00007fc30035e6ce
RDX: 00007ffda500f4a0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fc300627da0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000033387
R13: 00007fc30062609c R14: 000000000003316d R15: 00007fc300626090
================================================================================
----------------
Code disassembly (best guess):
0: 2e 09 85 c0 0f 84 30 cs or %eax,0x30840fc0(%rbp)
7: 01 00 add %eax,(%rax)
9: 00 48 85 add %cl,-0x7b(%rax)
c: db 0f fisttpl (%rdi)
e: 85 4f 01 test %ecx,0x1(%rdi)
11: 00 00 add %al,(%rax)
13: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
18: 4c 89 e7 mov %r12,%rdi
1b: e8 43 32 38 09 call 0x9383263
20: e8 8e 0a 30 00 call 0x300ab3
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