------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 29183 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 328 Comm: udevd Not tainted syzkaller #0 0df34d65b0d607a0381efd32d2e78efe3339ed37 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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+0x371/0x530 drivers/usb/core/hcd.c:1646 usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730 dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1758 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1822 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839 handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684 __do_softirq kernel/softirq.c:722 [inline] invoke_softirq kernel/softirq.c:539 [inline] __irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771 irq_exit_rcu+0xd/0x30 kernel/softirq.c:783 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:__asan_memcpy+0x48/0x80 mm/kasan/shadow.c:105 Code: 45 31 e4 48 89 f7 48 89 d6 31 d2 4c 89 e9 e8 4f e3 ff ff 84 c0 74 2d 4c 89 ff 48 89 de ba 01 00 00 00 4c 89 e9 e8 38 e3 ff ff <84> c0 74 13 4c 89 ff 4c 89 f6 48 89 da e8 06 c0 c7 03 49 89 c4 eb RSP: 0018:ffffc9000b7f7ca8 EFLAGS: 00000256 RAX: 1ffff110218c9d01 RBX: 0000000000000003 RCX: ffffffff821455da RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff88811e51e013 RBP: ffffc9000b7f7cd0 R08: ffff88811e51e015 R09: 1ffff11023ca3c02 R10: dffffc0000000000 R11: ffffed1023ca3c03 R12: 0000000000000000 R13: ffffffff821455da R14: ffffffff86688900 R15: ffff88811e51e013 kernfs_get_target_path fs/kernfs/symlink.c:101 [inline] kernfs_getlink fs/kernfs/symlink.c:120 [inline] kernfs_iop_get_link+0x4aa/0x6c0 fs/kernfs/symlink.c:138 vfs_readlink+0x185/0x3b0 fs/namei.c:5275 do_readlinkat+0x223/0x520 fs/stat.c:551 __do_sys_readlink fs/stat.c:574 [inline] __se_sys_readlink fs/stat.c:571 [inline] __x64_sys_readlink+0x83/0xa0 fs/stat.c:571 x64_sys_call+0x155b/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:90 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:0x7ff1e19153a7 Code: 00 00 90 48 83 ec 10 48 63 ff 45 31 c9 45 31 c0 6a 00 31 c9 e8 8a 20 f9 ff 48 83 c4 18 c3 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 21 ba 0d 00 f7 d8 64 89 02 48 RSP: 002b:00007fff9e6ecff8 EFLAGS: 00000206 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007fff9e6ed840 RCX: 00007ff1e19153a7 RDX: 0000000000000400 RSI: 00007fff9e6ed400 RDI: 00007fff9e6ed000 RBP: 0000000000000200 R08: 0000559bab051604 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 00007fff9e6ed000 R13: 00007fff9e6ed400 R14: 0000559bab058ca4 R15: 0000559bab058bcc ---[ end trace ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 29184 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 328 Comm: udevd Not tainted syzkaller #0 0df34d65b0d607a0381efd32d2e78efe3339ed37 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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+0x371/0x530 drivers/usb/core/hcd.c:1646 usb_hcd_giveback_urb+0x12b/0x400 drivers/usb/core/hcd.c:1730 dummy_timer+0xa3f/0x4900 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1758 [inline] __hrtimer_run_queues+0x3ae/0x8e0 kernel/time/hrtimer.c:1822 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1839 handle_softirqs+0x1b0/0x5b0 kernel/softirq.c:684 __do_softirq kernel/softirq.c:722 [inline] invoke_softirq kernel/softirq.c:539 [inline] __irq_exit_rcu+0x47/0xb0 kernel/softirq.c:771 irq_exit_rcu+0xd/0x30 kernel/softirq.c:783 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:__asan_memcpy+0x48/0x80 mm/kasan/shadow.c:105 Code: 45 31 e4 48 89 f7 48 89 d6 31 d2 4c 89 e9 e8 4f e3 ff ff 84 c0 74 2d 4c 89 ff 48 89 de ba 01 00 00 00 4c 89 e9 e8 38 e3 ff ff <84> c0 74 13 4c 89 ff 4c 89 f6 48 89 da e8 06 c0 c7 03 49 89 c4 eb RSP: 0018:ffffc9000b7f7ca8 EFLAGS: 00000256 RAX: 1ffff110218c9d01 RBX: 0000000000000003 RCX: ffffffff821455da RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff88811e51e013 RBP: ffffc9000b7f7cd0 R08: ffff88811e51e015 R09: 1ffff11023ca3c02 R10: dffffc0000000000 R11: ffffed1023ca3c03 R12: 0000000000000000 R13: ffffffff821455da R14: ffffffff86688900 R15: ffff88811e51e013 kernfs_get_target_path fs/kernfs/symlink.c:101 [inline] kernfs_getlink fs/kernfs/symlink.c:120 [inline] kernfs_iop_get_link+0x4aa/0x6c0 fs/kernfs/symlink.c:138 vfs_readlink+0x185/0x3b0 fs/namei.c:5275 do_readlinkat+0x223/0x520 fs/stat.c:551 __do_sys_readlink fs/stat.c:574 [inline] __se_sys_readlink fs/stat.c:571 [inline] __x64_sys_readlink+0x83/0xa0 fs/stat.c:571 x64_sys_call+0x155b/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:90 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:0x7ff1e19153a7 Code: 00 00 90 48 83 ec 10 48 63 ff 45 31 c9 45 31 c0 6a 00 31 c9 e8 8a 20 f9 ff 48 83 c4 18 c3 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 21 ba 0d 00 f7 d8 64 89 02 48 RSP: 002b:00007fff9e6ecff8 EFLAGS: 00000206 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007fff9e6ed840 RCX: 00007ff1e19153a7 RDX: 0000000000000400 RSI: 00007fff9e6ed400 RDI: 00007fff9e6ed000 RBP: 0000000000000200 R08: 0000559bab051604 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 00007fff9e6ed000 R13: 00007fff9e6ed400 R14: 0000559bab058ca4 R15: 0000559bab058bcc ---[ end trace ]--- aiptek 4-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 45 31 e4 xor %r12d,%r12d 3: 48 89 f7 mov %rsi,%rdi 6: 48 89 d6 mov %rdx,%rsi 9: 31 d2 xor %edx,%edx b: 4c 89 e9 mov %r13,%rcx e: e8 4f e3 ff ff call 0xffffe362 13: 84 c0 test %al,%al 15: 74 2d je 0x44 17: 4c 89 ff mov %r15,%rdi 1a: 48 89 de mov %rbx,%rsi 1d: ba 01 00 00 00 mov $0x1,%edx 22: 4c 89 e9 mov %r13,%rcx 25: e8 38 e3 ff ff call 0xffffe362 * 2a: 84 c0 test %al,%al <-- trapping instruction 2c: 74 13 je 0x41 2e: 4c 89 ff mov %r15,%rdi 31: 4c 89 f6 mov %r14,%rsi 34: 48 89 da mov %rbx,%rdx 37: e8 06 c0 c7 03 call 0x3c7c042 3c: 49 89 c4 mov %rax,%r12 3f: eb .byte 0xeb