------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 26763 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 633 Comm: udevd Not tainted syzkaller #0 28dc4f15f82f041c91cead1444746a7bfe1433af Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:94 dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120 dump_stack+0x19/0x20 lib/dump_stack.c:129 ubsan_epilogue+0xe/0x40 lib/ubsan.c:231 __ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:429 aiptek_irq+0x208d/0x2a00 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x36e/0x530 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1732 dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1757 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838 handle_softirqs+0x1aa/0x620 kernel/softirq.c:621 __do_softirq kernel/softirq.c:659 [inline] invoke_softirq kernel/softirq.c:476 [inline] __irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708 irq_exit_rcu+0xd/0x30 kernel/softirq.c:720 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702 RIP: 0010:set_nlink+0x40/0x1a0 fs/inode.c:-1 Code: fe 49 bc 00 00 00 00 00 fc ff df e8 5a 4a 95 ff 31 ff 44 89 fe e8 90 4e 95 ff 4d 8d 6e 48 4c 89 eb 48 c1 eb 03 42 0f b6 04 23 <84> c0 0f 85 fa 00 00 00 45 8b 65 00 31 ff 44 89 e6 e8 6a 4e 95 ff RSP: 0018:ffffc9000e8cf770 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: 1ffff11022461481 RCX: 0000000000000000 RDX: ffff88811dfccc00 RSI: 0000000000000005 RDI: 0000000000000000 RBP: ffffc9000e8cf798 R08: ffff8881016520af R09: 1ffff110202ca415 R10: dffffc0000000000 R11: ffffed10202ca416 R12: dffffc0000000000 R13: ffff88811230a408 R14: ffff88811230a3c0 R15: 0000000000000005 kernfs_refresh_inode fs/kernfs/inode.c:180 [inline] kernfs_iop_permission+0x3d4/0x590 fs/kernfs/inode.c:288 do_inode_permission fs/namei.c:468 [inline] inode_permission+0x250/0x4c0 fs/namei.c:535 may_lookup fs/namei.c:1768 [inline] link_path_walk+0x22d/0xeb0 fs/namei.c:2374 path_lookupat+0x8d/0x440 fs/namei.c:2587 filename_lookup+0x22d/0x5a0 fs/namei.c:2617 vfs_statx+0x106/0x210 fs/stat.c:312 vfs_fstatat+0xe5/0x1d0 fs/stat.c:341 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat+0x127/0x3c0 fs/stat.c:499 __x64_sys_newfstatat+0x9f/0xc0 fs/stat.c:499 x64_sys_call+0x1821/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:263 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f4f66911b0a 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:00007fffa5e8b218 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00005573493b5024 RCX: 00007f4f66911b0a RDX: 00007fffa5e8b220 RSI: 00007fffa5e8b2b0 RDI: 00000000ffffff9c RBP: 0000557355ed3d40 R08: 00005573493b5024 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000202 R12: 0000557355ed3e30 R13: 00007fffa5e8b2b0 R14: 00007fffa5e8d3f0 R15: 00005573493bbbcc ---[ end trace ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 26764 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 633 Comm: udevd Not tainted syzkaller #0 28dc4f15f82f041c91cead1444746a7bfe1433af Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:94 dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120 dump_stack+0x19/0x20 lib/dump_stack.c:129 ubsan_epilogue+0xe/0x40 lib/ubsan.c:231 __ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:429 aiptek_irq+0x1f3c/0x2a00 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x36e/0x530 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1732 dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1757 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1821 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1838 handle_softirqs+0x1aa/0x620 kernel/softirq.c:621 __do_softirq kernel/softirq.c:659 [inline] invoke_softirq kernel/softirq.c:476 [inline] __irq_exit_rcu+0x47/0xb0 kernel/softirq.c:708 irq_exit_rcu+0xd/0x30 kernel/softirq.c:720 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x82/0x90 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:702 RIP: 0010:set_nlink+0x40/0x1a0 fs/inode.c:-1 Code: fe 49 bc 00 00 00 00 00 fc ff df e8 5a 4a 95 ff 31 ff 44 89 fe e8 90 4e 95 ff 4d 8d 6e 48 4c 89 eb 48 c1 eb 03 42 0f b6 04 23 <84> c0 0f 85 fa 00 00 00 45 8b 65 00 31 ff 44 89 e6 e8 6a 4e 95 ff RSP: 0018:ffffc9000e8cf770 EFLAGS: 00000a06 RAX: 0000000000000000 RBX: 1ffff11022461481 RCX: 0000000000000000 RDX: ffff88811dfccc00 RSI: 0000000000000005 RDI: 0000000000000000 RBP: ffffc9000e8cf798 R08: ffff8881016520af R09: 1ffff110202ca415 R10: dffffc0000000000 R11: ffffed10202ca416 R12: dffffc0000000000 R13: ffff88811230a408 R14: ffff88811230a3c0 R15: 0000000000000005 kernfs_refresh_inode fs/kernfs/inode.c:180 [inline] kernfs_iop_permission+0x3d4/0x590 fs/kernfs/inode.c:288 do_inode_permission fs/namei.c:468 [inline] inode_permission+0x250/0x4c0 fs/namei.c:535 may_lookup fs/namei.c:1768 [inline] link_path_walk+0x22d/0xeb0 fs/namei.c:2374 path_lookupat+0x8d/0x440 fs/namei.c:2587 filename_lookup+0x22d/0x5a0 fs/namei.c:2617 vfs_statx+0x106/0x210 fs/stat.c:312 vfs_fstatat+0xe5/0x1d0 fs/stat.c:341 __do_sys_newfstatat fs/stat.c:505 [inline] __se_sys_newfstatat+0x127/0x3c0 fs/stat.c:499 __x64_sys_newfstatat+0x9f/0xc0 fs/stat.c:499 x64_sys_call+0x1821/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:263 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f4f66911b0a 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:00007fffa5e8b218 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00005573493b5024 RCX: 00007f4f66911b0a RDX: 00007fffa5e8b220 RSI: 00007fffa5e8b2b0 RDI: 00000000ffffff9c RBP: 0000557355ed3d40 R08: 00005573493b5024 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000202 R12: 0000557355ed3e30 R13: 00007fffa5e8b2b0 R14: 00007fffa5e8d3f0 R15: 00005573493bbbcc ---[ end trace ]--- aiptek 4-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: fe 49 bc decb -0x44(%rcx) 3: 00 00 add %al,(%rax) 5: 00 00 add %al,(%rax) 7: 00 fc add %bh,%ah 9: ff lcall (bad) a: df e8 fucomip %st(0),%st c: 5a pop %rdx d: 4a 95 rex.WX xchg %rax,%rbp f: ff 31 push (%rcx) 11: ff 44 89 fe incl -0x2(%rcx,%rcx,4) 15: e8 90 4e 95 ff call 0xff954eaa 1a: 4d 8d 6e 48 lea 0x48(%r14),%r13 1e: 4c 89 eb mov %r13,%rbx 21: 48 c1 eb 03 shr $0x3,%rbx 25: 42 0f b6 04 23 movzbl (%rbx,%r12,1),%eax * 2a: 84 c0 test %al,%al <-- trapping instruction 2c: 0f 85 fa 00 00 00 jne 0x12c 32: 45 8b 65 00 mov 0x0(%r13),%r12d 36: 31 ff xor %edi,%edi 38: 44 89 e6 mov %r12d,%esi 3b: e8 6a 4e 95 ff call 0xff954eaa