------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 51760 is out of range for type 'const int[34]'
CPU: 1 UID: 0 PID: 370 Comm: syz.2.11 Not tainted syzkaller #0 4c932c043eb01f9e3eebd51d42a946ef7c91072c
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+0x3ab/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:syscall_enter_from_user_mode_work include/linux/entry-common.h:165 [inline]
RIP: 0010:syscall_enter_from_user_mode include/linux/entry-common.h:198 [inline]
RIP: 0010:do_syscall_64+0x23/0xf0 arch/x86/entry/common.c:74
Code: 90 90 90 90 90 90 90 66 0f 1f 00 55 48 89 e5 41 56 53 48 83 e4 f0 48 89 e3 49 89 fe 0f 1f 44 00 00 fb 65 48 8b 05 0d 45 5a 7a <48> 8b 50 08 f6 c2 3f 74 0e 48 63 f6 4c 89 f7 e8 79 eb ca fb 48 89
RSP: 0018:ffffc9000e947f30 EFLAGS: 00000286
RAX: ffff888135c50000 RBX: ffffc9000e947f30 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 00000000000001aa RDI: ffffc9000e947f58
RBP: ffffc9000e947f48 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc9000e947f58 R15: 0000000000000000
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f77c8ba94d9
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:00007f77c99c4f38 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f77c8ba94d9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000007
RBP: 00000000000002e7 R08: 0000000000000000 R09: 0000000000000008
R10: 0000000000000000 R11: 0000000000000246 R12: 00002000000002c0
R13: 00002000000002c8 R14: 00000000000003c9 R15: 0000000000000000
---[ end trace ]---
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 51761 is out of range for type 'const int[34]'
CPU: 1 UID: 0 PID: 370 Comm: syz.2.11 Not tainted syzkaller #0 4c932c043eb01f9e3eebd51d42a946ef7c91072c
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+0x3ab/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:syscall_enter_from_user_mode_work include/linux/entry-common.h:165 [inline]
RIP: 0010:syscall_enter_from_user_mode include/linux/entry-common.h:198 [inline]
RIP: 0010:do_syscall_64+0x23/0xf0 arch/x86/entry/common.c:74
Code: 90 90 90 90 90 90 90 66 0f 1f 00 55 48 89 e5 41 56 53 48 83 e4 f0 48 89 e3 49 89 fe 0f 1f 44 00 00 fb 65 48 8b 05 0d 45 5a 7a <48> 8b 50 08 f6 c2 3f 74 0e 48 63 f6 4c 89 f7 e8 79 eb ca fb 48 89
RSP: 0018:ffffc9000e947f30 EFLAGS: 00000286
RAX: ffff888135c50000 RBX: ffffc9000e947f30 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 00000000000001aa RDI: ffffc9000e947f58
RBP: ffffc9000e947f48 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc9000e947f58 R15: 0000000000000000
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f77c8ba94d9
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:00007f77c99c4f38 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f77c8ba94d9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000007
RBP: 00000000000002e7 R08: 0000000000000000 R09: 0000000000000008
R10: 0000000000000000 R11: 0000000000000246 R12: 00002000000002c0
R13: 00002000000002c8 R14: 00000000000003c9 R15: 0000000000000000
---[ end trace ]---
aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess):
0: 90 nop
1: 90 nop
2: 90 nop
3: 90 nop
4: 90 nop
5: 90 nop
6: 90 nop
7: 66 0f 1f 00 nopw (%rax)
b: 55 push %rbp
c: 48 89 e5 mov %rsp,%rbp
f: 41 56 push %r14
11: 53 push %rbx
12: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp
16: 48 89 e3 mov %rsp,%rbx
19: 49 89 fe mov %rdi,%r14
1c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
21: fb sti
22: 65 48 8b 05 0d 45 5a mov %gs:0x7a5a450d(%rip),%rax # 0x7a5a4537
29: 7a
* 2a: 48 8b 50 08 mov 0x8(%rax),%rdx <-- trapping instruction
2e: f6 c2 3f test $0x3f,%dl
31: 74 0e je 0x41
33: 48 63 f6 movslq %esi,%rsi
36: 4c 89 f7 mov %r14,%rdi
39: e8 79 eb ca fb call 0xfbcaebb7
3e: 48 rex.W
3f: 89 .byte 0x89