================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 1407 is out of range for type 'const int[34]' CPU: 0 PID: 11075 Comm: syz.5.1534 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 aiptek_irq+0x1eaa/0x28f0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1675 dummy_timer+0x8d0/0x3330 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x54a/0xd50 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1832 handle_softirqs+0x2a1/0x930 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:write_comp_data kernel/kcov.c:244 [inline] RIP: 0010:__sanitizer_cov_trace_cmp8+0x4/0x80 kernel/kcov.c:293 Code: 77 22 89 ff 89 f6 49 ff c0 4c 89 01 48 c7 44 11 08 04 00 00 00 48 89 7c 11 10 48 89 74 11 18 48 89 44 11 20 c3 90 48 8b 04 24 <65> 48 8b 0d b4 f1 7f 7e 65 8b 15 b5 f1 7f 7e 81 e2 00 01 ff 00 74 RSP: 0018:ffffc900046e7d48 EFLAGS: 00000206 RAX: ffffffff84116f0b RBX: 0000000000000010 RCX: ffff88801f3cda00 RDX: 0000000000000000 RSI: 00007ffdcdfcfa60 RDI: 00007fffffffeff0 RBP: 0000000000000000 R08: ffffffff8e2029ef R09: 1ffffffff1c4053d R10: dffffc0000000000 R11: fffffbfff1c4053e R12: 00007ffffffff000 R13: dffffc0000000000 R14: ffffc900046e7da0 R15: 00007ffdcdfcfa60 __access_ok include/asm-generic/access_ok.h:40 [inline] _copy_from_user+0xcb/0x170 lib/usercopy.c:15 copy_from_user include/linux/uaccess.h:161 [inline] get_timespec64+0x93/0x1b0 kernel/time/time.c:877 __do_sys_futex kernel/futex/syscalls.c:203 [inline] __se_sys_futex+0x1a1/0x410 kernel/futex/syscalls.c:192 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:0x7f4683f9ce59 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:00007ffdcdfcf958 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 000000000009a64c RCX: 00007f4683f9ce59 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f468421609c RBP: 0000000000000032 R08: 00173b28d2774998 R09: 0000000000000000 R10: 00007ffdcdfcfa60 R11: 0000000000000246 R12: 00007ffdcdfcfa80 R13: 00007f468421609c R14: 000000000009a67e R15: 00007ffdcdfcfa60 ================================================================================ ---------------- Code disassembly (best guess): 0: 77 22 ja 0x24 2: 89 ff mov %edi,%edi 4: 89 f6 mov %esi,%esi 6: 49 ff c0 inc %r8 9: 4c 89 01 mov %r8,(%rcx) c: 48 c7 44 11 08 04 00 movq $0x4,0x8(%rcx,%rdx,1) 13: 00 00 15: 48 89 7c 11 10 mov %rdi,0x10(%rcx,%rdx,1) 1a: 48 89 74 11 18 mov %rsi,0x18(%rcx,%rdx,1) 1f: 48 89 44 11 20 mov %rax,0x20(%rcx,%rdx,1) 24: c3 ret 25: 90 nop 26: 48 8b 04 24 mov (%rsp),%rax * 2a: 65 48 8b 0d b4 f1 7f mov %gs:0x7e7ff1b4(%rip),%rcx # 0x7e7ff1e6 <-- trapping instruction 31: 7e 32: 65 8b 15 b5 f1 7f 7e mov %gs:0x7e7ff1b5(%rip),%edx # 0x7e7ff1ee 39: 81 e2 00 01 ff 00 and $0xff0100,%edx 3f: 74 .byte 0x74