================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 18976 is out of range for type 'const int[34]'
CPU: 0 PID: 2503 Comm: syz.2.520 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:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
dump_stack+0x15/0x24 lib/dump_stack.c:113
ubsan_epilogue+0xe/0x40 lib/ubsan.c:151
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282
aiptek_irq+0x2045/0x29b0 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1673
usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1756
dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1689 [inline]
__hrtimer_run_queues+0x398/0x8a0 kernel/time/hrtimer.c:1753
hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1770
handle_softirqs+0x1d7/0x600 kernel/softirq.c:642
__do_softirq kernel/softirq.c:680 [inline]
invoke_softirq kernel/softirq.c:497 [inline]
__irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729
irq_exit_rcu+0x9/0x10 kernel/softirq.c:741
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:do_fault+0x1b5f/0x1e30 mm/memory.c:4898
Code: 49 bc 00 00 00 00 00 fc ff df 42 80 3c 23 00 74 08 4c 89 ef e8 02 b5 0a 00 49 c7 45 00 00 00 00 00 48 c7 44 24 40 0e 36 e0 45 <48> 8b 44 24 28 4a c7 04 20 00 00 00 00 42 c7 44 20 08 00 00 00 00
RSP: 0018:ffffc90000da6ea0 EFLAGS: 00000293
RAX: ffffffff81ac40a3 RBX: 1ffff920001b4e1d RCX: ffff88811d258000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000da6f90 R08: ffffea0005005e07 R09: 1ffffd4000a00bc0
R10: dffffc0000000000 R11: fffff94000a00bc1 R12: dffffc0000000000
R13: ffffc90000da70e8 R14: 0000000000000000 R15: 0000000000000200
handle_pte_fault mm/memory.c:5183 [inline]
__handle_mm_fault mm/memory.c:5325 [inline]
handle_mm_fault+0x1363/0x26b0 mm/memory.c:5465
faultin_page mm/gup.c:1026 [inline]
__get_user_pages+0x34b/0xdb0 mm/gup.c:1250
__get_user_pages_locked mm/gup.c:1454 [inline]
get_dump_page+0x169/0x640 mm/gup.c:1952
dump_user_range+0x123/0x630 fs/coredump.c:911
elf_core_dump+0x2b60/0x30b0 fs/binfmt_elf.c:2354
do_coredump+0x160e/0x23a0 fs/coredump.c:760
get_signal+0x157d/0x1700 kernel/signal.c:2890
arch_do_signal_or_restart+0xd1/0x11c0 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x7a/0xb0 kernel/entry/common.c:174
exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:316
irqentry_exit+0x12/0x40 kernel/entry/common.c:419
exc_page_fault+0x5e/0xb0 arch/x86/mm/fault.c:1520
asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0033:0x7f3921053bd7
Code: e8 fe f9 ff ff 89 f2 48 8d 3d 8d 4f 1b 00 48 8d 35 da 0a 1e 00 31 c0 e8 37 f8 ff ff 0f 1f 80 00 00 00 00 53 89 fb 48 83 ec 10 <64> 8b 04 25 a4 ff ff ff 85 c0 74 2a 89 fe 31 c0 bf 3c 00 00 00 e8
RSP: 002b:00007f3921f72120 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007f392119e159
RDX: 00007f3921f72140 RSI: 00007f3921f72270 RDI: 000000000000000b
RBP: 00007f392123503b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f3921426128 R14: 00007f3921426090 R15: 00007ffe91a18ad8
================================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 18977 is out of range for type 'const int[34]'
CPU: 0 PID: 2503 Comm: syz.2.520 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:88
dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106
dump_stack+0x15/0x24 lib/dump_stack.c:113
ubsan_epilogue+0xe/0x40 lib/ubsan.c:151
__ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282
aiptek_irq+0x1f14/0x29b0 drivers/input/tablet/aiptek.c:763
__usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1673
usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1756
dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1689 [inline]
__hrtimer_run_queues+0x398/0x8a0 kernel/time/hrtimer.c:1753
hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1770
handle_softirqs+0x1d7/0x600 kernel/softirq.c:642
__do_softirq kernel/softirq.c:680 [inline]
invoke_softirq kernel/softirq.c:497 [inline]
__irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729
irq_exit_rcu+0x9/0x10 kernel/softirq.c:741
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:do_fault+0x1b5f/0x1e30 mm/memory.c:4898
Code: 49 bc 00 00 00 00 00 fc ff df 42 80 3c 23 00 74 08 4c 89 ef e8 02 b5 0a 00 49 c7 45 00 00 00 00 00 48 c7 44 24 40 0e 36 e0 45 <48> 8b 44 24 28 4a c7 04 20 00 00 00 00 42 c7 44 20 08 00 00 00 00
RSP: 0018:ffffc90000da6ea0 EFLAGS: 00000293
RAX: ffffffff81ac40a3 RBX: 1ffff920001b4e1d RCX: ffff88811d258000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000da6f90 R08: ffffea0005005e07 R09: 1ffffd4000a00bc0
R10: dffffc0000000000 R11: fffff94000a00bc1 R12: dffffc0000000000
R13: ffffc90000da70e8 R14: 0000000000000000 R15: 0000000000000200
handle_pte_fault mm/memory.c:5183 [inline]
__handle_mm_fault mm/memory.c:5325 [inline]
handle_mm_fault+0x1363/0x26b0 mm/memory.c:5465
faultin_page mm/gup.c:1026 [inline]
__get_user_pages+0x34b/0xdb0 mm/gup.c:1250
__get_user_pages_locked mm/gup.c:1454 [inline]
get_dump_page+0x169/0x640 mm/gup.c:1952
dump_user_range+0x123/0x630 fs/coredump.c:911
elf_core_dump+0x2b60/0x30b0 fs/binfmt_elf.c:2354
do_coredump+0x160e/0x23a0 fs/coredump.c:760
get_signal+0x157d/0x1700 kernel/signal.c:2890
arch_do_signal_or_restart+0xd1/0x11c0 arch/x86/kernel/signal.c:871
exit_to_user_mode_loop+0x7a/0xb0 kernel/entry/common.c:174
exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:316
irqentry_exit+0x12/0x40 kernel/entry/common.c:419
exc_page_fault+0x5e/0xb0 arch/x86/mm/fault.c:1520
asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0033:0x7f3921053bd7
Code: e8 fe f9 ff ff 89 f2 48 8d 3d 8d 4f 1b 00 48 8d 35 da 0a 1e 00 31 c0 e8 37 f8 ff ff 0f 1f 80 00 00 00 00 53 89 fb 48 83 ec 10 <64> 8b 04 25 a4 ff ff ff 85 c0 74 2a 89 fe 31 c0 bf 3c 00 00 00 e8
RSP: 002b:00007f3921f72120 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007f392119e159
RDX: 00007f3921f72140 RSI: 00007f3921f72270 RDI: 000000000000000b
RBP: 00007f392123503b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f3921426128 R14: 00007f3921426090 R15: 00007ffe91a18ad8
================================================================================
aiptek 8-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess):
0: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12
7: fc ff df
a: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1)
f: 74 08 je 0x19
11: 4c 89 ef mov %r13,%rdi
14: e8 02 b5 0a 00 call 0xab51b
19: 49 c7 45 00 00 00 00 movq $0x0,0x0(%r13)
20: 00
21: 48 c7 44 24 40 0e 36 movq $0x45e0360e,0x40(%rsp)
28: e0 45
* 2a: 48 8b 44 24 28 mov 0x28(%rsp),%rax <-- trapping instruction
2f: 4a c7 04 20 00 00 00 movq $0x0,(%rax,%r12,1)
36: 00
37: 42 c7 44 20 08 00 00 movl $0x0,0x8(%rax,%r12,1)
3e: 00 00