================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 36681 is out of range for type 'const int[34]' CPU: 1 PID: 633 Comm: syz.0.83 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: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:1673 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1756 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x398/0x8a0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1770 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:update_stack_state+0x422/0x490 arch/x86/kernel/unwind_frame.c:-1 Code: d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 24 53 81 00 4c 89 33 43 80 3c 2c 00 48 8b 5d c8 74 08 48 89 df e8 1e 52 81 00 01 48 83 3b 00 0f 85 82 fe ff ff 43 80 3c 2c 00 74 0a 48 89 df RSP: 0018:ffffc90002c07168 EFLAGS: 00000246 RAX: 1ffff92000580e5a RBX: ffffc90002c072c8 RCX: ffffc90002c07601 RDX: ffffc90002c076b8 RSI: 1ffff92000580e52 RDI: ffffc90002c072b0 RBP: ffffc90002c07218 R08: ffffc90002c07350 R09: ffffc90002c07348 R10: 0000000000000004 R11: fffff52000580e5d R12: 1ffff92000580e59 R13: dffffc0000000000 R14: ffffffff81b63ded R15: ffffc90002c072e0 unwind_next_frame+0x39e/0x660 arch/x86/kernel/unwind_frame.c:315 arch_stack_walk+0x124/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x132/0x180 mm/kasan/common.c:242 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:250 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1750 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1776 slab_free mm/slub.c:3712 [inline] kmem_cache_free+0x12d/0x300 mm/slub.c:3737 __vm_area_free+0x7e/0x130 kernel/fork.c:539 remove_vma mm/mmap.c:154 [inline] exit_mmap+0x5e2/0xc10 mm/mmap.c:3394 __mmput+0x92/0x340 kernel/fork.c:1321 mmput+0x4b/0x150 kernel/fork.c:1345 exit_mm kernel/exit.c:575 [inline] do_exit+0xa58/0x2970 kernel/exit.c:881 do_group_exit+0x21b/0x2e0 kernel/exit.c:1038 get_signal+0x167c/0x1700 kernel/signal.c:2904 arch_do_signal_or_restart+0xd1/0x11c0 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x7a/0xb0 kernel/entry/common.c:174 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7ff899e159 Code: Unable to access opcode bytes at 0x7f7ff899e12f. RSP: 002b:00007f7ff98070e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f7ff8c26188 RCX: 00007f7ff899e159 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f7ff8c26188 RBP: 00007f7ff8c26180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7ff8c26218 R14: 00007ffc03c702d0 R15: 00007ffc03c703b8 ================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 36682 is out of range for type 'const int[34]' CPU: 1 PID: 633 Comm: syz.0.83 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: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:1673 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1756 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x398/0x8a0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1770 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:update_stack_state+0x422/0x490 arch/x86/kernel/unwind_frame.c:-1 Code: d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 24 53 81 00 4c 89 33 43 80 3c 2c 00 48 8b 5d c8 74 08 48 89 df e8 1e 52 81 00 01 48 83 3b 00 0f 85 82 fe ff ff 43 80 3c 2c 00 74 0a 48 89 df RSP: 0018:ffffc90002c07168 EFLAGS: 00000246 RAX: 1ffff92000580e5a RBX: ffffc90002c072c8 RCX: ffffc90002c07601 RDX: ffffc90002c076b8 RSI: 1ffff92000580e52 RDI: ffffc90002c072b0 RBP: ffffc90002c07218 R08: ffffc90002c07350 R09: ffffc90002c07348 R10: 0000000000000004 R11: fffff52000580e5d R12: 1ffff92000580e59 R13: dffffc0000000000 R14: ffffffff81b63ded R15: ffffc90002c072e0 unwind_next_frame+0x39e/0x660 arch/x86/kernel/unwind_frame.c:315 arch_stack_walk+0x124/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x132/0x180 mm/kasan/common.c:242 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:250 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1750 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1776 slab_free mm/slub.c:3712 [inline] kmem_cache_free+0x12d/0x300 mm/slub.c:3737 __vm_area_free+0x7e/0x130 kernel/fork.c:539 remove_vma mm/mmap.c:154 [inline] exit_mmap+0x5e2/0xc10 mm/mmap.c:3394 __mmput+0x92/0x340 kernel/fork.c:1321 mmput+0x4b/0x150 kernel/fork.c:1345 exit_mm kernel/exit.c:575 [inline] do_exit+0xa58/0x2970 kernel/exit.c:881 do_group_exit+0x21b/0x2e0 kernel/exit.c:1038 get_signal+0x167c/0x1700 kernel/signal.c:2904 arch_do_signal_or_restart+0xd1/0x11c0 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x7a/0xb0 kernel/entry/common.c:174 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7ff899e159 Code: Unable to access opcode bytes at 0x7f7ff899e12f. RSP: 002b:00007f7ff98070e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f7ff8c26188 RCX: 00007f7ff899e159 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f7ff8c26188 RBP: 00007f7ff8c26180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7ff8c26218 R14: 00007ffc03c702d0 R15: 00007ffc03c703b8 ================================================================================ aiptek 5-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: d8 48 c1 fmuls -0x3f(%rax) 3: e8 03 42 80 3c call 0x3c80420b 8: 28 00 sub %al,(%rax) a: 74 08 je 0x14 c: 48 89 df mov %rbx,%rdi f: e8 24 53 81 00 call 0x815338 14: 4c 89 33 mov %r14,(%rbx) 17: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) 1c: 48 8b 5d c8 mov -0x38(%rbp),%rbx 20: 74 08 je 0x2a 22: 48 89 df mov %rbx,%rdi 25: e8 1e 52 81 00 call 0x815248 * 2a: b0 01 mov $0x1,%al <-- trapping instruction 2c: 48 83 3b 00 cmpq $0x0,(%rbx) 30: 0f 85 82 fe ff ff jne 0xfffffeb8 36: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) 3b: 74 0a je 0x47 3d: 48 89 df mov %rbx,%rdi