================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 65092 is out of range for type 'const int[34]' CPU: 0 PID: 12277 Comm: syz-executor Tainted: G W 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:find_stack lib/stackdepot.c:208 [inline] RIP: 0010:__stack_depot_save+0x1bb/0x4c0 lib/stackdepot.c:305 Code: 0e 44 29 c6 31 f3 c1 c6 18 29 f3 4c 8b 3d 55 65 96 04 41 89 de 41 81 e6 ff 0f 00 00 4f 8b 24 f7 4d 85 e4 74 5e 44 89 ee eb 09 <4d> 8b 24 24 4d 85 e4 74 50 41 39 5c 24 08 75 f0 45 39 6c 24 0c 75 RSP: 0018:ffffc90001637898 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: 000000002acb443d RCX: 0000000000000001 RDX: 0000000000000800 RSI: 000000000000000c RDI: ffffc90001637900 RBP: ffffc900016378f0 R08: 0000000075501f7f R09: 00000000f6ea65e4 R10: 0000000000000003 R11: 0000000081056951 R12: ffff888126603b10 R13: 000000000000000c R14: 000000000000043d R15: ffff88823ff00000 kasan_save_stack mm/kasan/common.c:39 [inline] kasan_set_track+0x5b/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:362 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1600 [inline] slab_free_freelist_hook+0xc5/0x190 mm/slub.c:1626 slab_free mm/slub.c:3208 [inline] kmem_cache_free+0x100/0x2d0 mm/slub.c:3224 putname fs/namei.c:262 [inline] filename_lookup+0x476/0x660 fs/namei.c:2478 user_path_at_empty+0x43/0x50 fs/namei.c:2748 user_path_at include/linux/namei.h:60 [inline] __do_sys_chdir fs/open.c:492 [inline] __se_sys_chdir+0x99/0x220 fs/open.c:486 __x64_sys_chdir+0x38/0x40 fs/open.c:486 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f3449fcd517 Code: 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 b8 50 00 00 00 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:00007ffe22f53718 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3449fcd517 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffe22f53770 RBP: 00007ffe22f5375c R08: 00007f344ad89060 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000025 R13: 00000000000927c0 R14: 0000000000078b06 R15: 00007ffe22f537b0 ================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 65093 is out of range for type 'const int[34]' CPU: 0 PID: 12277 Comm: syz-executor Tainted: G W 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:find_stack lib/stackdepot.c:208 [inline] RIP: 0010:__stack_depot_save+0x1bb/0x4c0 lib/stackdepot.c:305 Code: 0e 44 29 c6 31 f3 c1 c6 18 29 f3 4c 8b 3d 55 65 96 04 41 89 de 41 81 e6 ff 0f 00 00 4f 8b 24 f7 4d 85 e4 74 5e 44 89 ee eb 09 <4d> 8b 24 24 4d 85 e4 74 50 41 39 5c 24 08 75 f0 45 39 6c 24 0c 75 RSP: 0018:ffffc90001637898 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: 000000002acb443d RCX: 0000000000000001 RDX: 0000000000000800 RSI: 000000000000000c RDI: ffffc90001637900 RBP: ffffc900016378f0 R08: 0000000075501f7f R09: 00000000f6ea65e4 R10: 0000000000000003 R11: 0000000081056951 R12: ffff888126603b10 R13: 000000000000000c R14: 000000000000043d R15: ffff88823ff00000 kasan_save_stack mm/kasan/common.c:39 [inline] kasan_set_track+0x5b/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:362 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1600 [inline] slab_free_freelist_hook+0xc5/0x190 mm/slub.c:1626 slab_free mm/slub.c:3208 [inline] kmem_cache_free+0x100/0x2d0 mm/slub.c:3224 putname fs/namei.c:262 [inline] filename_lookup+0x476/0x660 fs/namei.c:2478 user_path_at_empty+0x43/0x50 fs/namei.c:2748 user_path_at include/linux/namei.h:60 [inline] __do_sys_chdir fs/open.c:492 [inline] __se_sys_chdir+0x99/0x220 fs/open.c:486 __x64_sys_chdir+0x38/0x40 fs/open.c:486 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f3449fcd517 Code: 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 b8 50 00 00 00 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:00007ffe22f53718 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3449fcd517 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffe22f53770 RBP: 00007ffe22f5375c R08: 00007f344ad89060 R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000025 R13: 00000000000927c0 R14: 0000000000078b06 R15: 00007ffe22f537b0 ================================================================================ ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 44 29 c6 sub %r8d,%esi 3: 31 f3 xor %esi,%ebx 5: c1 c6 18 rol $0x18,%esi 8: 29 f3 sub %esi,%ebx a: 4c 8b 3d 55 65 96 04 mov 0x4966555(%rip),%r15 # 0x4966566 11: 41 89 de mov %ebx,%r14d 14: 41 81 e6 ff 0f 00 00 and $0xfff,%r14d 1b: 4f 8b 24 f7 mov (%r15,%r14,8),%r12 1f: 4d 85 e4 test %r12,%r12 22: 74 5e je 0x82 24: 44 89 ee mov %r13d,%esi 27: eb 09 jmp 0x32 * 29: 4d 8b 24 24 mov (%r12),%r12 <-- trapping instruction 2d: 4d 85 e4 test %r12,%r12 30: 74 50 je 0x82 32: 41 39 5c 24 08 cmp %ebx,0x8(%r12) 37: 75 f0 jne 0x29 39: 45 39 6c 24 0c cmp %r13d,0xc(%r12) 3e: 75 .byte 0x75