------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 261 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 541 Comm: syz.4.51 Not tainted syzkaller #0 f49fde4b0c45121d7a445e7def5dbe315378ec14 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x20cb/0x2a00 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 kernel/softirq.c:621 __do_softirq kernel/softirq.c:659 [inline] invoke_softirq kernel/softirq.c:476 [inline] __irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708 irq_exit_rcu+0xd/0x30 kernel/softirq.c:720 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:__sanitizer_cov_trace_pc+0x5/0x70 kernel/kcov.c:210 Code: e8 70 93 54 00 5b 5d e9 c9 32 23 04 cc cc cc cc cc cc cc cc cc b8 3e 3d f5 2b 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d bc 29 7d 7e 65 8b 15 bd 29 7d 7e RSP: 0018:ffffc9000b73fd80 EFLAGS: 00000202 RAX: ffffffff815362ca RBX: dffffc0000000000 RCX: 0000000000000002 RDX: ffff888118c29300 RSI: 0000000000000002 RDI: 00000000ffffffff RBP: ffffc9000b73fdd0 R08: ffff888118c29307 R09: 1ffff11023185260 R10: dffffc0000000000 R11: ffffed1023185261 R12: 0000000000000002 R13: 1ffff1102318537d R14: ffff888118c29300 R15: ffff888118c29be8 handle_signal arch/x86/kernel/signal.c:312 [inline] arch_do_signal_or_restart+0x42c/0x760 arch/x86/kernel/signal.c:339 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x57/0xb0 kernel/entry/common.c:218 do_syscall_64+0x63/0xf0 arch/x86/entry/common.c:84 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7fe0c91bc3d0 Code: 83 c0 16 83 e0 f7 74 12 50 48 8d 3d aa 1c 07 00 e8 65 65 f9 ff 0f 1f 44 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <83> ff 21 74 0b c3 66 2e 0f 1f 84 00 00 00 00 00 55 53 48 89 f3 48 RSP: 002b:00007fe0ca01da78 EFLAGS: 00000246 ORIG_RAX: 0000000000000142 RAX: 0000000000000000 RBX: 00007fe0c9415fa0 RCX: 00007fe0c919ce59 RDX: 00007fe0ca01da80 RSI: 00007fe0ca01dbb0 RDI: 0000000000000021 RBP: 00007fe0c9232d6f R08: 0000000000001000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe0c9416038 R14: 00007fe0c9415fa0 R15: 00007ffcc733b458 ---[ end trace ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 262 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 541 Comm: syz.4.51 Not tainted syzkaller #0 f49fde4b0c45121d7a445e7def5dbe315378ec14 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x1f85/0x2a00 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 kernel/softirq.c:621 __do_softirq kernel/softirq.c:659 [inline] invoke_softirq kernel/softirq.c:476 [inline] __irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708 irq_exit_rcu+0xd/0x30 kernel/softirq.c:720 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:__sanitizer_cov_trace_pc+0x5/0x70 kernel/kcov.c:210 Code: e8 70 93 54 00 5b 5d e9 c9 32 23 04 cc cc cc cc cc cc cc cc cc b8 3e 3d f5 2b 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d bc 29 7d 7e 65 8b 15 bd 29 7d 7e RSP: 0018:ffffc9000b73fd80 EFLAGS: 00000202 RAX: ffffffff815362ca RBX: dffffc0000000000 RCX: 0000000000000002 RDX: ffff888118c29300 RSI: 0000000000000002 RDI: 00000000ffffffff RBP: ffffc9000b73fdd0 R08: ffff888118c29307 R09: 1ffff11023185260 R10: dffffc0000000000 R11: ffffed1023185261 R12: 0000000000000002 R13: 1ffff1102318537d R14: ffff888118c29300 R15: ffff888118c29be8 handle_signal arch/x86/kernel/signal.c:312 [inline] arch_do_signal_or_restart+0x42c/0x760 arch/x86/kernel/signal.c:339 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x57/0xb0 kernel/entry/common.c:218 do_syscall_64+0x63/0xf0 arch/x86/entry/common.c:84 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7fe0c91bc3d0 Code: 83 c0 16 83 e0 f7 74 12 50 48 8d 3d aa 1c 07 00 e8 65 65 f9 ff 0f 1f 44 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <83> ff 21 74 0b c3 66 2e 0f 1f 84 00 00 00 00 00 55 53 48 89 f3 48 RSP: 002b:00007fe0ca01da78 EFLAGS: 00000246 ORIG_RAX: 0000000000000142 RAX: 0000000000000000 RBX: 00007fe0c9415fa0 RCX: 00007fe0c919ce59 RDX: 00007fe0ca01da80 RSI: 00007fe0ca01dbb0 RDI: 0000000000000021 RBP: 00007fe0c9232d6f R08: 0000000000001000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe0c9416038 R14: 00007fe0c9415fa0 R15: 00007ffcc733b458 ---[ end trace ]--- aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: e8 70 93 54 00 call 0x549375 5: 5b pop %rbx 6: 5d pop %rbp 7: e9 c9 32 23 04 jmp 0x42332d5 c: cc int3 d: cc int3 e: cc int3 f: cc int3 10: cc int3 11: cc int3 12: cc int3 13: cc int3 14: cc int3 15: b8 3e 3d f5 2b mov $0x2bf53d3e,%eax 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: f3 0f 1e fa endbr64 29: 55 push %rbp * 2a: 48 89 e5 mov %rsp,%rbp <-- trapping instruction 2d: 48 8b 45 08 mov 0x8(%rbp),%rax 31: 65 48 8b 0d bc 29 7d mov %gs:0x7e7d29bc(%rip),%rcx # 0x7e7d29f5 38: 7e 39: 65 8b 15 bd 29 7d 7e mov %gs:0x7e7d29bd(%rip),%edx # 0x7e7d29fd