================================================================================ 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: 14682 Comm: syz.1.2693 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:check_kcov_mode kernel/kcov.c:189 [inline] RIP: 0010:write_comp_data kernel/kcov.c:241 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x36/0x80 kernel/kcov.c:316 Code: 40 31 7c 7e 65 8b 15 41 31 7c 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 57 83 b9 24 16 00 00 00 74 4e 8b 91 00 16 00 00 <83> fa 03 75 43 48 8b 91 08 16 00 00 44 8b 89 04 16 00 00 49 c1 e1 RSP: 0018:ffffc900036e76e8 EFLAGS: 00000246 RAX: ffffffff81cb2ca9 RBX: ffffea0001aba500 RCX: ffff888024d2bc00 RDX: 0000000000000000 RSI: 00fff00000000000 RDI: ffffffffffffffff RBP: ffffc900036e78f0 R08: ffffffff8e8c8daf R09: 1ffffffff1d191b5 R10: dffffc0000000000 R11: fffffbfff1d191b6 R12: dffffc0000000000 R13: 1ffffd40003574a1 R14: ffffea0001aba508 R15: 00fff00000000000 PagePoisoned include/linux/page-flags.h:297 [inline] PageSwapBacked include/linux/page-flags.h:515 [inline] mm_counter_file+0x89/0x2c0 include/linux/mm.h:2651 mm_counter include/linux/mm.h:2660 [inline] zap_pte_range mm/memory.c:1452 [inline] zap_pmd_range mm/memory.c:1571 [inline] zap_pud_range mm/memory.c:1600 [inline] zap_p4d_range mm/memory.c:1621 [inline] unmap_page_range+0x1598/0x32f0 mm/memory.c:1642 unmap_vmas+0x286/0x3f0 mm/memory.c:1732 exit_mmap+0x238/0xb90 mm/mmap.c:3302 __mmput+0x118/0x3a0 kernel/fork.c:1362 exit_mm+0x23f/0x340 kernel/exit.c:576 do_exit+0x909/0x2530 kernel/exit.c:877 do_group_exit+0x22d/0x2f0 kernel/exit.c:1032 __do_sys_exit_group kernel/exit.c:1043 [inline] __se_sys_exit_group kernel/exit.c:1041 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1041 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:0x7f1831d9e159 Code: Unable to access opcode bytes at 0x7f1831d9e12f. RSP: 002b:00007ffcc3f490f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1831d9e159 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffcc3f4915c R08: 0000000000000000 R09: 00000000000927c0 R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000017 R13: 00000000000927c0 R14: 00000000000d33f9 R15: 00007ffcc3f491b0 ================================================================================ ---------------- Code disassembly (best guess): 0: 40 31 7c 7e 65 rex xor %edi,0x65(%rsi,%rdi,2) 5: 8b 15 41 31 7c 7e mov 0x7e7c3141(%rip),%edx # 0x7e7c314c b: 81 e2 00 01 ff 00 and $0xff0100,%edx 11: 74 11 je 0x24 13: 81 fa 00 01 00 00 cmp $0x100,%edx 19: 75 57 jne 0x72 1b: 83 b9 24 16 00 00 00 cmpl $0x0,0x1624(%rcx) 22: 74 4e je 0x72 24: 8b 91 00 16 00 00 mov 0x1600(%rcx),%edx * 2a: 83 fa 03 cmp $0x3,%edx <-- trapping instruction 2d: 75 43 jne 0x72 2f: 48 8b 91 08 16 00 00 mov 0x1608(%rcx),%rdx 36: 44 8b 89 04 16 00 00 mov 0x1604(%rcx),%r9d 3d: 49 rex.WB 3e: c1 .byte 0xc1 3f: e1 .byte 0xe1