------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 51095 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 318 Comm: udevd Not tainted syzkaller #0 471281939cd7bfdfff4c6b6074d5d68627c837ba Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x20cb/0x2a00 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 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:d_revalidate fs/namei.c:867 [inline] RIP: 0010:lookup_fast+0xa2/0x530 fs/namei.c:1701 Code: 89 df e8 11 f3 01 00 48 85 c0 0f 84 04 01 00 00 49 89 c7 48 89 c3 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 0b 03 00 00 44 8b 23 <44> 89 e6 83 e6 04 31 ff e8 d1 ab 97 ff 41 83 e4 04 0f 85 fa 00 00 RSP: 0018:ffffc9000b7bf850 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888113b3b770 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 7265626d754e6563 RDI: ffff888107fa0000 RBP: ffffc9000b7bf898 R08: ffff888113b3b7b0 R09: 1ffff110227676f6 R10: dffffc0000000000 R11: ffffed10227676f7 R12: 0000000000080044 R13: dffffc0000000000 R14: 1ffff920016f7f3f R15: ffff888113b3b770 walk_component+0x5c/0x440 fs/namei.c:2057 lookup_last fs/namei.c:2564 [inline] path_lookupat+0x180/0x4a0 fs/namei.c:2588 filename_lookup+0x228/0x580 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:0x7f6308511b0a 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:00007ffe0f5f62a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055a4fad41c06 RCX: 00007f6308511b0a RDX: 00007ffe0f5f62b0 RSI: 00007ffe0f5f6340 RDI: 00000000ffffff9c RBP: 000055a4fad28560 R08: 000055a4fad41c06 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 000055a4fad28650 R13: 00007ffe0f5f6340 R14: 000055a4c4f87ca4 R15: 000055a4c4f87bcc ---[ end trace ]--- ================================================================== BUG: KASAN: global-out-of-bounds in aiptek_irq+0x20e9/0x2a00 drivers/input/tablet/aiptek.c:741 Read of size 4 at addr ffffffff8674091c by task udevd/318 CPU: 0 UID: 0 PID: 318 Comm: udevd Not tainted syzkaller #0 471281939cd7bfdfff4c6b6074d5d68627c837ba Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:94 dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120 print_address_description+0x71/0x210 mm/kasan/report.c:377 print_report+0x4a/0x70 mm/kasan/report.c:481 kasan_report+0x162/0x1a0 mm/kasan/report.c:594 __asan_report_load4_noabort+0x18/0x20 mm/kasan/report_generic.c:380 aiptek_irq+0x20e9/0x2a00 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 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:d_revalidate fs/namei.c:867 [inline] RIP: 0010:lookup_fast+0xa2/0x530 fs/namei.c:1701 Code: 89 df e8 11 f3 01 00 48 85 c0 0f 84 04 01 00 00 49 89 c7 48 89 c3 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 0b 03 00 00 44 8b 23 <44> 89 e6 83 e6 04 31 ff e8 d1 ab 97 ff 41 83 e4 04 0f 85 fa 00 00 RSP: 0018:ffffc9000b7bf850 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888113b3b770 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 7265626d754e6563 RDI: ffff888107fa0000 RBP: ffffc9000b7bf898 R08: ffff888113b3b7b0 R09: 1ffff110227676f6 R10: dffffc0000000000 R11: ffffed10227676f7 R12: 0000000000080044 R13: dffffc0000000000 R14: 1ffff920016f7f3f R15: ffff888113b3b770 walk_component+0x5c/0x440 fs/namei.c:2057 lookup_last fs/namei.c:2564 [inline] path_lookupat+0x180/0x4a0 fs/namei.c:2588 filename_lookup+0x228/0x580 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:0x7f6308511b0a 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:00007ffe0f5f62a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055a4fad41c06 RCX: 00007f6308511b0a RDX: 00007ffe0f5f62b0 RSI: 00007ffe0f5f6340 RDI: 00000000ffffff9c RBP: 000055a4fad28560 R08: 000055a4fad41c06 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 000055a4fad28650 R13: 00007ffe0f5f6340 R14: 000055a4c4f87ca4 R15: 000055a4c4f87bcc The buggy address belongs to the variable: .str.29+0x5c/0x60 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6740 flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019d008 ffffea000019d008 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: ffffffff86740800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffffff86740880: 00 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 01 f9 f9 f9 >ffffffff86740900: f9 f9 f9 f9 00 00 00 00 00 01 f9 f9 f9 f9 f9 f9 ^ ffffffff86740980: 00 00 00 04 f9 f9 f9 f9 00 00 00 00 00 00 00 00 ffffffff86740a00: 00 00 f9 f9 00 00 00 00 00 00 03 f9 f9 f9 f9 f9 ================================================================== ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 51096 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 318 Comm: udevd Tainted: G B syzkaller #0 471281939cd7bfdfff4c6b6074d5d68627c837ba Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x1f85/0x2a00 drivers/input/tablet/aiptek.c:763 __usb_hcd_giveback_urb+0x375/0x540 drivers/usb/core/hcd.c:1648 usb_hcd_giveback_urb+0x11b/0x410 drivers/usb/core/hcd.c:1732 dummy_timer+0x816/0x4300 drivers/usb/gadget/udc/dummy_hcd.c:2003 __run_hrtimer kernel/time/hrtimer.c:1753 [inline] __hrtimer_run_queues+0x3ab/0x8e0 kernel/time/hrtimer.c:1817 hrtimer_run_softirq+0x159/0x560 kernel/time/hrtimer.c:1834 handle_softirqs+0x1aa/0x630 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:d_revalidate fs/namei.c:867 [inline] RIP: 0010:lookup_fast+0xa2/0x530 fs/namei.c:1701 Code: 89 df e8 11 f3 01 00 48 85 c0 0f 84 04 01 00 00 49 89 c7 48 89 c3 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 0b 03 00 00 44 8b 23 <44> 89 e6 83 e6 04 31 ff e8 d1 ab 97 ff 41 83 e4 04 0f 85 fa 00 00 RSP: 0018:ffffc9000b7bf850 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888113b3b770 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 7265626d754e6563 RDI: ffff888107fa0000 RBP: ffffc9000b7bf898 R08: ffff888113b3b7b0 R09: 1ffff110227676f6 R10: dffffc0000000000 R11: ffffed10227676f7 R12: 0000000000080044 R13: dffffc0000000000 R14: 1ffff920016f7f3f R15: ffff888113b3b770 walk_component+0x5c/0x440 fs/namei.c:2057 lookup_last fs/namei.c:2564 [inline] path_lookupat+0x180/0x4a0 fs/namei.c:2588 filename_lookup+0x228/0x580 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:0x7f6308511b0a 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:00007ffe0f5f62a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055a4fad41c06 RCX: 00007f6308511b0a RDX: 00007ffe0f5f62b0 RSI: 00007ffe0f5f6340 RDI: 00000000ffffff9c RBP: 000055a4fad28560 R08: 000055a4fad41c06 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 000055a4fad28650 R13: 00007ffe0f5f6340 R14: 000055a4c4f87ca4 R15: 000055a4c4f87bcc ---[ end trace ]--- aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 89 df mov %ebx,%edi 2: e8 11 f3 01 00 call 0x1f318 7: 48 85 c0 test %rax,%rax a: 0f 84 04 01 00 00 je 0x114 10: 49 89 c7 mov %rax,%r15 13: 48 89 c3 mov %rax,%rbx 16: 48 c1 e8 03 shr $0x3,%rax 1a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax 1f: 84 c0 test %al,%al 21: 0f 85 0b 03 00 00 jne 0x332 27: 44 8b 23 mov (%rbx),%r12d * 2a: 44 89 e6 mov %r12d,%esi <-- trapping instruction 2d: 83 e6 04 and $0x4,%esi 30: 31 ff xor %edi,%edi 32: e8 d1 ab 97 ff call 0xff97ac08 37: 41 83 e4 04 and $0x4,%r12d 3b: 0f .byte 0xf 3c: 85 fa test %edi,%edx