------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 53017 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 1774 Comm: syz.2.390 Not tainted syzkaller #0 200dea8a17c83f35b0a1e1238c384757fc17b797 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0x208d/0x2a00 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x36e/0x530 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1732 dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1757 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838 handle_softirqs+0x1aa/0x620 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_const_cmp8+0x0/0x90 kernel/kcov.c:320 Code: 00 48 89 7c 11 10 48 89 74 11 18 48 89 44 11 20 5d e9 54 98 1e 04 cc 0f 1f 00 b8 8c 63 8d 19 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 48 89 e5 48 8b 45 08 65 48 8b 0d 0c 75 7d 7e 65 8b RSP: 0018:ffffc90010f774f8 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 800000011d090025 RCX: ffff888120743900 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90010f777b0 R08: ffffea0004742407 R09: 1ffffd40008e8480 R10: dffffc0000000000 R11: fffff940008e8481 R12: 000000110c2de000 R13: ffffea0004742418 R14: ffff888110f3ed38 R15: 1ffffd40008e8483 unmap_single_vma mm/memory.c:1962 [inline] unmap_vmas+0x2dd/0x400 mm/memory.c:2006 exit_mmap+0x28a/0xc20 mm/mmap.c:1969 __mmput+0x92/0x330 kernel/fork.c:1370 mmput+0x55/0x170 kernel/fork.c:1394 exit_mm kernel/exit.c:575 [inline] do_exit+0x9a5/0x2850 kernel/exit.c:942 do_group_exit+0x21f/0x2f0 kernel/exit.c:1098 get_signal+0x134c/0x1490 kernel/signal.c:2933 arch_do_signal_or_restart+0xbc/0x700 arch/x86/kernel/signal.c:337 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:0x7f956859e019 Code: Unable to access opcode bytes at 0x7f956859dfef. RSP: 002b:00007f95694cf0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f9568825fa8 RCX: 00007f956859e019 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9568825fa8 RBP: 00007f9568825fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9568826038 R14: 00007fff2f078cc0 R15: 00007fff2f078da8 ---[ end trace ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 53018 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 1774 Comm: syz.2.390 Not tainted syzkaller #0 200dea8a17c83f35b0a1e1238c384757fc17b797 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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+0x1f3c/0x2a00 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x36e/0x530 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1732 dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1757 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838 handle_softirqs+0x1aa/0x620 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_const_cmp8+0x0/0x90 kernel/kcov.c:320 Code: 00 48 89 7c 11 10 48 89 74 11 18 48 89 44 11 20 5d e9 54 98 1e 04 cc 0f 1f 00 b8 8c 63 8d 19 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 48 89 e5 48 8b 45 08 65 48 8b 0d 0c 75 7d 7e 65 8b RSP: 0018:ffffc90010f774f8 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 800000011d090025 RCX: ffff888120743900 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90010f777b0 R08: ffffea0004742407 R09: 1ffffd40008e8480 R10: dffffc0000000000 R11: fffff940008e8481 R12: 000000110c2de000 R13: ffffea0004742418 R14: ffff888110f3ed38 R15: 1ffffd40008e8483 unmap_single_vma mm/memory.c:1962 [inline] unmap_vmas+0x2dd/0x400 mm/memory.c:2006 exit_mmap+0x28a/0xc20 mm/mmap.c:1969 __mmput+0x92/0x330 kernel/fork.c:1370 mmput+0x55/0x170 kernel/fork.c:1394 exit_mm kernel/exit.c:575 [inline] do_exit+0x9a5/0x2850 kernel/exit.c:942 do_group_exit+0x21f/0x2f0 kernel/exit.c:1098 get_signal+0x134c/0x1490 kernel/signal.c:2933 arch_do_signal_or_restart+0xbc/0x700 arch/x86/kernel/signal.c:337 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:0x7f956859e019 Code: Unable to access opcode bytes at 0x7f956859dfef. RSP: 002b:00007f95694cf0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f9568825fa8 RCX: 00007f956859e019 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f9568825fa8 RBP: 00007f9568825fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9568826038 R14: 00007fff2f078cc0 R15: 00007fff2f078da8 ---[ end trace ]--- aiptek 1-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 00 48 89 add %cl,-0x77(%rax) 3: 7c 11 jl 0x16 5: 10 48 89 adc %cl,-0x77(%rax) 8: 74 11 je 0x1b a: 18 48 89 sbb %cl,-0x77(%rax) d: 44 11 20 adc %r12d,(%rax) 10: 5d pop %rbp 11: e9 54 98 1e 04 jmp 0x41e986a 16: cc int3 17: 0f 1f 00 nopl (%rax) 1a: b8 8c 63 8d 19 mov $0x198d638c,%eax 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 90 nop 26: 90 nop 27: 90 nop 28: 90 nop 29: 90 nop * 2a: f3 0f 1e fa endbr64 <-- trapping instruction 2e: 55 push %rbp 2f: 48 89 e5 mov %rsp,%rbp 32: 48 8b 45 08 mov 0x8(%rbp),%rax 36: 65 48 8b 0d 0c 75 7d mov %gs:0x7e7d750c(%rip),%rcx # 0x7e7d754a 3d: 7e 3e: 65 gs 3f: 8b .byte 0x8b