================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 58388 is out of range for type 'const int[34]'
CPU: 1 PID: 5889 Comm: udevd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0xa58/0x34e0 drivers/usb/gadget/udc/dummy_hcd.c:2017
__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:__sanitizer_cov_trace_pc+0x5c/0x60 kernel/kcov.c:234
Code: 00 16 00 00 83 fa 02 75 21 48 8b 91 08 16 00 00 48 8b 32 48 8d 7e 01 8b 89 04 16 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 0f 1f 00 f3 0f 1e fa 48 8b 04 24 65 48 8b 15 60 45 7c 7e 65 8b
RSP: 0018:ffffc90004cf7608 EFLAGS: 00000293
RAX: ffffffff83ef20f6 RBX: dffffc0000000000 RCX: ffff888024970000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffff888030838690 R08: ffff8880308386c7 R09: 1ffff110061070d8
R10: dffffc0000000000 R11: ffffed10061070d9 R12: ffff8880308386b0
R13: 0000000000000086 R14: 0000000000000085 R15: 0000000000000001
tomoyo_check_acl+0x306/0x3f0 security/tomoyo/domain.c:183
tomoyo_path_permission+0x1a6/0x3a0 security/tomoyo/file.c:586
tomoyo_check_open_permission+0x2a7/0x460 security/tomoyo/file.c:777
security_file_open+0x62/0xa0 security/security.c:2968
do_dentry_open+0x32b/0x14b0 fs/open.c:916
do_open fs/namei.c:3683 [inline]
path_openat+0x284f/0x3270 fs/namei.c:3844
do_filp_open+0x1f2/0x430 fs/namei.c:3871
do_sys_openat2+0x134/0x1d0 fs/open.c:1422
do_sys_open fs/open.c:1437 [inline]
__do_sys_openat fs/open.c:1453 [inline]
__se_sys_openat fs/open.c:1448 [inline]
__x64_sys_openat+0x139/0x160 fs/open.c:1448
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:0x7fd3c72a7407
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:00007fff00f239f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fd3c7aa1880 RCX: 00007fd3c72a7407
RDX: 0000000000080000 RSI: 00007fff00f23b70 RDI: ffffffffffffff9c
RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000558b483527f5
R13: 0000558b483527f5 R14: 0000000000000001 R15: 0000558b4836d140
================================================================================
----------------
Code disassembly (best guess):
0: 00 16 add %dl,(%rsi)
2: 00 00 add %al,(%rax)
4: 83 fa 02 cmp $0x2,%edx
7: 75 21 jne 0x2a
9: 48 8b 91 08 16 00 00 mov 0x1608(%rcx),%rdx
10: 48 8b 32 mov (%rdx),%rsi
13: 48 8d 7e 01 lea 0x1(%rsi),%rdi
17: 8b 89 04 16 00 00 mov 0x1604(%rcx),%ecx
1d: 48 39 cf cmp %rcx,%rdi
20: 73 08 jae 0x2a
22: 48 89 3a mov %rdi,(%rdx)
25: 48 89 44 f2 08 mov %rax,0x8(%rdx,%rsi,8)
* 2a: c3 ret <-- trapping instruction
2b: 0f 1f 00 nopl (%rax)
2e: f3 0f 1e fa endbr64
32: 48 8b 04 24 mov (%rsp),%rax
36: 65 48 8b 15 60 45 7c mov %gs:0x7e7c4560(%rip),%rdx # 0x7e7c459e
3d: 7e
3e: 65 gs
3f: 8b .byte 0x8b