================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 38370 is out of range for type 'const int[34]'
CPU: 0 PID: 1576 Comm: syz.1.351 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:1675
usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758
dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766
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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x48/0x70 kernel/locking/spinlock.c:202
Code: 74 12 48 89 fb 48 c7 c7 80 db 0d 87 e8 f1 f0 b5 fc 48 89 df 48 83 3d 76 db 0c 02 00 74 26 e8 13 0d 00 00 90 fb bf 01 00 00 00 53 96 4b fc 65 8b 05 a4 6d 01 7b 85 c0 74 03 5b 5d c3 e8 74 7c
RSP: 0018:ffffc90000de7648 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff11022e36a81 RCX: dffffc0000000000
RDX: ffff8881311fff58 RSI: 0000000000000004 RDI: 0000000000000001
RBP: ffffc90000de7650 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520001bcebc R12: ffff8881171b5430
R13: dffffc0000000000 R14: ffff8881171b5438 R15: ffff8881171b5408
spin_unlock_irq include/linux/spinlock.h:401 [inline]
io_poll_remove_entry io_uring/poll.c:186 [inline]
io_poll_remove_entries+0x455/0x500 io_uring/poll.c:218
__io_arm_poll_handler+0x703/0xbe0 io_uring/poll.c:639
io_arm_poll_handler+0x789/0xad0 io_uring/poll.c:753
io_queue_async+0x7a/0x800 io_uring/io_uring.c:1908
io_queue_sqe io_uring/io_uring.c:1934 [inline]
io_req_task_submit+0x140/0x1a0 io_uring/io_uring.c:1255
handle_tw_list+0x244/0x3a0 io_uring/io_uring.c:1038
tctx_task_work+0x122/0x320 io_uring/io_uring.c:1096
task_work_run+0x1e1/0x250 kernel/task_work.c:203
get_signal+0x12e8/0x1700 kernel/signal.c:2668
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
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fcbfb59e0d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcbfc403f38 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 00007fcbfb59e0d9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004
RBP: 00000000000001fa R08: 0000000000000000 R09: 0000000000000008
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000500
R13: 0000200000000508 R14: 00000000000003c9 R15: 0000000000000000
================================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 38371 is out of range for type 'const int[34]'
CPU: 0 PID: 1576 Comm: syz.1.351 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:1675
usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758
dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766
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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x48/0x70 kernel/locking/spinlock.c:202
Code: 74 12 48 89 fb 48 c7 c7 80 db 0d 87 e8 f1 f0 b5 fc 48 89 df 48 83 3d 76 db 0c 02 00 74 26 e8 13 0d 00 00 90 fb bf 01 00 00 00 53 96 4b fc 65 8b 05 a4 6d 01 7b 85 c0 74 03 5b 5d c3 e8 74 7c
RSP: 0018:ffffc90000de7648 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff11022e36a81 RCX: dffffc0000000000
RDX: ffff8881311fff58 RSI: 0000000000000004 RDI: 0000000000000001
RBP: ffffc90000de7650 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520001bcebc R12: ffff8881171b5430
R13: dffffc0000000000 R14: ffff8881171b5438 R15: ffff8881171b5408
spin_unlock_irq include/linux/spinlock.h:401 [inline]
io_poll_remove_entry io_uring/poll.c:186 [inline]
io_poll_remove_entries+0x455/0x500 io_uring/poll.c:218
__io_arm_poll_handler+0x703/0xbe0 io_uring/poll.c:639
io_arm_poll_handler+0x789/0xad0 io_uring/poll.c:753
io_queue_async+0x7a/0x800 io_uring/io_uring.c:1908
io_queue_sqe io_uring/io_uring.c:1934 [inline]
io_req_task_submit+0x140/0x1a0 io_uring/io_uring.c:1255
handle_tw_list+0x244/0x3a0 io_uring/io_uring.c:1038
tctx_task_work+0x122/0x320 io_uring/io_uring.c:1096
task_work_run+0x1e1/0x250 kernel/task_work.c:203
get_signal+0x12e8/0x1700 kernel/signal.c:2668
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
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fcbfb59e0d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcbfc403f38 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 00007fcbfb59e0d9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004
RBP: 00000000000001fa R08: 0000000000000000 R09: 0000000000000008
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000500
R13: 0000200000000508 R14: 00000000000003c9 R15: 0000000000000000
================================================================================
aiptek 6-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess):
0: 74 12 je 0x14
2: 48 89 fb mov %rdi,%rbx
5: 48 c7 c7 80 db 0d 87 mov $0xffffffff870ddb80,%rdi
c: e8 f1 f0 b5 fc call 0xfcb5f102
11: 48 89 df mov %rbx,%rdi
14: 48 83 3d 76 db 0c 02 cmpq $0x0,0x20cdb76(%rip) # 0x20cdb92
1b: 00
1c: 74 26 je 0x44
1e: e8 13 0d 00 00 call 0xd36
23: 90 nop
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 53 96 4b fc call 0xfc4b9682 <-- trapping instruction
2f: 65 8b 05 a4 6d 01 7b mov %gs:0x7b016da4(%rip),%eax # 0x7b016dda
36: 85 c0 test %eax,%eax
38: 74 03 je 0x3d
3a: 5b pop %rbx
3b: 5d pop %rbp
3c: c3 ret
3d: e8 .byte 0xe8
3e: 74 7c je 0xbc