================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 54023 is out of range for type 'const int[34]' CPU: 1 PID: 829 Comm: syz.0.185 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0x1fa2/0x2860 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x32f/0x4f0 drivers/usb/core/hcd.c:1672 usb_hcd_giveback_urb+0x11d/0x3f0 drivers/usb/core/hcd.c:1746 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:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:197 Code: 89 fb e8 13 00 00 00 48 8b 3d 8c cc 5e 05 48 89 de e8 c4 d6 39 00 5b 5d c3 00 55 48 89 e5 48 8b 45 08 65 48 8b 0d f0 c9 9d 7e <65> 8b 15 f5 c9 9d 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 RSP: 0018:ffffc9000a4bf5b8 EFLAGS: 00000246 RAX: ffffffff818e9d73 RBX: 0000000000000295 RCX: ffff88812825cf00 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000a4bf5b8 R08: ffff88812825cf00 R09: 0000000000000003 R10: 0000000000000406 R11: 0000000000000002 R12: dffffc0000000000 R13: ffff888128232630 R14: ffff88810013fd00 R15: 0000000000000000 shmem_getpage_gfp+0x453/0x20f0 mm/shmem.c:1858 shmem_fault+0x2b5/0x650 mm/shmem.c:2139 __do_fault mm/memory.c:4064 [inline] do_read_fault mm/memory.c:4408 [inline] do_fault mm/memory.c:4536 [inline] handle_pte_fault+0x2466/0x3910 mm/memory.c:4800 __handle_mm_fault mm/memory.c:4953 [inline] handle_mm_fault+0xf86/0x1720 mm/memory.c:5367 faultin_page mm/gup.c:902 [inline] __get_user_pages+0xbf8/0x1400 mm/gup.c:1121 populate_vma_page_range mm/gup.c:1454 [inline] __mm_populate+0x31c/0x420 mm/gup.c:1502 mm_populate include/linux/mm.h:2793 [inline] vm_mmap_pgoff+0x23b/0x350 mm/util.c:548 ksys_mmap_pgoff+0xfd/0x1e0 mm/mmap.c:1712 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:95 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0xfa/0x110 arch/x86/kernel/sys_x86_64.c:86 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7ff5b69e50d9 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:00007ff5b543e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ff5b6c6cfa0 RCX: 00007ff5b69e50d9 RDX: b635773f06ebbeef RSI: 0000000000b36000 RDI: 0000200000000000 RBP: 00007ff5b6a7c024 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff5b6c6d038 R14: 00007ff5b6c6cfa0 R15: 00007ffd902bdf48 ================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 54024 is out of range for type 'const int[34]' CPU: 1 PID: 829 Comm: syz.0.185 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0x1e71/0x2860 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x32f/0x4f0 drivers/usb/core/hcd.c:1672 usb_hcd_giveback_urb+0x11d/0x3f0 drivers/usb/core/hcd.c:1746 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:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:197 Code: 89 fb e8 13 00 00 00 48 8b 3d 8c cc 5e 05 48 89 de e8 c4 d6 39 00 5b 5d c3 00 55 48 89 e5 48 8b 45 08 65 48 8b 0d f0 c9 9d 7e <65> 8b 15 f5 c9 9d 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 RSP: 0018:ffffc9000a4bf5b8 EFLAGS: 00000246 RAX: ffffffff818e9d73 RBX: 0000000000000295 RCX: ffff88812825cf00 RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000a4bf5b8 R08: ffff88812825cf00 R09: 0000000000000003 R10: 0000000000000406 R11: 0000000000000002 R12: dffffc0000000000 R13: ffff888128232630 R14: ffff88810013fd00 R15: 0000000000000000 shmem_getpage_gfp+0x453/0x20f0 mm/shmem.c:1858 shmem_fault+0x2b5/0x650 mm/shmem.c:2139 __do_fault mm/memory.c:4064 [inline] do_read_fault mm/memory.c:4408 [inline] do_fault mm/memory.c:4536 [inline] handle_pte_fault+0x2466/0x3910 mm/memory.c:4800 __handle_mm_fault mm/memory.c:4953 [inline] handle_mm_fault+0xf86/0x1720 mm/memory.c:5367 faultin_page mm/gup.c:902 [inline] __get_user_pages+0xbf8/0x1400 mm/gup.c:1121 populate_vma_page_range mm/gup.c:1454 [inline] __mm_populate+0x31c/0x420 mm/gup.c:1502 mm_populate include/linux/mm.h:2793 [inline] vm_mmap_pgoff+0x23b/0x350 mm/util.c:548 ksys_mmap_pgoff+0xfd/0x1e0 mm/mmap.c:1712 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:95 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0xfa/0x110 arch/x86/kernel/sys_x86_64.c:86 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7ff5b69e50d9 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:00007ff5b543e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ff5b6c6cfa0 RCX: 00007ff5b69e50d9 RDX: b635773f06ebbeef RSI: 0000000000b36000 RDI: 0000200000000000 RBP: 00007ff5b6a7c024 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff5b6c6d038 R14: 00007ff5b6c6cfa0 R15: 00007ffd902bdf48 ================================================================================ aiptek 4-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 sched: RT throttling activated ---------------- Code disassembly (best guess): 0: 89 fb mov %edi,%ebx 2: e8 13 00 00 00 call 0x1a 7: 48 8b 3d 8c cc 5e 05 mov 0x55ecc8c(%rip),%rdi # 0x55ecc9a e: 48 89 de mov %rbx,%rsi 11: e8 c4 d6 39 00 call 0x39d6da 16: 5b pop %rbx 17: 5d pop %rbp 18: c3 ret 19: 00 55 48 add %dl,0x48(%rbp) 1c: 89 e5 mov %esp,%ebp 1e: 48 8b 45 08 mov 0x8(%rbp),%rax 22: 65 48 8b 0d f0 c9 9d mov %gs:0x7e9dc9f0(%rip),%rcx # 0x7e9dca1a 29: 7e * 2a: 65 8b 15 f5 c9 9d 7e mov %gs:0x7e9dc9f5(%rip),%edx # 0x7e9dca26 <-- trapping instruction 31: f7 c2 00 01 ff 00 test $0xff0100,%edx 37: 74 11 je 0x4a 39: f7 c2 00 01 00 00 test $0x100,%edx 3f: 74 .byte 0x74