================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 35676 is out of range for type 'const int[34]' CPU: 0 PID: 333 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 dump_stack+0x15/0x24 lib/dump_stack.c:113 ubsan_epilogue+0xe/0x40 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 aiptek_irq+0x2045/0x29b0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1673 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1756 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x398/0x8a0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1770 handle_softirqs+0x1d7/0x600 kernel/softirq.c:642 __do_softirq kernel/softirq.c:680 [inline] invoke_softirq kernel/softirq.c:497 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729 irq_exit_rcu+0x9/0x10 kernel/softirq.c:741 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:unwind_next_frame+0x543/0x660 arch/x86/kernel/unwind_frame.c:370 Code: 74 30 48 89 df e8 dd 05 00 00 48 8b 45 b0 42 0f b6 04 30 84 c0 0f 85 a3 00 00 00 c7 03 00 00 00 00 31 c0 48 83 c4 28 5b 41 5c <41> 5d 41 5e 41 5f 5d c3 c6 05 41 07 5a 06 01 48 8b 45 c0 42 80 3c RSP: 0018:ffffc9000dcef6e0 EFLAGS: 00000292 RAX: 1ffff92001b9de01 RBX: ffffc9000dcef7c0 RCX: 0000000001b9de01 RDX: ffffc9000dceff10 RSI: 1ffff92001b9dee2 RDI: ffffc9000dcef730 RBP: ffffc9000dcef6f8 R08: ffffc9000dcef7d0 R09: ffffc9000dcef7c8 R10: 0000000000000009 R11: fffff52001b9deed R12: ffff888113529440 R13: ffffc9000dcef730 R14: dffffc0000000000 R15: 0000000000000000 arch_stack_walk+0x124/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:380 [inline] __kasan_kmalloc+0x95/0xb0 mm/kasan/common.c:389 kasan_kmalloc include/linux/kasan.h:212 [inline] __do_kmalloc_node mm/slab_common.c:938 [inline] __kmalloc_node+0xb2/0x1e0 mm/slab_common.c:945 kmalloc_node include/linux/slab.h:589 [inline] kvmalloc_node+0x28a/0x460 mm/util.c:592 kvmalloc include/linux/slab.h:716 [inline] vmemdup_user+0x26/0xe0 mm/util.c:205 setxattr_copy fs/xattr.c:573 [inline] setxattr+0x1ce/0x330 fs/xattr.c:613 path_setxattr+0x147/0x290 fs/xattr.c:636 __do_sys_lsetxattr fs/xattr.c:659 [inline] __se_sys_lsetxattr fs/xattr.c:655 [inline] __x64_sys_lsetxattr+0xc2/0xe0 fs/xattr.c:655 x64_sys_call+0x8b7/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:190 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f524971d57a Code: 48 83 c4 08 48 89 d8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 0f 1f 44 00 00 31 db eb e4 0f 1f 40 00 49 89 ca b8 bd 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4e 38 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffec3ec0508 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 000055ed3416aba0 RCX: 00007f524971d57a RDX: 000055ed3416aba0 RSI: 00007f5249dd429c RDI: 000055ed343bfa60 RBP: 000055ed341678d0 R08: 0000000000000000 R09: 0000000000000030 R10: 000000000000001f R11: 0000000000000246 R12: 000055ed343bfa60 R13: 0000000000000001 R14: 000055ed343bfa60 R15: 000055ed343bc150 ================================================================================ ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 35677 is out of range for type 'const int[34]' CPU: 0 PID: 333 Comm: udevd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 dump_stack+0x15/0x24 lib/dump_stack.c:113 ubsan_epilogue+0xe/0x40 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 aiptek_irq+0x1f14/0x29b0 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1673 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1756 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x398/0x8a0 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1770 handle_softirqs+0x1d7/0x600 kernel/softirq.c:642 __do_softirq kernel/softirq.c:680 [inline] invoke_softirq kernel/softirq.c:497 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729 irq_exit_rcu+0x9/0x10 kernel/softirq.c:741 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:unwind_next_frame+0x543/0x660 arch/x86/kernel/unwind_frame.c:370 Code: 74 30 48 89 df e8 dd 05 00 00 48 8b 45 b0 42 0f b6 04 30 84 c0 0f 85 a3 00 00 00 c7 03 00 00 00 00 31 c0 48 83 c4 28 5b 41 5c <41> 5d 41 5e 41 5f 5d c3 c6 05 41 07 5a 06 01 48 8b 45 c0 42 80 3c RSP: 0018:ffffc9000dcef6e0 EFLAGS: 00000292 RAX: 1ffff92001b9de01 RBX: ffffc9000dcef7c0 RCX: 0000000001b9de01 RDX: ffffc9000dceff10 RSI: 1ffff92001b9dee2 RDI: ffffc9000dcef730 RBP: ffffc9000dcef6f8 R08: ffffc9000dcef7d0 R09: ffffc9000dcef7c8 R10: 0000000000000009 R11: fffff52001b9deed R12: ffff888113529440 R13: ffffc9000dcef730 R14: dffffc0000000000 R15: 0000000000000000 arch_stack_walk+0x124/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:380 [inline] __kasan_kmalloc+0x95/0xb0 mm/kasan/common.c:389 kasan_kmalloc include/linux/kasan.h:212 [inline] __do_kmalloc_node mm/slab_common.c:938 [inline] __kmalloc_node+0xb2/0x1e0 mm/slab_common.c:945 kmalloc_node include/linux/slab.h:589 [inline] kvmalloc_node+0x28a/0x460 mm/util.c:592 kvmalloc include/linux/slab.h:716 [inline] vmemdup_user+0x26/0xe0 mm/util.c:205 setxattr_copy fs/xattr.c:573 [inline] setxattr+0x1ce/0x330 fs/xattr.c:613 path_setxattr+0x147/0x290 fs/xattr.c:636 __do_sys_lsetxattr fs/xattr.c:659 [inline] __se_sys_lsetxattr fs/xattr.c:655 [inline] __x64_sys_lsetxattr+0xc2/0xe0 fs/xattr.c:655 x64_sys_call+0x8b7/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:190 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f524971d57a Code: 48 83 c4 08 48 89 d8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 0f 1f 44 00 00 31 db eb e4 0f 1f 40 00 49 89 ca b8 bd 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4e 38 0d 00 f7 d8 64 89 01 48 RSP: 002b:00007ffec3ec0508 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 000055ed3416aba0 RCX: 00007f524971d57a RDX: 000055ed3416aba0 RSI: 00007f5249dd429c RDI: 000055ed343bfa60 RBP: 000055ed341678d0 R08: 0000000000000000 R09: 0000000000000030 R10: 000000000000001f R11: 0000000000000246 R12: 000055ed343bfa60 R13: 0000000000000001 R14: 000055ed343bfa60 R15: 000055ed343bc150 ================================================================================ aiptek 5-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 74 30 je 0x32 2: 48 89 df mov %rbx,%rdi 5: e8 dd 05 00 00 call 0x5e7 a: 48 8b 45 b0 mov -0x50(%rbp),%rax e: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax 13: 84 c0 test %al,%al 15: 0f 85 a3 00 00 00 jne 0xbe 1b: c7 03 00 00 00 00 movl $0x0,(%rbx) 21: 31 c0 xor %eax,%eax 23: 48 83 c4 28 add $0x28,%rsp 27: 5b pop %rbx 28: 41 5c pop %r12 * 2a: 41 5d pop %r13 <-- trapping instruction 2c: 41 5e pop %r14 2e: 41 5f pop %r15 30: 5d pop %rbp 31: c3 ret 32: c6 05 41 07 5a 06 01 movb $0x1,0x65a0741(%rip) # 0x65a077a 39: 48 8b 45 c0 mov -0x40(%rbp),%rax 3d: 42 rex.X 3e: 80 .byte 0x80 3f: 3c .byte 0x3c