================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 87 is out of range for type 'const int[34]' CPU: 0 PID: 10080 Comm: syz.0.1388 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0xa40/0x3420 drivers/usb/gadget/udc/dummy_hcd.c:2003 __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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 00 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 fa ff da f6 48 89 df e8 a2 d3 db f6 e8 6d ce ff f6 fb bf 01 00 00 00 c2 e3 ce f6 65 8b 05 93 32 76 75 85 c0 74 02 5b c3 e8 60 17 73 RSP: 0018:ffffc9000bebeeb0 EFLAGS: 00000282 RAX: df07e2417fab5e00 RBX: ffff88807b754dc0 RCX: df07e2417fab5e00 RDX: dffffc0000000000 RSI: ffffffff8acacb60 RDI: 0000000000000001 RBP: ffffc9000bebf020 R08: ffffffff911bc5af R09: 1ffffffff22378b5 R10: dffffc0000000000 R11: fffffbfff22378b6 R12: ffffc9000bebef60 R13: 00000003fffffffc R14: 0000000000000cc0 R15: dffffc0000000000 spin_unlock_irq include/linux/spinlock.h:401 [inline] shmem_add_to_page_cache+0xa36/0x1b80 mm/shmem.c:816 shmem_get_folio_gfp+0x1037/0x2b40 mm/shmem.c:2071 shmem_get_folio mm/shmem.c:2164 [inline] shmem_write_begin+0xf2/0x430 mm/shmem.c:2706 generic_perform_write+0x2fe/0x5c0 mm/filemap.c:4036 shmem_file_write_iter+0xfb/0x120 mm/shmem.c:2883 __kernel_write_iter+0x29f/0x6d0 fs/read_write.c:517 dump_emit_page fs/coredump.c:957 [inline] dump_user_range+0x418/0x840 fs/coredump.c:984 elf_core_dump+0x320e/0x37c0 fs/binfmt_elf.c:2184 do_coredump+0x1791/0x24a0 fs/coredump.c:833 get_signal+0x10da/0x1390 kernel/signal.c:2889 arch_do_signal_or_restart+0xc2/0x7b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 irqentry_exit_to_user_mode+0x9/0x30 kernel/entry/common.c:315 exc_page_fault+0x8c/0x100 arch/x86/mm/fault.c:1519 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608 RIP: 0033:0x7fc31ff9ce61 Code: 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 48 3d 01 f0 ff ff 73 01 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:0000000000000030 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fc320215fa0 RCX: 00007fc31ff9ce59 RDX: 0000000000000000 RSI: 0000000000000030 RDI: 0000000000000600 RBP: 00007fc320032e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007fc320216038 R14: 00007fc320215fa0 R15: 00007ffc14c6bf28 ================================================================================ ---------------- Code disassembly (best guess): 0: 00 f3 add %dh,%bl 2: 0f 1e fa nop %edx 5: 53 push %rbx 6: 48 89 fb mov %rdi,%rbx 9: 48 83 c7 18 add $0x18,%rdi d: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 12: e8 fa ff da f6 call 0xf6db0011 17: 48 89 df mov %rbx,%rdi 1a: e8 a2 d3 db f6 call 0xf6dbd3c1 1f: e8 6d ce ff f6 call 0xf6ffce91 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 c2 e3 ce f6 call 0xf6cee3f1 <-- trapping instruction 2f: 65 8b 05 93 32 76 75 mov %gs:0x75763293(%rip),%eax # 0x757632c9 36: 85 c0 test %eax,%eax 38: 74 02 je 0x3c 3a: 5b pop %rbx 3b: c3 ret 3c: e8 .byte 0xe8 3d: 60 (bad) 3e: 17 (bad) 3f: 73 .byte 0x73