------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 28671 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 816 Comm: udevd Not tainted syzkaller #0 f6ed0fb9bb938319f6518c785cf37c2d863a58c7 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+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+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:task_stack_page include/linux/sched/task_stack.h:23 [inline] RIP: 0010:last_frame arch/x86/kernel/unwind_frame.c:82 [inline] RIP: 0010:is_last_frame arch/x86/kernel/unwind_frame.c:87 [inline] RIP: 0010:is_last_task_frame arch/x86/kernel/unwind_frame.c:156 [inline] RIP: 0010:unwind_next_frame+0xe4/0x6b0 arch/x86/kernel/unwind_frame.c:276 Code: 89 45 b8 42 80 3c 30 00 74 08 4c 89 ef e8 a4 c5 9b 00 49 8b 45 00 48 89 45 d0 4c 8d 68 20 4c 89 e8 48 c1 e8 03 42 80 3c 30 00 <74> 08 4c 89 ef e8 82 c5 9b 00 49 8b 7d 00 4c 8d af 00 80 00 00 48 RSP: 0018:ffffc9000e54f3a8 EFLAGS: 00000246 RAX: 1ffff11022b0a004 RBX: ffffc9000e54f468 RCX: 1ffff92001ca9e94 RDX: ffffc9000e54f4f8 RSI: ffffc9000e54f478 RDI: ffffc9000e54f4a0 RBP: ffffc9000e54f3f8 R08: ffffc9000e54f401 R09: 0000000000000000 R10: ffffc9000e54f468 R11: fffff52001ca9e99 R12: ffffc9000e54f458 R13: ffff888115850020 R14: dffffc0000000000 R15: 0000000000000000 __unwind_start+0x340/0x400 arch/x86/kernel/unwind_frame.c:417 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xf2/0x170 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:49 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:70 kasan_save_free_info+0x44/0x50 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:249 [inline] __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:266 kasan_slab_free include/linux/kasan.h:234 [inline] slab_free_hook mm/slub.c:2445 [inline] slab_free mm/slub.c:4714 [inline] kfree+0x158/0x440 mm/slub.c:4875 kfree_link+0x19/0x30 fs/libfs.c:1613 do_delayed_call include/linux/delayed_call.h:28 [inline] put_link fs/namei.c:1032 [inline] walk_component+0x19a/0x450 fs/namei.c:2066 link_path_walk+0x723/0xeb0 fs/namei.c:2423 path_openat+0x298/0x35a0 fs/namei.c:3937 do_filp_open+0x1f2/0x440 fs/namei.c:3968 do_sys_openat2+0x134/0x1d0 fs/open.c:1434 do_sys_open fs/open.c:1449 [inline] __do_sys_openat fs/open.c:1465 [inline] __se_sys_openat fs/open.c:1460 [inline] __x64_sys_openat+0x13a/0x170 fs/open.c:1460 x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258 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:0x7fef618a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffc808e2ec0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fef61f78880 RCX: 00007fef618a7407 RDX: 0000000000080002 RSI: 000055cd364c23c0 RDI: ffffffffffffff9c RBP: 000055cd364c4770 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055cd364c6c00 R13: 00007fef61f78770 R14: 00007ffc808e2f60 R15: 000000000000000a ---[ end trace ]--- ================================================================== BUG: KASAN: global-out-of-bounds in aiptek_irq+0x20ab/0x2a00 drivers/input/tablet/aiptek.c:741 Read of size 4 at addr ffffffff86721d5c by task udevd/816 CPU: 1 UID: 0 PID: 816 Comm: udevd Not tainted syzkaller #0 f6ed0fb9bb938319f6518c785cf37c2d863a58c7 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 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+0x20ab/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+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:task_stack_page include/linux/sched/task_stack.h:23 [inline] RIP: 0010:last_frame arch/x86/kernel/unwind_frame.c:82 [inline] RIP: 0010:is_last_frame arch/x86/kernel/unwind_frame.c:87 [inline] RIP: 0010:is_last_task_frame arch/x86/kernel/unwind_frame.c:156 [inline] RIP: 0010:unwind_next_frame+0xe4/0x6b0 arch/x86/kernel/unwind_frame.c:276 Code: 89 45 b8 42 80 3c 30 00 74 08 4c 89 ef e8 a4 c5 9b 00 49 8b 45 00 48 89 45 d0 4c 8d 68 20 4c 89 e8 48 c1 e8 03 42 80 3c 30 00 <74> 08 4c 89 ef e8 82 c5 9b 00 49 8b 7d 00 4c 8d af 00 80 00 00 48 RSP: 0018:ffffc9000e54f3a8 EFLAGS: 00000246 RAX: 1ffff11022b0a004 RBX: ffffc9000e54f468 RCX: 1ffff92001ca9e94 RDX: ffffc9000e54f4f8 RSI: ffffc9000e54f478 RDI: ffffc9000e54f4a0 RBP: ffffc9000e54f3f8 R08: ffffc9000e54f401 R09: 0000000000000000 R10: ffffc9000e54f468 R11: fffff52001ca9e99 R12: ffffc9000e54f458 R13: ffff888115850020 R14: dffffc0000000000 R15: 0000000000000000 __unwind_start+0x340/0x400 arch/x86/kernel/unwind_frame.c:417 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xf2/0x170 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:49 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:70 kasan_save_free_info+0x44/0x50 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:249 [inline] __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:266 kasan_slab_free include/linux/kasan.h:234 [inline] slab_free_hook mm/slub.c:2445 [inline] slab_free mm/slub.c:4714 [inline] kfree+0x158/0x440 mm/slub.c:4875 kfree_link+0x19/0x30 fs/libfs.c:1613 do_delayed_call include/linux/delayed_call.h:28 [inline] put_link fs/namei.c:1032 [inline] walk_component+0x19a/0x450 fs/namei.c:2066 link_path_walk+0x723/0xeb0 fs/namei.c:2423 path_openat+0x298/0x35a0 fs/namei.c:3937 do_filp_open+0x1f2/0x440 fs/namei.c:3968 do_sys_openat2+0x134/0x1d0 fs/open.c:1434 do_sys_open fs/open.c:1449 [inline] __do_sys_openat fs/open.c:1465 [inline] __se_sys_openat fs/open.c:1460 [inline] __x64_sys_openat+0x13a/0x170 fs/open.c:1460 x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258 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:0x7fef618a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffc808e2ec0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fef61f78880 RCX: 00007fef618a7407 RDX: 0000000000080002 RSI: 000055cd364c23c0 RDI: ffffffffffffff9c RBP: 000055cd364c4770 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055cd364c6c00 R13: 00007fef61f78770 R14: 00007ffc808e2f60 R15: 000000000000000a The buggy address belongs to the variable: .str.395+0x1c/0x20 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6721 flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019c848 ffffea000019c848 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: ffffffff86721c00: 00 00 07 f9 f9 f9 f9 f9 05 f9 f9 f9 00 07 f9 f9 ffffffff86721c80: 00 07 f9 f9 00 04 f9 f9 00 00 01 f9 f9 f9 f9 f9 >ffffffff86721d00: 00 07 f9 f9 05 f9 f9 f9 00 06 f9 f9 00 00 00 06 ^ ffffffff86721d80: f9 f9 f9 f9 00 00 00 06 f9 f9 f9 f9 00 07 f9 f9 ffffffff86721e00: 00 06 f9 f9 00 05 f9 f9 00 07 f9 f9 00 00 f9 f9 ================================================================== ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 28672 is out of range for type 'const int[34]' CPU: 1 UID: 0 PID: 816 Comm: udevd Tainted: G B syzkaller #0 f6ed0fb9bb938319f6518c785cf37c2d863a58c7 Tainted: [B]=BAD_PAGE 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+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+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:task_stack_page include/linux/sched/task_stack.h:23 [inline] RIP: 0010:last_frame arch/x86/kernel/unwind_frame.c:82 [inline] RIP: 0010:is_last_frame arch/x86/kernel/unwind_frame.c:87 [inline] RIP: 0010:is_last_task_frame arch/x86/kernel/unwind_frame.c:156 [inline] RIP: 0010:unwind_next_frame+0xe4/0x6b0 arch/x86/kernel/unwind_frame.c:276 Code: 89 45 b8 42 80 3c 30 00 74 08 4c 89 ef e8 a4 c5 9b 00 49 8b 45 00 48 89 45 d0 4c 8d 68 20 4c 89 e8 48 c1 e8 03 42 80 3c 30 00 <74> 08 4c 89 ef e8 82 c5 9b 00 49 8b 7d 00 4c 8d af 00 80 00 00 48 RSP: 0018:ffffc9000e54f3a8 EFLAGS: 00000246 RAX: 1ffff11022b0a004 RBX: ffffc9000e54f468 RCX: 1ffff92001ca9e94 RDX: ffffc9000e54f4f8 RSI: ffffc9000e54f478 RDI: ffffc9000e54f4a0 RBP: ffffc9000e54f3f8 R08: ffffc9000e54f401 R09: 0000000000000000 R10: ffffc9000e54f468 R11: fffff52001ca9e99 R12: ffffc9000e54f458 R13: ffff888115850020 R14: dffffc0000000000 R15: 0000000000000000 __unwind_start+0x340/0x400 arch/x86/kernel/unwind_frame.c:417 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xf2/0x170 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:49 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:70 kasan_save_free_info+0x44/0x50 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:249 [inline] __kasan_slab_free+0x5f/0x80 mm/kasan/common.c:266 kasan_slab_free include/linux/kasan.h:234 [inline] slab_free_hook mm/slub.c:2445 [inline] slab_free mm/slub.c:4714 [inline] kfree+0x158/0x440 mm/slub.c:4875 kfree_link+0x19/0x30 fs/libfs.c:1613 do_delayed_call include/linux/delayed_call.h:28 [inline] put_link fs/namei.c:1032 [inline] walk_component+0x19a/0x450 fs/namei.c:2066 link_path_walk+0x723/0xeb0 fs/namei.c:2423 path_openat+0x298/0x35a0 fs/namei.c:3937 do_filp_open+0x1f2/0x440 fs/namei.c:3968 do_sys_openat2+0x134/0x1d0 fs/open.c:1434 do_sys_open fs/open.c:1449 [inline] __do_sys_openat fs/open.c:1465 [inline] __se_sys_openat fs/open.c:1460 [inline] __x64_sys_openat+0x13a/0x170 fs/open.c:1460 x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258 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:0x7fef618a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffc808e2ec0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fef61f78880 RCX: 00007fef618a7407 RDX: 0000000000080002 RSI: 000055cd364c23c0 RDI: ffffffffffffff9c RBP: 000055cd364c4770 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055cd364c6c00 R13: 00007fef61f78770 R14: 00007ffc808e2f60 R15: 000000000000000a ---[ end trace ]--- aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 89 45 b8 mov %eax,-0x48(%rbp) 3: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) 8: 74 08 je 0x12 a: 4c 89 ef mov %r13,%rdi d: e8 a4 c5 9b 00 call 0x9bc5b6 12: 49 8b 45 00 mov 0x0(%r13),%rax 16: 48 89 45 d0 mov %rax,-0x30(%rbp) 1a: 4c 8d 68 20 lea 0x20(%rax),%r13 1e: 4c 89 e8 mov %r13,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) * 2a: 74 08 je 0x34 <-- trapping instruction 2c: 4c 89 ef mov %r13,%rdi 2f: e8 82 c5 9b 00 call 0x9bc5b6 34: 49 8b 7d 00 mov 0x0(%r13),%rdi 38: 4c 8d af 00 80 00 00 lea 0x8000(%rdi),%r13 3f: 48 rex.W