------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 46562 is out of range for type 'const int[34]'
CPU: 0 UID: 0 PID: 6957 Comm: syz.1.249 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <IRQ>
 dump_stack_lvl+0xe8/0x150
 ubsan_epilogue+0xa/0x30
 __ubsan_handle_out_of_bounds+0xe8/0xf0
 aiptek_irq+0x1ebd/0x29c0
 __usb_hcd_giveback_urb+0x374/0x530
 dummy_timer+0xa47/0x4b60
 __hrtimer_run_queues+0x527/0xc90
 hrtimer_run_softirq+0x182/0x580
 handle_softirqs+0x225/0x870
 __irq_exit_rcu+0x5f/0x150
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50
Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 da d4 ef f5 48 89 df e8 62 4a f0 f5 e8 cd 90 1b f6 fb bf 01 00 00 00 <e8> 12 17 e2 f5 65 8b 05 db 8c 6b 07 85 c0 74 07 5b e9 01 48 00 00
RSP: 0018:ffffc900205bf710 EFLAGS: 00000206
RAX: 000000000000552b RBX: ffff88810b915dc8 RCX: 0000000080000001
RDX: 0000000000000006 RSI: ffffffff8def4fc8 RDI: 0000000000000001
RBP: ffffc900205bf870 R08: ffffffff901187f7 R09: 1ffffffff20230fe
R10: dffffc0000000000 R11: fffffbfff20230ff R12: dffffc0000000000
R13: ffffc900205bf7c0 R14: 0000000000000000 R15: 0000000000000001
 shmem_add_to_page_cache+0xa5e/0xd40
 shmem_alloc_and_add_folio+0x858/0xf60
 shmem_get_folio_gfp+0x5b2/0x16c0
 shmem_write_begin+0x16c/0x330
 generic_perform_write+0x2d5/0x8f0
 shmem_file_write_iter+0xf8/0x120
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
 do_syscall_64+0x170/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f434a35e84e
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 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007f434b20fda8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f434b2106c0 RCX: 00007f434a35e84e
RDX: 0000000001000000 RSI: 00007f4340000000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 00007f434b20fee0 R14: 00007f434b20fea0 R15: 00007f4340000000
 </TASK>
---[ end trace ]---
