================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 21287 is out of range for type 'const int[34]'
CPU: 1 PID: 16366 Comm: kworker/1:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
Workqueue: events console_callback
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+0xa40/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2003
__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:notify_update drivers/tty/vt/vt.c:273 [inline]
RIP: 0010:console_callback+0x368/0x440 drivers/tty/vt/vt.c:2961
Code: e8 03 42 80 3c 38 00 74 08 48 89 df e8 61 62 33 fd 48 8b 03 66 43 c7 44 3c 04 00 00 48 89 44 24 20 48 c7 44 24 28 00 00 00 00 04 00 00 00 48 c7 c7 40 32 8c 8d 4c 89 f2 e8 64 83 ae fc 66 43
RSP: 0000:ffffc9000bdcfb20 EFLAGS: 00000246
RAX: ffff888018651000 RBX: ffffffff97622f40 RCX: ffff88802abc1e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000003f
RBP: ffffc9000bdcfbb0 R08: ffffffff911eb507 R09: 1ffffffff223d6a0
R10: dffffc0000000000 R11: fffffbfff223d6a1 R12: 1ffff920017b9f64
R13: 0000000000000001 R14: ffffc9000bdcfb40 R15: dffffc0000000000
process_one_work kernel/workqueue.c:2653 [inline]
process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2730
worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2811
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
================================================================================
----------------
Code disassembly (best guess):
0: e8 03 42 80 3c call 0x3c804208
5: 38 00 cmp %al,(%rax)
7: 74 08 je 0x11
9: 48 89 df mov %rbx,%rdi
c: e8 61 62 33 fd call 0xfd336272
11: 48 8b 03 mov (%rbx),%rax
14: 66 43 c7 44 3c 04 00 movw $0x0,0x4(%r12,%r15,1)
1b: 00
1c: 48 89 44 24 20 mov %rax,0x20(%rsp)
21: 48 c7 44 24 28 00 00 movq $0x0,0x28(%rsp)
28: 00 00
* 2a: be 04 00 00 00 mov $0x4,%esi <-- trapping instruction
2f: 48 c7 c7 40 32 8c 8d mov $0xffffffff8d8c3240,%rdi
36: 4c 89 f2 mov %r14,%rdx
39: e8 64 83 ae fc call 0xfcae83a2
3e: 66 data16
3f: 43 rex.XB