UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 1023 is out of range for type 'const int[34]' CPU: 1 PID: 321 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/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:1675 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766 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:__syscall_enter_from_user_work kernel/entry/common.c:97 [inline] RIP: 0010:syscall_enter_from_user_mode+0xc/0x30 kernel/entry/common.c:118 Code: 89 e5 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 5c cc d4 e6 48 89 f0 fb 65 48 8b 0d 14 26 08 7b <48> 8b 71 08 40 f6 c6 3f 74 0a 55 48 89 e5 e8 41 c2 65 fc 5d c3 66 RSP: 0018:ffffc9000dcbff18 EFLAGS: 00000282 RAX: 0000000000000000 RBX: ffffc9000dcbff20 RCX: ffff888110265100 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000dcbff58 RBP: ffffc9000dcbff48 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc9000dcbff58 R15: 0000000000000000 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f94628a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffc8faf18e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f9462f5b880 RCX: 00007f94628a7407 RDX: 0000000000001000 RSI: 00007ffc8faf1dc0 RDI: 0000000000000008 RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000555da437c5d0 R13: 00007ffc8faf19c0 R14: 00007ffc8faf1dc0 R15: 0000555d9c23cbcc ================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 1024 is out of range for type 'const int[34]' CPU: 1 PID: 321 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/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:1675 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766 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:__syscall_enter_from_user_work kernel/entry/common.c:97 [inline] RIP: 0010:syscall_enter_from_user_mode+0xc/0x30 kernel/entry/common.c:118 Code: 89 e5 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 5c cc d4 e6 48 89 f0 fb 65 48 8b 0d 14 26 08 7b <48> 8b 71 08 40 f6 c6 3f 74 0a 55 48 89 e5 e8 41 c2 65 fc 5d c3 66 RSP: 0018:ffffc9000dcbff18 EFLAGS: 00000282 RAX: 0000000000000000 RBX: ffffc9000dcbff20 RCX: ffff888110265100 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000dcbff58 RBP: ffffc9000dcbff48 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc9000dcbff58 R15: 0000000000000000 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f94628a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffc8faf18e0 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f9462f5b880 RCX: 00007f94628a7407 RDX: 0000000000001000 RSI: 00007ffc8faf1dc0 RDI: 0000000000000008 RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000555da437c5d0 R13: 00007ffc8faf19c0 R14: 00007ffc8faf1dc0 R15: 0000555d9c23cbcc ================================================================================ aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 89 e5 mov %esp,%ebp 2: 5d pop %rbp 3: c3 ret 4: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) b: 00 00 00 e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: b8 5c cc d4 e6 mov $0xe6d4cc5c,%eax 1e: 48 89 f0 mov %rsi,%rax 21: fb sti 22: 65 48 8b 0d 14 26 08 mov %gs:0x7b082614(%rip),%rcx # 0x7b08263e 29: 7b * 2a: 48 8b 71 08 mov 0x8(%rcx),%rsi <-- trapping instruction 2e: 40 f6 c6 3f test $0x3f,%sil 32: 74 0a je 0x3e 34: 55 push %rbp 35: 48 89 e5 mov %rsp,%rbp 38: e8 41 c2 65 fc call 0xfc65c27e 3d: 5d pop %rbp 3e: c3 ret 3f: 66 data16