================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:685:31
index 98 is out of range for type 'const int[34]'
CPU: 0 PID: 3626 Comm: acpid 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+0x2443/0x28f0 drivers/input/tablet/aiptek.c:685
__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:build_open_flags+0x475/0x5e0 fs/open.c:1236
Code: f8 44 89 e1 83 e1 04 c1 e1 0e 09 c1 41 81 e6 00 00 18 00 41 09 ce 4c 89 e6 48 83 e6 20 31 ff e8 c1 69 a1 ff 49 83 e4 20 75 07 d6 65 a1 ff eb 32 48 89 de 48 81 e6 40 02 40 00 31 ff e8 a3 69
RSP: 0018:ffffc90002f87d88 EFLAGS: 00000246
RAX: ffffffff81e0bb2f RBX: 0000000000008800 RCX: ffff88807dea1e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002f87e20 R08: 0000000000000003 R09: ffffc90002f87e20
R10: dffffc0000000000 R11: fffff520005f0fc6 R12: 0000000000000000
R13: ffffc90002f87ee0 R14: 0000000000000001 R15: 0000000000000001
do_sys_openat2+0xab/0x4f0 fs/open.c:1308
do_sys_open fs/open.c:1336 [inline]
__do_sys_openat fs/open.c:1352 [inline]
__se_sys_openat fs/open.c:1347 [inline]
__x64_sys_openat+0x135/0x160 fs/open.c:1347
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:0x7f99a011b407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffc4f0b0740 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f99a0091740 RCX: 00007f99a011b407
RDX: 0000000000080800 RSI: 00007ffc4f0b0950 RDI: ffffffffffffff9c
RBP: 00007ffc4f0b0950 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000020
R13: 00007ffc4f0b0a50 R14: 00005597831eb7fe R15: 00007ffc4f0b0a50
================================================================================
----------------
Code disassembly (best guess):
0: f8 clc
1: 44 89 e1 mov %r12d,%ecx
4: 83 e1 04 and $0x4,%ecx
7: c1 e1 0e shl $0xe,%ecx
a: 09 c1 or %eax,%ecx
c: 41 81 e6 00 00 18 00 and $0x180000,%r14d
13: 41 09 ce or %ecx,%r14d
16: 4c 89 e6 mov %r12,%rsi
19: 48 83 e6 20 and $0x20,%rsi
1d: 31 ff xor %edi,%edi
1f: e8 c1 69 a1 ff call 0xffa169e5
24: 49 83 e4 20 and $0x20,%r12
28: 75 07 jne 0x31
* 2a: e8 d6 65 a1 ff call 0xffa16605 <-- trapping instruction
2f: eb 32 jmp 0x63
31: 48 89 de mov %rbx,%rsi
34: 48 81 e6 40 02 40 00 and $0x400240,%rsi
3b: 31 ff xor %edi,%edi
3d: e8 .byte 0xe8
3e: a3 .byte 0xa3
3f: 69 .byte 0x69