================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 19545 is out of range for type 'const int[34]' CPU: 1 PID: 287 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 dump_stack+0x15/0x20 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+0x32f/0x4f0 drivers/usb/core/hcd.c:1672 usb_hcd_giveback_urb+0x11d/0x3f0 drivers/usb/core/hcd.c:1749 dummy_timer+0xa34/0x31d0 drivers/usb/gadget/udc/dummy_hcd.c:1998 call_timer_fn+0x38/0x290 kernel/time/timer.c:1459 expire_timers kernel/time/timer.c:1504 [inline] __run_timers+0x637/0x9a0 kernel/time/timer.c:1775 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1788 handle_softirqs+0x250/0x560 kernel/softirq.c:583 __do_softirq kernel/softirq.c:621 [inline] invoke_softirq kernel/softirq.c:443 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670 irq_exit_rcu+0x9/0x10 kernel/softirq.c:682 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:stack_trace_consume_entry+0x13b/0x290 kernel/stacktrace.c:95 Code: 4c 89 f2 48 8b 75 c0 49 89 37 41 8b 18 41 0f b6 44 15 00 84 c0 0f 85 3d 01 00 00 41 3b 19 0f 92 c0 48 83 c4 20 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 44 89 c1 80 e1 07 80 c1 03 38 c1 0f 8c e0 fe ff RSP: 0018:ffffc90000a87308 EFLAGS: 00000286 RAX: 0000000000000001 RBX: ffffc90000a873e0 RCX: 0000000000150e01 RDX: dffffc0000000000 RSI: ffffffff81b7bb76 RDI: ffffc90000a873e0 RBP: ffffc90000a87318 R08: ffffc90000a873f0 R09: ffffc90000a873e8 R10: 0000000000000006 R11: fffff52000150e71 R12: ffff88811bc3a780 R13: 1ffff110237875a2 R14: ffffc90000a874a0 R15: ffffc90000a874d0 arch_stack_walk+0xfc/0x140 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 save_stack+0x121/0x230 mm/page_owner.c:139 __reset_page_owner+0x35/0x190 mm/page_owner.c:156 reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1474 [inline] free_pcp_prepare mm/page_alloc.c:1546 [inline] free_unref_page_prepare+0x5fa/0x600 mm/page_alloc.c:3536 free_unref_page_list+0x138/0x9e0 mm/page_alloc.c:3673 release_pages+0x1264/0x12c0 mm/swap.c:1015 __pagevec_release+0x71/0xe0 mm/swap.c:1035 pagevec_release include/linux/pagevec.h:81 [inline] shmem_undo_range+0x564/0x13b0 mm/shmem.c:965 shmem_truncate_range mm/shmem.c:1064 [inline] shmem_evict_inode+0x1dc/0x970 mm/shmem.c:1146 evict+0x4b6/0x8b0 fs/inode.c:650 iput_final fs/inode.c:1779 [inline] iput+0x651/0x7e0 fs/inode.c:1805 do_unlinkat+0x380/0x6c0 fs/namei.c:4363 __do_sys_unlink fs/namei.c:4404 [inline] __se_sys_unlink fs/namei.c:4402 [inline] __x64_sys_unlink+0x49/0x50 fs/namei.c:4402 x64_sys_call+0x878/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:88 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f549b3561c7 Code: 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc216932c8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f549b3561c7 RDX: 00007ffc216932f0 RSI: 00007ffc21693380 RDI: 00007ffc21693380 RBP: 00007ffc21693380 R08: 00007ffc21694380 R09: 00000000ffffffff R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffc21694410 R13: 00007f549b3ed474 R14: 000000000000e10d R15: 00007ffc21694450 ================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 19546 is out of range for type 'const int[34]' CPU: 1 PID: 287 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 dump_stack+0x15/0x20 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+0x32f/0x4f0 drivers/usb/core/hcd.c:1672 usb_hcd_giveback_urb+0x11d/0x3f0 drivers/usb/core/hcd.c:1749 dummy_timer+0xa34/0x31d0 drivers/usb/gadget/udc/dummy_hcd.c:1998 call_timer_fn+0x38/0x290 kernel/time/timer.c:1459 expire_timers kernel/time/timer.c:1504 [inline] __run_timers+0x637/0x9a0 kernel/time/timer.c:1775 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1788 handle_softirqs+0x250/0x560 kernel/softirq.c:583 __do_softirq kernel/softirq.c:621 [inline] invoke_softirq kernel/softirq.c:443 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670 irq_exit_rcu+0x9/0x10 kernel/softirq.c:682 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:stack_trace_consume_entry+0x13b/0x290 kernel/stacktrace.c:95 Code: 4c 89 f2 48 8b 75 c0 49 89 37 41 8b 18 41 0f b6 44 15 00 84 c0 0f 85 3d 01 00 00 41 3b 19 0f 92 c0 48 83 c4 20 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 44 89 c1 80 e1 07 80 c1 03 38 c1 0f 8c e0 fe ff RSP: 0018:ffffc90000a87308 EFLAGS: 00000286 RAX: 0000000000000001 RBX: ffffc90000a873e0 RCX: 0000000000150e01 RDX: dffffc0000000000 RSI: ffffffff81b7bb76 RDI: ffffc90000a873e0 RBP: ffffc90000a87318 R08: ffffc90000a873f0 R09: ffffc90000a873e8 R10: 0000000000000006 R11: fffff52000150e71 R12: ffff88811bc3a780 R13: 1ffff110237875a2 R14: ffffc90000a874a0 R15: ffffc90000a874d0 arch_stack_walk+0xfc/0x140 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 save_stack+0x121/0x230 mm/page_owner.c:139 __reset_page_owner+0x35/0x190 mm/page_owner.c:156 reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1474 [inline] free_pcp_prepare mm/page_alloc.c:1546 [inline] free_unref_page_prepare+0x5fa/0x600 mm/page_alloc.c:3536 free_unref_page_list+0x138/0x9e0 mm/page_alloc.c:3673 release_pages+0x1264/0x12c0 mm/swap.c:1015 __pagevec_release+0x71/0xe0 mm/swap.c:1035 pagevec_release include/linux/pagevec.h:81 [inline] shmem_undo_range+0x564/0x13b0 mm/shmem.c:965 shmem_truncate_range mm/shmem.c:1064 [inline] shmem_evict_inode+0x1dc/0x970 mm/shmem.c:1146 evict+0x4b6/0x8b0 fs/inode.c:650 iput_final fs/inode.c:1779 [inline] iput+0x651/0x7e0 fs/inode.c:1805 do_unlinkat+0x380/0x6c0 fs/namei.c:4363 __do_sys_unlink fs/namei.c:4404 [inline] __se_sys_unlink fs/namei.c:4402 [inline] __x64_sys_unlink+0x49/0x50 fs/namei.c:4402 x64_sys_call+0x878/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:88 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f549b3561c7 Code: 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffc216932c8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f549b3561c7 RDX: 00007ffc216932f0 RSI: 00007ffc21693380 RDI: 00007ffc21693380 RBP: 00007ffc21693380 R08: 00007ffc21694380 R09: 00000000ffffffff R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffc21694410 R13: 00007f549b3ed474 R14: 000000000000e10d R15: 00007ffc21694450 ================================================================================ aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 4c 89 f2 mov %r14,%rdx 3: 48 8b 75 c0 mov -0x40(%rbp),%rsi 7: 49 89 37 mov %rsi,(%r15) a: 41 8b 18 mov (%r8),%ebx d: 41 0f b6 44 15 00 movzbl 0x0(%r13,%rdx,1),%eax 13: 84 c0 test %al,%al 15: 0f 85 3d 01 00 00 jne 0x158 1b: 41 3b 19 cmp (%r9),%ebx 1e: 0f 92 c0 setb %al 21: 48 83 c4 20 add $0x20,%rsp 25: 5b pop %rbx 26: 41 5c pop %r12 28: 41 5d pop %r13 * 2a: 41 5e pop %r14 <-- trapping instruction 2c: 41 5f pop %r15 2e: 5d pop %rbp 2f: c3 ret 30: 44 89 c1 mov %r8d,%ecx 33: 80 e1 07 and $0x7,%cl 36: 80 c1 03 add $0x3,%cl 39: 38 c1 cmp %al,%cl 3b: 0f .byte 0xf 3c: 8c e0 mov %fs,%eax 3e: fe (bad) 3f: ff .byte 0xff