================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 65092 is out of range for type 'const int[34]' CPU: 1 PID: 102 Comm: udevd Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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:1675 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766 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:__sanitizer_cov_trace_pc+0x1/0x60 kernel/kcov.c:209 Code: fb e8 23 00 00 00 48 8b 3d bc 7c 21 06 48 89 de e8 f4 d1 44 00 5b 5d c3 00 90 90 90 90 90 90 90 90 90 90 90 b8 0c 67 40 a5 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d 70 07 91 7e 65 8b 15 71 07 91 7e RSP: 0018:ffffc900009a7b00 EFLAGS: 00000202 RAX: ffffffff81e0e763 RBX: 0000000000000002 RCX: 0000000000000000 RDX: ffff88811049e540 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffffc900009a7b50 R08: ffff888111b0a107 R09: 1ffff11022361420 R10: dffffc0000000000 R11: ffffed1022361421 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888111b0a080 R15: ffff88810ba8e7d0 vfs_getattr_nosec fs/stat.c:124 [inline] vfs_getattr fs/stat.c:161 [inline] vfs_statx+0x3b7/0x6b0 fs/stat.c:233 vfs_fstatat fs/stat.c:267 [inline] __do_sys_newfstatat fs/stat.c:437 [inline] __se_sys_newfstatat+0x142/0x440 fs/stat.c:431 __x64_sys_newfstatat+0x9b/0xb0 fs/stat.c:431 x64_sys_call+0x77c/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:263 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:0x7f7cd8511b0a 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:00007ffc154356e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007ffc15435b80 RCX: 00007f7cd8511b0a RDX: 00007ffc154356f0 RSI: 00007ffc15435b80 RDI: 00000000ffffff9c RBP: 00005611f5c382c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc15435780 R13: 00005611cda34100 R14: 00005611f5e8cd10 R15: 00007ffc154361a0 ================================================================================ ================================================================== BUG: KASAN: global-out-of-bounds in aiptek_irq+0x2063/0x29b0 drivers/input/tablet/aiptek.c:741 Read of size 4 at addr ffffffff85ea4e10 by task udevd/102 CPU: 1 PID: 102 Comm: udevd Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x71/0x200 mm/kasan/report.c:316 print_report+0x4a/0x60 mm/kasan/report.c:420 kasan_report+0x122/0x150 mm/kasan/report.c:524 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:350 aiptek_irq+0x2063/0x29b0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x360/0x520 drivers/usb/core/hcd.c:1675 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766 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:__sanitizer_cov_trace_pc+0x1/0x60 kernel/kcov.c:209 Code: fb e8 23 00 00 00 48 8b 3d bc 7c 21 06 48 89 de e8 f4 d1 44 00 5b 5d c3 00 90 90 90 90 90 90 90 90 90 90 90 b8 0c 67 40 a5 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d 70 07 91 7e 65 8b 15 71 07 91 7e RSP: 0018:ffffc900009a7b00 EFLAGS: 00000202 RAX: ffffffff81e0e763 RBX: 0000000000000002 RCX: 0000000000000000 RDX: ffff88811049e540 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffffc900009a7b50 R08: ffff888111b0a107 R09: 1ffff11022361420 R10: dffffc0000000000 R11: ffffed1022361421 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888111b0a080 R15: ffff88810ba8e7d0 vfs_getattr_nosec fs/stat.c:124 [inline] vfs_getattr fs/stat.c:161 [inline] vfs_statx+0x3b7/0x6b0 fs/stat.c:233 vfs_fstatat fs/stat.c:267 [inline] __do_sys_newfstatat fs/stat.c:437 [inline] __se_sys_newfstatat+0x142/0x440 fs/stat.c:431 __x64_sys_newfstatat+0x9b/0xb0 fs/stat.c:431 x64_sys_call+0x77c/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:263 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:0x7f7cd8511b0a 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:00007ffc154356e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007ffc15435b80 RCX: 00007f7cd8511b0a RDX: 00007ffc154356f0 RSI: 00007ffc15435b80 RDI: 00000000ffffff9c RBP: 00005611f5c382c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc15435780 R13: 00005611cda34100 R14: 00005611f5e8cd10 R15: 00007ffc154361a0 The buggy address belongs to the variable: .str.111+0x50/0x60 The buggy address belongs to the physical page: page:ffffea000017a900 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5ea4 flags: 0x1000(reserved|zone=0) raw: 0000000000001000 ffffea000017a908 ffffea000017a908 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffffffff85ea4d00: 01 f9 f9 f9 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 ffffffff85ea4d80: 00 f9 f9 f9 00 f9 f9 f9 00 00 00 00 00 00 00 01 >ffffffff85ea4e00: f9 f9 f9 f9 00 00 00 00 00 00 03 f9 f9 f9 f9 f9 ^ ffffffff85ea4e80: 00 00 00 00 00 00 07 f9 f9 f9 f9 f9 00 00 00 00 ffffffff85ea4f00: 00 00 00 00 07 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 ================================================================== ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 65093 is out of range for type 'const int[34]' CPU: 1 PID: 102 Comm: udevd Tainted: G B W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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:1675 usb_hcd_giveback_urb+0x11f/0x3e0 drivers/usb/core/hcd.c:1758 dummy_timer+0xa25/0x3270 drivers/usb/gadget/udc/dummy_hcd.c:2004 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x398/0x890 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x19b/0x260 kernel/time/hrtimer.c:1766 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:__sanitizer_cov_trace_pc+0x1/0x60 kernel/kcov.c:209 Code: fb e8 23 00 00 00 48 8b 3d bc 7c 21 06 48 89 de e8 f4 d1 44 00 5b 5d c3 00 90 90 90 90 90 90 90 90 90 90 90 b8 0c 67 40 a5 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d 70 07 91 7e 65 8b 15 71 07 91 7e RSP: 0018:ffffc900009a7b00 EFLAGS: 00000202 RAX: ffffffff81e0e763 RBX: 0000000000000002 RCX: 0000000000000000 RDX: ffff88811049e540 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffffc900009a7b50 R08: ffff888111b0a107 R09: 1ffff11022361420 R10: dffffc0000000000 R11: ffffed1022361421 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888111b0a080 R15: ffff88810ba8e7d0 vfs_getattr_nosec fs/stat.c:124 [inline] vfs_getattr fs/stat.c:161 [inline] vfs_statx+0x3b7/0x6b0 fs/stat.c:233 vfs_fstatat fs/stat.c:267 [inline] __do_sys_newfstatat fs/stat.c:437 [inline] __se_sys_newfstatat+0x142/0x440 fs/stat.c:431 __x64_sys_newfstatat+0x9b/0xb0 fs/stat.c:431 x64_sys_call+0x77c/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:263 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:0x7f7cd8511b0a 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:00007ffc154356e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 00007ffc15435b80 RCX: 00007f7cd8511b0a RDX: 00007ffc154356f0 RSI: 00007ffc15435b80 RDI: 00000000ffffff9c RBP: 00005611f5c382c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc15435780 R13: 00005611cda34100 R14: 00005611f5e8cd10 R15: 00007ffc154361a0 ================================================================================ aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: fb sti 1: e8 23 00 00 00 call 0x29 6: 48 8b 3d bc 7c 21 06 mov 0x6217cbc(%rip),%rdi # 0x6217cc9 d: 48 89 de mov %rbx,%rsi 10: e8 f4 d1 44 00 call 0x44d209 15: 5b pop %rbx 16: 5d pop %rbp 17: c3 ret 18: 00 90 90 90 90 90 add %dl,-0x6f6f6f70(%rax) 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: b8 0c 67 40 a5 mov $0xa540670c,%eax 29: 55 push %rbp * 2a: 48 89 e5 mov %rsp,%rbp <-- trapping instruction 2d: 48 8b 45 08 mov 0x8(%rbp),%rax 31: 65 48 8b 0d 70 07 91 mov %gs:0x7e910770(%rip),%rcx # 0x7e9107a9 38: 7e 39: 65 8b 15 71 07 91 7e mov %gs:0x7e910771(%rip),%edx # 0x7e9107b1