================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 47676 is out of range for type 'const int[34]'
CPU: 0 PID: 4265 Comm: udevd 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:read_seqbegin+0x194/0x210 include/linux/seqlock.h:893
Code: 74 9a ff 4d 85 e4 75 16 e8 59 74 9a ff eb 15 e8 52 74 9a ff e8 dd 9c 48 08 4d 85 e4 74 ea e8 43 74 9a ff fb 8b 1d 1c 99 99 0a <89> de 83 e6 01 31 ff e8 90 77 9a ff 89 d8 83 e0 01 75 07 e8 24 74
RSP: 0018:ffffc90003f578c0 EFLAGS: 00000293
RAX: ffffffff81e7ad5d RBX: 0000000000001cde RCX: ffff88801d731e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003f57970 R08: ffffffff90b102e7 R09: 1ffffffff216205c
R10: dffffc0000000000 R11: fffffbfff216205d R12: 0000000000000200
R13: 1ffff1100ff2b5b4 R14: 1ffff920007eaf18 R15: dffffc0000000000
d_lookup+0x14/0x60 fs/dcache.c:2438
lookup_open fs/namei.c:3412 [inline]
open_last_lookups fs/namei.c:3558 [inline]
path_openat+0x927/0x2f10 fs/namei.c:3788
do_filp_open+0x1ee/0x420 fs/namei.c:3818
do_sys_openat2+0x14b/0x4f0 fs/open.c:1320
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:0x7f37c20a7407
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:00007ffc1c297d20 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f37c2765880 RCX: 00007f37c20a7407
RDX: 0000000000080000 RSI: 00007ffc1c297e90 RDI: ffffffffffffff9c
RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000561b31f6a7f5
R13: 0000561b31f6a7f5 R14: 0000000000000001 R15: 0000561b31f85140
================================================================================
----------------
Code disassembly (best guess), 3 bytes skipped:
0: 4d 85 e4 test %r12,%r12
3: 75 16 jne 0x1b
5: e8 59 74 9a ff call 0xff9a7463
a: eb 15 jmp 0x21
c: e8 52 74 9a ff call 0xff9a7463
11: e8 dd 9c 48 08 call 0x8489cf3
16: 4d 85 e4 test %r12,%r12
19: 74 ea je 0x5
1b: e8 43 74 9a ff call 0xff9a7463
20: fb sti
21: 8b 1d 1c 99 99 0a mov 0xa99991c(%rip),%ebx # 0xa999943
* 27: 89 de mov %ebx,%esi <-- trapping instruction
29: 83 e6 01 and $0x1,%esi
2c: 31 ff xor %edi,%edi
2e: e8 90 77 9a ff call 0xff9a77c3
33: 89 d8 mov %ebx,%eax
35: 83 e0 01 and $0x1,%eax
38: 75 07 jne 0x41
3a: e8 .byte 0xe8
3b: 24 74 and $0x74,%al