================================================================================
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: 282 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:77
dump_stack_lvl+0x1a7/0x208 lib/dump_stack.c:118
dump_stack+0x15/0x1c lib/dump_stack.c:135
ubsan_epilogue+0xe/0x40 lib/ubsan.c:148
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:347
aiptek_irq+0x1fa2/0x2860 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x32f/0x4f0 drivers/usb/core/hcd.c:1672
usb_hcd_giveback_urb+0x11d/0x3f0 drivers/usb/core/hcd.c:1746
dummy_timer+0xa34/0x31d0 drivers/usb/gadget/udc/dummy_hcd.c:1986
call_timer_fn+0x38/0x290 kernel/time/timer.c:1450
expire_timers kernel/time/timer.c:1495 [inline]
__run_timers+0x637/0x9a0 kernel/time/timer.c:1789
run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1802
__do_softirq+0x255/0x563 kernel/softirq.c:309
asm_call_irq_on_stack+0xf/0x20
__run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:405 [inline]
__irq_exit_rcu+0x128/0x150 kernel/softirq.c:435
irq_exit_rcu+0x9/0x10 kernel/softirq.c:447
sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:kasan_check_range+0x1ca/0x2a0 mm/kasan/generic.c:-1
Code: 5c 24 07 4d 85 e4 49 0f 49 dc 48 83 e3 f8 49 29 dc 74 0e 41 80 3b 00 75 6b 49 ff c3 49 ff cc 75 f2 5b 41 5c 41 5d 41 5e 41 5f <5d> c3 45 84 ff 0f 85 91 00 00 00 41 f7 c7 00 ff 00 00 0f 85 89 00
RSP: 0018:ffffc90000c07720 EFLAGS: 00000256
RAX: ffffffff8194e501 RBX: ffffea0004913100 RCX: ffffffff8194e5a3
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffea0004913134
RBP: ffffc90000c07720 R08: ffffea0004913137 R09: 1ffffd4000922626
R10: dffffc0000000000 R11: fffff94000922627 R12: ffffea0004913108
R13: ffffea0004913100 R14: 80000001244c4007 R15: 1ffffd4000922621
__kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
atomic_inc include/asm-generic/atomic-instrumented.h:240 [inline]
page_ref_inc include/linux/page_ref.h:116 [inline]
get_page include/linux/mm.h:1238 [inline]
copy_present_pte mm/memory.c:910 [inline]
copy_pte_range mm/memory.c:1015 [inline]
copy_pmd_range mm/memory.c:1095 [inline]
copy_pud_range mm/memory.c:1132 [inline]
copy_p4d_range mm/memory.c:1156 [inline]
copy_page_range+0x1183/0x27a0 mm/memory.c:1229
dup_mmap kernel/fork.c:620 [inline]
dup_mm kernel/fork.c:1435 [inline]
copy_mm+0xbfc/0x13d0 kernel/fork.c:1491
copy_process+0x1386/0x3320 kernel/fork.c:2268
kernel_clone+0x233/0x950 kernel/fork.c:2650
__do_sys_clone kernel/fork.c:2776 [inline]
__se_sys_clone kernel/fork.c:2760 [inline]
__x64_sys_clone+0x198/0x210 kernel/fork.c:2760
do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7faa015fab52
Code: 89 e7 e8 71 8b f7 ff 45 31 c0 31 d2 31 f6 64 48 8b 04 25 10 00 00 00 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 89 c5 85 c0 75 3b 64 48 8b 04 25 10 00 00
RSP: 002b:00007ffe145cbe00 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffe145cbe00 RCX: 00007faa015fab52
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffe145cbf8c R08: 0000000000000000 R09: 0000000000000001
R10: 000055559312b7d0 R11: 0000000000000246 R12: 0000000000000000
R13: 00000000000927c0 R14: 000000000000cae8 R15: 00007ffe145cbfe0
================================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 19546 is out of range for type 'const int[34]'
CPU: 1 PID: 282 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
__dump_stack+0x21/0x24 lib/dump_stack.c:77
dump_stack_lvl+0x1a7/0x208 lib/dump_stack.c:118
dump_stack+0x15/0x1c lib/dump_stack.c:135
ubsan_epilogue+0xe/0x40 lib/ubsan.c:148
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:347
aiptek_irq+0x1e71/0x2860 drivers/input/tablet/aiptek.c:763
__usb_hcd_giveback_urb+0x32f/0x4f0 drivers/usb/core/hcd.c:1672
usb_hcd_giveback_urb+0x11d/0x3f0 drivers/usb/core/hcd.c:1746
dummy_timer+0xa34/0x31d0 drivers/usb/gadget/udc/dummy_hcd.c:1986
call_timer_fn+0x38/0x290 kernel/time/timer.c:1450
expire_timers kernel/time/timer.c:1495 [inline]
__run_timers+0x637/0x9a0 kernel/time/timer.c:1789
run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1802
__do_softirq+0x255/0x563 kernel/softirq.c:309
asm_call_irq_on_stack+0xf/0x20
__run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:405 [inline]
__irq_exit_rcu+0x128/0x150 kernel/softirq.c:435
irq_exit_rcu+0x9/0x10 kernel/softirq.c:447
sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:kasan_check_range+0x1ca/0x2a0 mm/kasan/generic.c:-1
Code: 5c 24 07 4d 85 e4 49 0f 49 dc 48 83 e3 f8 49 29 dc 74 0e 41 80 3b 00 75 6b 49 ff c3 49 ff cc 75 f2 5b 41 5c 41 5d 41 5e 41 5f <5d> c3 45 84 ff 0f 85 91 00 00 00 41 f7 c7 00 ff 00 00 0f 85 89 00
RSP: 0018:ffffc90000c07720 EFLAGS: 00000256
RAX: ffffffff8194e501 RBX: ffffea0004913100 RCX: ffffffff8194e5a3
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffea0004913134
RBP: ffffc90000c07720 R08: ffffea0004913137 R09: 1ffffd4000922626
R10: dffffc0000000000 R11: fffff94000922627 R12: ffffea0004913108
R13: ffffea0004913100 R14: 80000001244c4007 R15: 1ffffd4000922621
__kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
atomic_inc include/asm-generic/atomic-instrumented.h:240 [inline]
page_ref_inc include/linux/page_ref.h:116 [inline]
get_page include/linux/mm.h:1238 [inline]
copy_present_pte mm/memory.c:910 [inline]
copy_pte_range mm/memory.c:1015 [inline]
copy_pmd_range mm/memory.c:1095 [inline]
copy_pud_range mm/memory.c:1132 [inline]
copy_p4d_range mm/memory.c:1156 [inline]
copy_page_range+0x1183/0x27a0 mm/memory.c:1229
dup_mmap kernel/fork.c:620 [inline]
dup_mm kernel/fork.c:1435 [inline]
copy_mm+0xbfc/0x13d0 kernel/fork.c:1491
copy_process+0x1386/0x3320 kernel/fork.c:2268
kernel_clone+0x233/0x950 kernel/fork.c:2650
__do_sys_clone kernel/fork.c:2776 [inline]
__se_sys_clone kernel/fork.c:2760 [inline]
__x64_sys_clone+0x198/0x210 kernel/fork.c:2760
do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7faa015fab52
Code: 89 e7 e8 71 8b f7 ff 45 31 c0 31 d2 31 f6 64 48 8b 04 25 10 00 00 00 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 89 c5 85 c0 75 3b 64 48 8b 04 25 10 00 00
RSP: 002b:00007ffe145cbe00 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffe145cbe00 RCX: 00007faa015fab52
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffe145cbf8c R08: 0000000000000000 R09: 0000000000000001
R10: 000055559312b7d0 R11: 0000000000000246 R12: 0000000000000000
R13: 00000000000927c0 R14: 000000000000cae8 R15: 00007ffe145cbfe0
================================================================================
----------------
Code disassembly (best guess):
0: 5c pop %rsp
1: 24 07 and $0x7,%al
3: 4d 85 e4 test %r12,%r12
6: 49 0f 49 dc cmovns %r12,%rbx
a: 48 83 e3 f8 and $0xfffffffffffffff8,%rbx
e: 49 29 dc sub %rbx,%r12
11: 74 0e je 0x21
13: 41 80 3b 00 cmpb $0x0,(%r11)
17: 75 6b jne 0x84
19: 49 ff c3 inc %r11
1c: 49 ff cc dec %r12
1f: 75 f2 jne 0x13
21: 5b pop %rbx
22: 41 5c pop %r12
24: 41 5d pop %r13
26: 41 5e pop %r14
28: 41 5f pop %r15
* 2a: 5d pop %rbp <-- trapping instruction
2b: c3 ret
2c: 45 84 ff test %r15b,%r15b
2f: 0f 85 91 00 00 00 jne 0xc6
35: 41 f7 c7 00 ff 00 00 test $0xff00,%r15d
3c: 0f .byte 0xf
3d: 85 .byte 0x85
3e: 89 00 mov %eax,(%rax)