================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 4775 is out of range for type 'const int[34]' CPU: 1 PID: 8650 Comm: syz.4.1152 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+0x1eaa/0x28f0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1675 dummy_timer+0x8d0/0x3330 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1751 [inline] __hrtimer_run_queues+0x54a/0xd50 kernel/time/hrtimer.c:1815 hrtimer_run_softirq+0x183/0x2a0 kernel/time/hrtimer.c:1832 handle_softirqs+0x2a1/0x930 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:unlock_page_memcg+0x2/0xb0 mm/memcontrol.c:2168 Code: 93 ff 48 8d 35 00 00 00 00 48 c7 c7 60 de b2 8c 5b 41 5c 41 5d 41 5e 41 5f e9 da b1 8a ff 66 2e 0f 1f 84 00 00 00 00 00 41 57 <41> 56 53 49 bf 00 00 00 00 00 fc ff df 48 8d 5f 08 48 89 d8 48 c1 RSP: 0000:ffffc900037dfa18 EFLAGS: 00000293 RAX: ffffffff81c579ab RBX: ffffea0001cabac0 RCX: ffff88802e8a5a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffea0001cabac0 RBP: 0000000000000000 R08: ffffea0001cabaf3 R09: 1ffffd400039575e R10: dffffc0000000000 R11: fffff9400039575f R12: dffffc0000000000 R13: 1ffffd4000395758 R14: ffff88804ce82af8 R15: 0000000000000000 page_add_file_rmap+0x8d8/0x1500 mm/rmap.c:1331 do_set_pte+0x2f4/0x460 mm/memory.c:4422 filemap_map_pages+0xc8b/0x11c0 mm/filemap.c:3513 do_fault_around mm/memory.c:4598 [inline] do_read_fault mm/memory.c:4624 [inline] do_fault mm/memory.c:4758 [inline] handle_pte_fault mm/memory.c:5029 [inline] __handle_mm_fault mm/memory.c:5171 [inline] handle_mm_fault+0x2991/0x3ee0 mm/memory.c:5292 do_user_addr_fault+0x51f/0xb10 arch/x86/mm/fault.c:1338 handle_page_fault arch/x86/mm/fault.c:1429 [inline] exc_page_fault+0x60/0x100 arch/x86/mm/fault.c:1482 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:608 RIP: 0033:0x7f39bfe71756 Code: ff 48 83 e8 01 48 89 de bf 01 00 00 00 48 c1 e0 0e 48 c1 ee 06 48 01 c8 48 89 d9 81 e6 ff 3f 00 00 48 c1 e9 03 83 e1 07 d3 e7 <40> 84 bc 06 20 20 00 00 0f 85 20 fe ff ff e9 d4 fd ff ff 0f 1f 80 RSP: 002b:00007ffe3e96aad0 EFLAGS: 00010202 RAX: 000000110c308000 RBX: ffffffff81b7eb56 RCX: 0000000000000002 RDX: 0000000000000b56 RSI: 0000000000001fad RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007f39c0200000 R09: 00007f39c0202000 R10: 0000000081b7eb5a R11: 0000000000000000 R12: 00007f39c0216038 R13: 000000000000003c R14: ffffffff81b7e9f3 R15: 00007f39c0d45720 ================================================================================ ---------------- Code disassembly (best guess): 0: 93 xchg %eax,%ebx 1: ff 48 8d decl -0x73(%rax) 4: 35 00 00 00 00 xor $0x0,%eax 9: 48 c7 c7 60 de b2 8c mov $0xffffffff8cb2de60,%rdi 10: 5b pop %rbx 11: 41 5c pop %r12 13: 41 5d pop %r13 15: 41 5e pop %r14 17: 41 5f pop %r15 19: e9 da b1 8a ff jmp 0xff8ab1f8 1e: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 25: 00 00 00 28: 41 57 push %r15 * 2a: 41 56 push %r14 <-- trapping instruction 2c: 53 push %rbx 2d: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 34: fc ff df 37: 48 8d 5f 08 lea 0x8(%rdi),%rbx 3b: 48 89 d8 mov %rbx,%rax 3e: 48 rex.W 3f: c1 .byte 0xc1