------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 21762 is out of range for type 'const int[34]'
CPU: 0 UID: 0 PID: 490 Comm: syz.1.48 Not tainted syzkaller #0 5676c8b0feefcba4e903dddff460827408f065be
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
dump_stack+0x19/0x20 lib/dump_stack.c:129
ubsan_epilogue+0xe/0x40 lib/ubsan.c:231
__ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:429
aiptek_irq+0x208d/0x2a00 drivers/input/tablet/aiptek.c:741
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1646
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1758 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x5b/0x70 kernel/locking/spinlock.c:194
Code: ce 87 e8 38 26 36 fc 4c 89 f7 48 83 3d 2d 96 21 02 00 74 29 e8 d6 0d 00 00 90 f7 c3 00 02 00 00 74 01 fb 65 ff 0d 5d f6 57 7a <74> 0a 5b 41 5e 5d c3 cc cc cc cc cc e8 d4 02 5d fb eb ef 0f 0b b8
RSP: 0018:ffffc9000ddefa00 EFLAGS: 00000282
RAX: 0000000000000001 RBX: 0000000000000a02 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000a02 RDI: ffff888134f1b18c
RBP: ffffc9000ddefa10 R08: ffff888118c862c7 R09: 1ffff11023190c58
R10: dffffc0000000000 R11: 0000000000000000 R12: ffff8881f6d4fdc0
R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000088
class_raw_spinlock_irqsave_destructor include/linux/spinlock.h:620 [inline]
try_to_wake_up+0xf5a/0x1d10 kernel/sched/core.c:4875
wake_up_process kernel/sched/core.c:5146 [inline]
wake_up_q+0xde/0x1c0 kernel/sched/core.c:1205
futex_wake+0x654/0x950 kernel/futex/waitwake.c:203
do_futex+0x37d/0x510 kernel/futex/syscalls.c:137
__do_sys_futex kernel/futex/syscalls.c:209 [inline]
__se_sys_futex+0x13c/0x320 kernel/futex/syscalls.c:190
__x64_sys_futex+0xe9/0x110 kernel/futex/syscalls.c:190
x64_sys_call+0x227f/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:203
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fe51fba94d9
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:00007ffdeb8e3b78 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe51fba94d9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fe51fe25fa8
RBP: 0000000000001dda R08: 0000000000000020 R09: 0000000000000000
R10: 00007fe51fe25fa0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe51fe25fac R14: 00007fe51fe25fa8 R15: 00007fe51fe25fa0
---[ end trace ]---
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 21763 is out of range for type 'const int[34]'
CPU: 0 UID: 0 PID: 490 Comm: syz.1.48 Not tainted syzkaller #0 5676c8b0feefcba4e903dddff460827408f065be
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
dump_stack+0x19/0x20 lib/dump_stack.c:129
ubsan_epilogue+0xe/0x40 lib/ubsan.c:231
__ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:429
aiptek_irq+0x1f3c/0x2a00 drivers/input/tablet/aiptek.c:763
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1646
usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730
dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003
__run_hrtimer kernel/time/hrtimer.c:1758 [inline]
__hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1822
hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839
handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684
__do_softirq kernel/softirq.c:722 [inline]
invoke_softirq kernel/softirq.c:539 [inline]
__irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771
irq_exit_rcu+0xd/0x30 kernel/softirq.c:783
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x5b/0x70 kernel/locking/spinlock.c:194
Code: ce 87 e8 38 26 36 fc 4c 89 f7 48 83 3d 2d 96 21 02 00 74 29 e8 d6 0d 00 00 90 f7 c3 00 02 00 00 74 01 fb 65 ff 0d 5d f6 57 7a <74> 0a 5b 41 5e 5d c3 cc cc cc cc cc e8 d4 02 5d fb eb ef 0f 0b b8
RSP: 0018:ffffc9000ddefa00 EFLAGS: 00000282
RAX: 0000000000000001 RBX: 0000000000000a02 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000a02 RDI: ffff888134f1b18c
RBP: ffffc9000ddefa10 R08: ffff888118c862c7 R09: 1ffff11023190c58
R10: dffffc0000000000 R11: 0000000000000000 R12: ffff8881f6d4fdc0
R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000088
class_raw_spinlock_irqsave_destructor include/linux/spinlock.h:620 [inline]
try_to_wake_up+0xf5a/0x1d10 kernel/sched/core.c:4875
wake_up_process kernel/sched/core.c:5146 [inline]
wake_up_q+0xde/0x1c0 kernel/sched/core.c:1205
futex_wake+0x654/0x950 kernel/futex/waitwake.c:203
do_futex+0x37d/0x510 kernel/futex/syscalls.c:137
__do_sys_futex kernel/futex/syscalls.c:209 [inline]
__se_sys_futex+0x13c/0x320 kernel/futex/syscalls.c:190
__x64_sys_futex+0xe9/0x110 kernel/futex/syscalls.c:190
x64_sys_call+0x227f/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:203
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fe51fba94d9
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:00007ffdeb8e3b78 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe51fba94d9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fe51fe25fa8
RBP: 0000000000001dda R08: 0000000000000020 R09: 0000000000000000
R10: 00007fe51fe25fa0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe51fe25fac R14: 00007fe51fe25fa8 R15: 00007fe51fe25fa0
---[ end trace ]---
aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 87 e8 xchg %ebp,%eax
2: 38 26 cmp %ah,(%rsi)
4: 36 fc ss cld
6: 4c 89 f7 mov %r14,%rdi
9: 48 83 3d 2d 96 21 02 cmpq $0x0,0x221962d(%rip) # 0x221963e
10: 00
11: 74 29 je 0x3c
13: e8 d6 0d 00 00 call 0xdee
18: 90 nop
19: f7 c3 00 02 00 00 test $0x200,%ebx
1f: 74 01 je 0x22
21: fb sti
22: 65 ff 0d 5d f6 57 7a decl %gs:0x7a57f65d(%rip) # 0x7a57f686
* 29: 74 0a je 0x35 <-- trapping instruction
2b: 5b pop %rbx
2c: 41 5e pop %r14
2e: 5d pop %rbp
2f: c3 ret
30: cc int3
31: cc int3
32: cc int3
33: cc int3
34: cc int3
35: e8 d4 02 5d fb call 0xfb5d030e
3a: eb ef jmp 0x2b
3c: 0f 0b ud2
3e: b8 .byte 0xb8