================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 31876 is out of range for type 'const int[34]' CPU: 1 PID: 12044 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:lock_acquire+0x225/0x4a0 kernel/locking/lockdep.c:5680 Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3d 04 f8 0f 85 f0 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 43 c7 44 3d 08 00 00 00 00 65 48 8b 04 RSP: 0018:ffffc9000dd6f500 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 46e791101019b600 RDX: 0000000000000000 RSI: ffffffff8a8c2920 RDI: ffffffff8adf42e0 RBP: ffffc9000dd6f608 R08: dffffc0000000000 R09: 1ffffffff216204a R10: dffffc0000000000 R11: fffffbfff216204b R12: 0000000000000001 R13: 1ffff92001badeac R14: 0000000000000246 R15: dffffc0000000000 fs_reclaim_acquire+0x94/0x100 mm/page_alloc.c:4766 might_alloc include/linux/sched/mm.h:271 [inline] slab_pre_alloc_hook+0x2a/0x300 mm/slab.h:710 slab_alloc_node mm/slub.c:3279 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc_lru+0x49/0x2e0 mm/slub.c:3390 __d_alloc+0x2e/0x6e0 fs/dcache.c:1774 d_alloc fs/dcache.c:1854 [inline] d_alloc_parallel+0xdc/0x1590 fs/dcache.c:2647 __lookup_slow+0x134/0x3f0 fs/namei.c:1683 lookup_slow+0x53/0x70 fs/namei.c:1715 walk_component+0x2ad/0x3e0 fs/namei.c:2006 lookup_last fs/namei.c:2463 [inline] path_lookupat+0x148/0x420 fs/namei.c:2487 filename_lookup+0x229/0x580 fs/namei.c:2516 vfs_statx+0x10e/0x610 fs/stat.c:229 vfs_fstatat fs/stat.c:267 [inline] __do_sys_newfstatat fs/stat.c:437 [inline] __se_sys_newfstatat fs/stat.c:431 [inline] __x64_sys_newfstatat+0x190/0x240 fs/stat.c:431 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:0x7f27e6911b0a Code: 48 8b 15 f1 f2 0d 00 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 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 8b 15 b9 f2 0d 00 f7 RSP: 002b:00007fffd6270468 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055987fe986b2 RCX: 00007f27e6911b0a RDX: 00007fffd6270470 RSI: 00007fffd6270500 RDI: 00000000ffffff9c RBP: 00005598856adf10 R08: 000055987fe986b2 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00005598856ae000 R13: 00007fffd6270500 R14: 000055987fe9800c R15: 000055987fe9ebcc ================================================================================ ---------------- Code disassembly (best guess): 0: f7 84 24 80 00 00 00 testl $0x200,0x80(%rsp) 7: 00 02 00 00 b: 43 c6 44 3d 04 f8 movb $0xf8,0x4(%r13,%r15,1) 11: 0f 85 f0 00 00 00 jne 0x107 17: 41 f7 c6 00 02 00 00 test $0x200,%r14d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 44 3d 00 00 00 movq $0x0,0x0(%r13,%r15,1) <-- trapping instruction 31: 00 00 33: 43 c7 44 3d 08 00 00 movl $0x0,0x8(%r13,%r15,1) 3a: 00 00 3c: 65 gs 3d: 48 rex.W 3e: 8b .byte 0x8b 3f: 04 .byte 0x4