------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 19545 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 317 Comm: udevd Not tainted syzkaller #0 4d4a838cf2fc485b043991145ccf8426a0241c16 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:memset_orig+0x33/0xb0 arch/x86/lib/memset_64.S:67 Code: b6 ce 48 b8 01 01 01 01 01 01 01 01 48 0f af c1 41 89 f9 41 83 e1 07 75 70 48 89 d1 48 c1 e9 06 74 35 0f 1f 44 00 00 48 ff c9 <48> 89 07 48 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 48 89 47 RSP: 0018:ffffc9000b7efae8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff8881168f5500 RCX: 0000000000000007 RDX: 0000000000000200 RSI: 0000000000000000 RDI: ffffed1022d1eaa0 RBP: ffffc9000b7efb08 R08: ffffc9000b7efe27 R09: 0000000000000000 R10: ffffed1022d1eaa0 R11: fffff520016fdfc5 R12: 0000000000000001 R13: 0000000000022601 R14: 0000000000001000 R15: dffffc0000000000 unpoison_slab_object mm/kasan/common.c:317 [inline] __kasan_slab_alloc+0x5e/0x90 mm/kasan/common.c:347 kasan_slab_alloc include/linux/kasan.h:251 [inline] slab_post_alloc_hook mm/slub.c:4202 [inline] slab_alloc_node mm/slub.c:4251 [inline] kmem_cache_alloc_noprof+0x1bf/0x410 mm/slub.c:4260 getname_flags+0xcc/0x6b0 fs/namei.c:139 vfs_fstatat+0xcb/0x1d0 fs/stat.c:340 __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:0x7f9d2b511b0a 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:00007ffdc4068608 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00005580479c0735 RCX: 00007f9d2b511b0a RDX: 00007ffdc4068610 RSI: 00007ffdc40686a0 RDI: 00000000ffffff9c RBP: 0000558085cc5f70 R08: 00005580479c0735 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 0000558085cc6060 R13: 00007ffdc40686a0 R14: 00007ffdc4069b80 R15: 0000000000000000 ---[ end trace ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 19546 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 317 Comm: udevd Not tainted syzkaller #0 4d4a838cf2fc485b043991145ccf8426a0241c16 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:memset_orig+0x33/0xb0 arch/x86/lib/memset_64.S:67 Code: b6 ce 48 b8 01 01 01 01 01 01 01 01 48 0f af c1 41 89 f9 41 83 e1 07 75 70 48 89 d1 48 c1 e9 06 74 35 0f 1f 44 00 00 48 ff c9 <48> 89 07 48 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 48 89 47 RSP: 0018:ffffc9000b7efae8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff8881168f5500 RCX: 0000000000000007 RDX: 0000000000000200 RSI: 0000000000000000 RDI: ffffed1022d1eaa0 RBP: ffffc9000b7efb08 R08: ffffc9000b7efe27 R09: 0000000000000000 R10: ffffed1022d1eaa0 R11: fffff520016fdfc5 R12: 0000000000000001 R13: 0000000000022601 R14: 0000000000001000 R15: dffffc0000000000 unpoison_slab_object mm/kasan/common.c:317 [inline] __kasan_slab_alloc+0x5e/0x90 mm/kasan/common.c:347 kasan_slab_alloc include/linux/kasan.h:251 [inline] slab_post_alloc_hook mm/slub.c:4202 [inline] slab_alloc_node mm/slub.c:4251 [inline] kmem_cache_alloc_noprof+0x1bf/0x410 mm/slub.c:4260 getname_flags+0xcc/0x6b0 fs/namei.c:139 vfs_fstatat+0xcb/0x1d0 fs/stat.c:340 __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:0x7f9d2b511b0a 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:00007ffdc4068608 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00005580479c0735 RCX: 00007f9d2b511b0a RDX: 00007ffdc4068610 RSI: 00007ffdc40686a0 RDI: 00000000ffffff9c RBP: 0000558085cc5f70 R08: 00005580479c0735 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 0000558085cc6060 R13: 00007ffdc40686a0 R14: 00007ffdc4069b80 R15: 0000000000000000 ---[ end trace ]--- aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: b6 ce mov $0xce,%dh 2: 48 b8 01 01 01 01 01 movabs $0x101010101010101,%rax 9: 01 01 01 c: 48 0f af c1 imul %rcx,%rax 10: 41 89 f9 mov %edi,%r9d 13: 41 83 e1 07 and $0x7,%r9d 17: 75 70 jne 0x89 19: 48 89 d1 mov %rdx,%rcx 1c: 48 c1 e9 06 shr $0x6,%rcx 20: 74 35 je 0x57 22: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 27: 48 ff c9 dec %rcx * 2a: 48 89 07 mov %rax,(%rdi) <-- trapping instruction 2d: 48 89 47 08 mov %rax,0x8(%rdi) 31: 48 89 47 10 mov %rax,0x10(%rdi) 35: 48 89 47 18 mov %rax,0x18(%rdi) 39: 48 89 47 20 mov %rax,0x20(%rdi) 3d: 48 rex.W 3e: 89 .byte 0x89 3f: 47 rex.RXB