================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 6691 is out of range for type 'const int[34]' CPU: 0 PID: 4543 Comm: syz.4.69 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: dump_stack_lvl+0x188/0x250 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:1672 dummy_timer+0xa41/0x33c0 drivers/usb/gadget/udc/dummy_hcd.c:1998 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648 expire_timers kernel/time/timer.c:1699 [inline] __run_timers+0x56c/0x810 kernel/time/timer.c:1970 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983 handle_softirqs+0x336/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:rmqueue_pcplist mm/page_alloc.c:3711 [inline] RIP: 0010:rmqueue mm/page_alloc.c:3742 [inline] RIP: 0010:get_page_from_freelist+0x1f20/0x2670 mm/page_alloc.c:4189 Code: 8f 84 24 c0 01 00 00 f7 84 24 c0 01 00 00 00 02 00 00 c6 44 08 04 f8 0f 85 89 02 00 00 41 f7 c5 00 02 00 00 74 01 fb 4d 85 f6 <44> 8b 6c 24 2c 0f 84 d5 00 00 00 4c 89 f0 48 c1 e8 03 80 3c 08 00 RSP: 0018:ffffc90003266960 EFLAGS: 00000286 RAX: 1ffff9200064cd60 RBX: ffffffff8be3a820 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a2a40 RBP: ffffc90003266bb0 R08: ffffffff901e916f R09: 1ffffffff203d22d R10: dffffc0000000000 R11: fffffbfff203d22e R12: ffff88813fffd310 R13: 0000000000000202 R14: ffffea00014f4a00 R15: 0000000001112c4a __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 __page_cache_alloc+0xce/0x440 mm/filemap.c:1022 page_cache_ra_unbounded+0x257/0x8f0 mm/readahead.c:216 page_cache_async_readahead include/linux/pagemap.h:856 [inline] do_async_mmap_readahead mm/filemap.c:3023 [inline] filemap_fault+0x600/0x13a0 mm/filemap.c:3079 __do_fault+0x141/0x330 mm/memory.c:3928 do_read_fault mm/memory.c:4264 [inline] do_fault mm/memory.c:4392 [inline] handle_pte_fault mm/memory.c:4650 [inline] __handle_mm_fault mm/memory.c:4785 [inline] handle_mm_fault+0x2982/0x4440 mm/memory.c:4883 faultin_page mm/gup.c:976 [inline] __get_user_pages+0x952/0x11e0 mm/gup.c:1197 __get_user_pages_locked mm/gup.c:1382 [inline] get_dump_page+0x18c/0x670 mm/gup.c:1838 dump_user_range+0x54/0x340 fs/coredump.c:1013 elf_core_dump+0x2fe0/0x3530 fs/binfmt_elf.c:2285 do_coredump+0x14e8/0x2a40 fs/coredump.c:894 get_signal+0x531/0x12e0 kernel/signal.c:2887 arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320 exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1499 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x7f32dc090b27 Code: e8 8e fa ff ff 89 f2 48 8d 3d c5 3e 1b 00 48 8d 35 be f9 1d 00 31 c0 e8 e7 f8 ff ff 0f 1f 80 00 00 00 00 53 89 fb 48 83 ec 10 <64> 8b 04 25 a4 ff ff ff 85 c0 74 2a 89 fe 31 c0 bf 3c 00 00 00 e8 RSP: 002b:00007f32da3f3120 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007f32dc1dae59 RDX: 00007f32da3f3140 RSI: 00007f32da3f3270 RDI: 000000000000000b RBP: 00007f32dc270e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f32dc463128 R14: 00007f32dc463090 R15: 00007ffd1c4b2818 ================================================================================ ---------------- Code disassembly (best guess): 0: 8f 84 24 c0 01 00 00 pop 0x1c0(%rsp) 7: f7 84 24 c0 01 00 00 testl $0x200,0x1c0(%rsp) e: 00 02 00 00 12: c6 44 08 04 f8 movb $0xf8,0x4(%rax,%rcx,1) 17: 0f 85 89 02 00 00 jne 0x2a6 1d: 41 f7 c5 00 02 00 00 test $0x200,%r13d 24: 74 01 je 0x27 26: fb sti 27: 4d 85 f6 test %r14,%r14 * 2a: 44 8b 6c 24 2c mov 0x2c(%rsp),%r13d <-- trapping instruction 2f: 0f 84 d5 00 00 00 je 0x10a 35: 4c 89 f0 mov %r14,%rax 38: 48 c1 e8 03 shr $0x3,%rax 3c: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1)