================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 19545 is out of range for type 'const int[34]'
CPU: 1 PID: 4231 Comm: kworker/1:7 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: usb_hub_wq hub_event
Call Trace:
dump_stack_lvl+0x188/0x250 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:1672
dummy_timer+0xa41/0x33c0 drivers/usb/gadget/udc/dummy_hcd.c:1998
call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
expire_timers kernel/time/timer.c:1699 [inline]
__run_timers+0x56c/0x810 kernel/time/timer.c:1970
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
handle_softirqs+0x336/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:console_unlock+0xc90/0x10f0 kernel/printk/printk.c:2749
Code: 75 11 e8 13 df 18 00 4d 85 e4 75 16 e8 09 df 18 00 eb 15 e8 02 df 18 00 e8 dd f6 5f 08 4d 85 e4 74 ea e8 f3 de 18 00 fb 31 ff <89> de e8 49 e2 18 00 85 db 0f 94 c0 22 44 24 1f 3c 01 75 1f e8 d7
RSP: 0018:ffffc9000352f240 EFLAGS: 00000246
RAX: ffffffff81601dbd RBX: 0000000000000000 RCX: 0000000000100000
RDX: ffffc90012506000 RSI: 000000000000f76a RDI: 0000000000000000
RBP: ffffc9000352f4b0 R08: ffffffff901ee0c7 R09: 1ffffffff203dc18
R10: dffffc0000000000 R11: fffffbfff203dc19 R12: 0000000000000200
R13: 0000000000000059 R14: 0000000000000000 R15: dffffc0000000000
vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274
dev_vprintk_emit+0x2c2/0x360 drivers/base/core.c:4665
dev_printk_emit+0xeb/0x140 drivers/base/core.c:4676
_dev_info+0x11b/0x170 drivers/base/core.c:4734
announce_device+0x117/0x2b0 drivers/usb/core/hub.c:2350
usb_new_device+0x48f/0x15d0 drivers/usb/core/hub.c:2613
hub_port_connect drivers/usb/core/hub.c:5497 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5637 [inline]
port_event drivers/usb/core/hub.c:5799 [inline]
hub_event+0x2b8d/0x5260 drivers/usb/core/hub.c:5881
process_one_work+0x867/0xff0 kernel/workqueue.c:2310
worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
================================================================================
----------------
Code disassembly (best guess):
0: 75 11 jne 0x13
2: e8 13 df 18 00 call 0x18df1a
7: 4d 85 e4 test %r12,%r12
a: 75 16 jne 0x22
c: e8 09 df 18 00 call 0x18df1a
11: eb 15 jmp 0x28
13: e8 02 df 18 00 call 0x18df1a
18: e8 dd f6 5f 08 call 0x85ff6fa
1d: 4d 85 e4 test %r12,%r12
20: 74 ea je 0xc
22: e8 f3 de 18 00 call 0x18df1a
27: fb sti
28: 31 ff xor %edi,%edi
* 2a: 89 de mov %ebx,%esi <-- trapping instruction
2c: e8 49 e2 18 00 call 0x18e27a
31: 85 db test %ebx,%ebx
33: 0f 94 c0 sete %al
36: 22 44 24 1f and 0x1f(%rsp),%al
3a: 3c 01 cmp $0x1,%al
3c: 75 1f jne 0x5d
3e: e8 .byte 0xe8
3f: d7 xlat %ds:(%rbx)