================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:685:31 index 68 is out of range for type 'const int[34]' CPU: 1 PID: 506 Comm: syz.2.67 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:77 dump_stack_lvl+0x1a7/0x208 lib/dump_stack.c:118 dump_stack+0x15/0x1c lib/dump_stack.c:135 ubsan_epilogue+0xe/0x40 lib/ubsan.c:148 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:347 aiptek_irq+0x24ac/0x2860 drivers/input/tablet/aiptek.c:685 __usb_hcd_giveback_urb+0x32f/0x4f0 drivers/usb/core/hcd.c:1674 usb_hcd_giveback_urb+0x11d/0x3f0 drivers/usb/core/hcd.c:1748 dummy_timer+0xa34/0x31d0 drivers/usb/gadget/udc/dummy_hcd.c:1986 call_timer_fn+0x38/0x290 kernel/time/timer.c:1450 expire_timers kernel/time/timer.c:1495 [inline] __run_timers+0x637/0x9a0 kernel/time/timer.c:1789 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1802 __do_softirq+0x255/0x563 kernel/softirq.c:309 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:405 [inline] __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x49/0x70 kernel/locking/spinlock.c:199 Code: 12 48 89 fb 48 c7 c7 b0 73 4c 86 e8 a1 8b 1d fd 48 89 df 48 83 3d d6 e6 ca 01 00 74 27 e8 73 46 ca fc 66 90 fb bf 01 00 00 00 72 42 c3 fc 65 8b 05 97 e0 80 7b 85 c0 74 03 5b 5d c3 e8 83 e0 RSP: 0018:ffffc90000e9f3f0 EFLAGS: 00000246 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: dffffc0000000000 RDX: 0000000000000001 RSI: ffffffff85405e00 RDI: 0000000000000001 RBP: ffffc90000e9f3f8 R08: ffff888115da3b47 R09: 1ffff11022bb4768 R10: dffffc0000000000 R11: ffffed1022bb4769 R12: ffff8881f7155fc0 R13: ffff888115da3b6c R14: 0000000000000000 R15: ffff888115da13c0 finish_lock_switch kernel/sched/core.c:3786 [inline] finish_task_switch+0x12e/0x5a0 kernel/sched/core.c:3886 context_switch kernel/sched/core.c:4051 [inline] __schedule+0xc0b/0x13e0 kernel/sched/core.c:4806 schedule+0x13c/0x1d0 kernel/sched/core.c:4884 schedule_timeout+0xba/0x330 kernel/time/timer.c:1889 unix_wait_for_peer+0x1f2/0x2e0 net/unix/af_unix.c:1229 unix_dgram_sendmsg+0x10fc/0x18f0 net/unix/af_unix.c:1818 sock_sendmsg_nosec net/socket.c:652 [inline] __sock_sendmsg net/socket.c:664 [inline] ____sys_sendmsg+0x5be/0x8f0 net/socket.c:2376 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2430 __sys_sendmmsg+0x2ab/0x4c0 net/socket.c:2516 __do_sys_sendmmsg net/socket.c:2545 [inline] __se_sys_sendmmsg net/socket.c:2542 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2542 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f42276a8e59 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:00007f4226102028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f4227930fa0 RCX: 00007f42276a8e59 RDX: 0000000000000651 RSI: 0000200000000000 RDI: 0000000000000006 RBP: 00007f422773ee6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4227931038 R14: 00007f4227930fa0 R15: 00007ffd1ef20608 ================================================================================ ---------------- Code disassembly (best guess): 0: 12 48 89 adc -0x77(%rax),%cl 3: fb sti 4: 48 c7 c7 b0 73 4c 86 mov $0xffffffff864c73b0,%rdi b: e8 a1 8b 1d fd call 0xfd1d8bb1 10: 48 89 df mov %rbx,%rdi 13: 48 83 3d d6 e6 ca 01 cmpq $0x0,0x1cae6d6(%rip) # 0x1cae6f1 1a: 00 1b: 74 27 je 0x44 1d: e8 73 46 ca fc call 0xfcca4695 22: 66 90 xchg %ax,%ax 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 72 42 c3 fc call 0xfcc342a1 <-- trapping instruction 2f: 65 8b 05 97 e0 80 7b mov %gs:0x7b80e097(%rip),%eax # 0x7b80e0cd 36: 85 c0 test %eax,%eax 38: 74 03 je 0x3d 3a: 5b pop %rbx 3b: 5d pop %rbp 3c: c3 ret 3d: e8 .byte 0xe8 3e: 83 .byte 0x83 3f: e0 .byte 0xe0