================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31
index 1279 is out of range for type 'const int[34]'
CPU: 0 PID: 6762 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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:console_emit_next_record+0x87e/0xa80 kernel/printk/printk.c:2797
Code: de 48 81 e6 00 02 00 00 31 ff e8 fd 83 19 00 48 81 e3 00 02 00 00 75 07 e8 2f 7f 19 00 eb 06 e8 28 7f 19 00 fb 0f b6 5c 24 17 <66> 43 c7 44 2f 20 f8 f8 43 c6 44 2f 22 f8 4f 89 74 2f 10 66 43 c7
RSP: 0018:ffffc9000076f3a0 EFLAGS: 00000293
RAX: ffffffff8157ef18 RBX: 0000000000000001 RCX: ffff88810903bcc0
RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000
RBP: ffffc9000076f590 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520000ede64 R12: ffffc9000076f5df
R13: dffffc0000000000 R14: f8f8f8f8f8f8f8f8 R15: 1ffff920000ede80
console_flush_all kernel/printk/printk.c:-1 [inline]
console_unlock+0x246/0x560 kernel/printk/printk.c:2917
vprintk_emit+0x14d/0x420 kernel/printk/printk.c:2308
vprintk_default+0x26/0x30 kernel/printk/printk.c:2323
vprintk+0x7a/0x80 kernel/printk/printk_safe.c:45
_printk+0xda/0x128 kernel/printk/printk.c:2333
f2fs_fill_dentries+0x868/0xcb0 fs/f2fs/dir.c:1038
f2fs_read_inline_dir+0x46b/0x740 fs/f2fs/inline.c:767
f2fs_readdir+0x6bf/0x990 fs/f2fs/dir.c:1121
iterate_dir+0x26d/0x610 fs/readdir.c:-1
__do_sys_getdents64 fs/readdir.c:369 [inline]
__se_sys_getdents64+0xf2/0x250 fs/readdir.c:354
__x64_sys_getdents64+0x7b/0x90 fs/readdir.c:354
x64_sys_call+0x15c/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:218
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa3587c6b73
Code: c7 c0 e8 ff ff ff 64 c7 00 16 00 00 00 31 c0 eb 9e e8 81 9b fd ff 90 b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 c7 c2 e8 ff ff ff f7 d8
RSP: 002b:00007ffebe0d2cc8 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 000055555f92f910 RCX: 00007fa3587c6b73
RDX: 0000000000008000 RSI: 000055555f92f940 RDI: 0000000000000005
RBP: 000055555f92f940 R08: 00007fa3589f4e20 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000293 R12: 000055555f92f914
R13: ffffffffffffffe8 R14: 0000000000000010 R15: 00007ffebe0d4f70
================================================================================
================================================================================
UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30
index 1280 is out of range for type 'const int[34]'
CPU: 0 PID: 6762 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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:console_emit_next_record+0x87e/0xa80 kernel/printk/printk.c:2797
Code: de 48 81 e6 00 02 00 00 31 ff e8 fd 83 19 00 48 81 e3 00 02 00 00 75 07 e8 2f 7f 19 00 eb 06 e8 28 7f 19 00 fb 0f b6 5c 24 17 <66> 43 c7 44 2f 20 f8 f8 43 c6 44 2f 22 f8 4f 89 74 2f 10 66 43 c7
RSP: 0018:ffffc9000076f3a0 EFLAGS: 00000293
RAX: ffffffff8157ef18 RBX: 0000000000000001 RCX: ffff88810903bcc0
RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000
RBP: ffffc9000076f590 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520000ede64 R12: ffffc9000076f5df
R13: dffffc0000000000 R14: f8f8f8f8f8f8f8f8 R15: 1ffff920000ede80
console_flush_all kernel/printk/printk.c:-1 [inline]
console_unlock+0x246/0x560 kernel/printk/printk.c:2917
vprintk_emit+0x14d/0x420 kernel/printk/printk.c:2308
vprintk_default+0x26/0x30 kernel/printk/printk.c:2323
vprintk+0x7a/0x80 kernel/printk/printk_safe.c:45
_printk+0xda/0x128 kernel/printk/printk.c:2333
f2fs_fill_dentries+0x868/0xcb0 fs/f2fs/dir.c:1038
f2fs_read_inline_dir+0x46b/0x740 fs/f2fs/inline.c:767
f2fs_readdir+0x6bf/0x990 fs/f2fs/dir.c:1121
iterate_dir+0x26d/0x610 fs/readdir.c:-1
__do_sys_getdents64 fs/readdir.c:369 [inline]
__se_sys_getdents64+0xf2/0x250 fs/readdir.c:354
__x64_sys_getdents64+0x7b/0x90 fs/readdir.c:354
x64_sys_call+0x15c/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:218
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa3587c6b73
Code: c7 c0 e8 ff ff ff 64 c7 00 16 00 00 00 31 c0 eb 9e e8 81 9b fd ff 90 b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 c7 c2 e8 ff ff ff f7 d8
RSP: 002b:00007ffebe0d2cc8 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 000055555f92f910 RCX: 00007fa3587c6b73
RDX: 0000000000008000 RSI: 000055555f92f940 RDI: 0000000000000005
RBP: 000055555f92f940 R08: 00007fa3589f4e20 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000293 R12: 000055555f92f914
R13: ffffffffffffffe8 R14: 0000000000000010 R15: 00007ffebe0d4f70
================================================================================
aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19
----------------
Code disassembly (best guess):
0: de 48 81 fimuls -0x7f(%rax)
3: e6 00 out %al,$0x0
5: 02 00 add (%rax),%al
7: 00 31 add %dh,(%rcx)
9: ff ljmp (bad)
a: e8 fd 83 19 00 call 0x19840c
f: 48 81 e3 00 02 00 00 and $0x200,%rbx
16: 75 07 jne 0x1f
18: e8 2f 7f 19 00 call 0x197f4c
1d: eb 06 jmp 0x25
1f: e8 28 7f 19 00 call 0x197f4c
24: fb sti
25: 0f b6 5c 24 17 movzbl 0x17(%rsp),%ebx
* 2a: 66 43 c7 44 2f 20 f8 movw $0xf8f8,0x20(%r15,%r13,1) <-- trapping instruction
31: f8
32: 43 c6 44 2f 22 f8 movb $0xf8,0x22(%r15,%r13,1)
38: 4f 89 74 2f 10 mov %r14,0x10(%r15,%r13,1)
3d: 66 data16
3e: 43 rex.XB
3f: c7 .byte 0xc7