================================================================================ 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: 1 PID: 5124 Comm: acpid Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:217 __ubsan_handle_out_of_bounds+0xe3/0xf0 lib/ubsan.c:348 aiptek_irq+0x1eb8/0x2920 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1648 dummy_timer+0xa58/0x34e0 drivers/usb/gadget/udc/dummy_hcd.c:2017 __run_hrtimer kernel/time/hrtimer.c:1754 [inline] __hrtimer_run_queues+0x525/0xc10 kernel/time/hrtimer.c:1818 hrtimer_run_softirq+0x177/0x290 kernel/time/hrtimer.c:1835 handle_softirqs+0x27d/0x820 kernel/softirq.c:578 __do_softirq kernel/softirq.c:612 [inline] invoke_softirq kernel/softirq.c:452 [inline] __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:stack_trace_consume_entry+0x132/0x270 kernel/stacktrace.c:95 Code: e8 4c 89 e2 48 89 de 49 89 37 41 8b 18 41 0f b6 44 15 00 84 c0 0f 85 2f 01 00 00 41 3b 1e 0f 92 c0 48 83 c4 18 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 44 89 c1 80 e1 07 80 c1 03 38 c1 0f 8c eb fe ff RSP: 0018:ffffc900031c7968 EFLAGS: 00000296 RAX: 0000000000000001 RBX: ffffc900031c7a40 RCX: ffff88807eabbc00 RDX: dffffc0000000000 RSI: ffffffff81760e2a RDI: ffffc900031c7a40 RBP: 1ffff92000638f4a R08: ffffc900031c7a50 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff81760e2a R13: ffffc900031c7da0 R14: ffffc900031c7a48 R15: 1ffff92000638f49 arch_stack_walk+0x138/0x190 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x28/0x40 mm/kasan/generic.c:522 ____kasan_slab_free+0x126/0x1f0 mm/kasan/common.c:237 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1811 [inline] slab_free_freelist_hook+0x130/0x1a0 mm/slub.c:1837 slab_free mm/slub.c:3830 [inline] kmem_cache_free+0xf8/0x290 mm/slub.c:3852 do_sys_openat2+0x170/0x1d0 fs/open.c:1430 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1448 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fad66933407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007fffcbe679a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fad668a9740 RCX: 00007fad66933407 RDX: 0000000000080800 RSI: 00007fffcbe67bb0 RDI: ffffffffffffff9c RBP: 00007fffcbe67bb0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000040 R13: 00007fffcbe67cb0 R14: 0000562d0641d7fe R15: 00007fffcbe67cb0 ================================================================================ ---------------- Code disassembly (best guess): 0: e8 4c 89 e2 48 call 0x48e28951 5: 89 de mov %ebx,%esi 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 2f 01 00 00 jne 0x14a 1b: 41 3b 1e cmp (%r14),%ebx 1e: 0f 92 c0 setb %al 21: 48 83 c4 18 add $0x18,%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 eb mov %gs,%ebx 3e: fe (bad) 3f: ff .byte 0xff