================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 512 is out of range for type 'const int[34]' CPU: 1 PID: 3640 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 aiptek_irq+0x1e87/0x28f0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35d/0x520 drivers/usb/core/hcd.c:1673 dummy_timer+0xa21/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x522/0xc90 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x173/0x290 kernel/time/hrtimer.c:1832 handle_softirqs+0x291/0x910 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:168 [inline] RIP: 0010:unwind_next_frame+0x19b/0x1fd0 arch/x86/kernel/unwind_orc.c:448 Code: ef 08 8b 35 97 24 2c 0b 8d 46 ff 44 39 f8 0f 86 b0 16 00 00 44 89 f8 4c 8d 24 85 20 0b 3e 8f 4c 89 e0 48 c1 e8 03 0f b6 04 28 <84> c0 0f 85 23 18 00 00 45 8b 24 24 44 89 f8 ff c0 4c 8d 2c 85 20 RSP: 0018:ffffc900032b7440 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: ffffc900032b74e8 RCX: ffffffff96bf9100 RDX: dffffc0000000000 RSI: 0000000000096079 RDI: ffffffff8138fb37 RBP: dffffc0000000000 R08: ffffc900032b75b0 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000656ea9 R12: ffffffff8f419210 R13: ffffc900032b7940 R14: ffffffff81e1bce4 R15: 000000000000e1bc arch_stack_walk+0x10c/0x140 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_slab_alloc+0x6b/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x490 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc+0x18b/0x2f0 mm/slub.c:3383 kmem_cache_zalloc include/linux/slab.h:689 [inline] __alloc_file+0x25/0x230 fs/file_table.c:138 alloc_empty_file+0x90/0x180 fs/file_table.c:187 path_openat+0x11c/0x2f10 fs/namei.c:3777 do_filp_open+0x1ee/0x420 fs/namei.c:3818 do_sys_openat2+0x14b/0x4f0 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1347 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3153aa7407 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:00007ffeadad5930 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3154162880 RCX: 00007f3153aa7407 RDX: 0000000000080141 RSI: 0000561c6ccbb02e RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000001a4 R11: 0000000000000202 R12: 00000000ffffffff R13: 00000000ffffffff R14: ffffffffffffffff R15: 0000000000000000 ================================================================================ ---------------- Code disassembly (best guess): 0: ef out %eax,(%dx) 1: 08 8b 35 97 24 2c or %cl,0x2c249735(%rbx) 7: 0b 8d 46 ff 44 39 or 0x3944ff46(%rbp),%ecx d: f8 clc e: 0f 86 b0 16 00 00 jbe 0x16c4 14: 44 89 f8 mov %r15d,%eax 17: 4c 8d 24 85 20 0b 3e lea -0x70c1f4e0(,%rax,4),%r12 1e: 8f 1f: 4c 89 e0 mov %r12,%rax 22: 48 c1 e8 03 shr $0x3,%rax 26: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax * 2a: 84 c0 test %al,%al <-- trapping instruction 2c: 0f 85 23 18 00 00 jne 0x1855 32: 45 8b 24 24 mov (%r12),%r12d 36: 44 89 f8 mov %r15d,%eax 39: ff c0 inc %eax 3b: 4c rex.WR 3c: 8d .byte 0x8d 3d: 2c 85 sub $0x85,%al 3f: 20 .byte 0x20