------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 62207 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0 d75e9a393de9c6a33055d5e25749154d2cb9f431 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:pv_native_safe_halt+0x13/0x20 arch/x86/kernel/paravirt.c:116 Code: cc cc cc cc cc cc cc b8 f0 b3 a8 a1 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 23 19 43 00 55 48 89 e5 fb f4 <5d> c3 cc cc cc cc cc cc cc cc cc cc cc b8 00 00 00 00 90 90 90 90 RSP: 0018:ffffffff87407da0 EFLAGS: 000002c2 RAX: ffff8881f6e00000 RBX: ffffffff874156c0 RCX: ffffffff85a444fd RDX: 0000000000000001 RSI: 0000000000000004 RDI: 00000000004244a4 RBP: ffffffff87407da0 R08: ffff8881f6e395eb R09: 1ffff1103edc72bd R10: dffffc0000000000 R11: ffffed103edc72be R12: 0000000000000000 R13: 1ffffffff0e82ad8 R14: dffffc0000000000 R15: ffffffff87ecbf28 arch_safe_halt arch/x86/include/asm/paravirt.h:-1 [inline] default_idle+0x17/0x30 arch/x86/kernel/process.c:754 arch_cpu_idle+0xd/0x20 arch/x86/kernel/process.c:791 default_idle_call+0x3e/0x80 kernel/sched/idle.c:117 cpuidle_idle_call kernel/sched/idle.c:193 [inline] do_idle+0x2fc/0x570 kernel/sched/idle.c:346 cpu_startup_entry+0x47/0x60 kernel/sched/idle.c:445 rest_init+0x10b/0x130 init/main.c:760 start_kernel+0x462/0x4bb init/main.c:1242 x86_64_start_reservations+0x2e/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x6a/0x7b arch/x86/kernel/head64.c:488 common_startup_64+0x13b/0x157 ---[ end trace ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 62208 is out of range for type 'const int[34]' CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0 d75e9a393de9c6a33055d5e25749154d2cb9f431 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:pv_native_safe_halt+0x13/0x20 arch/x86/kernel/paravirt.c:116 Code: cc cc cc cc cc cc cc b8 f0 b3 a8 a1 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 23 19 43 00 55 48 89 e5 fb f4 <5d> c3 cc cc cc cc cc cc cc cc cc cc cc b8 00 00 00 00 90 90 90 90 RSP: 0018:ffffffff87407da0 EFLAGS: 000002c2 RAX: ffff8881f6e00000 RBX: ffffffff874156c0 RCX: ffffffff85a444fd RDX: 0000000000000001 RSI: 0000000000000004 RDI: 00000000004244a4 RBP: ffffffff87407da0 R08: ffff8881f6e395eb R09: 1ffff1103edc72bd R10: dffffc0000000000 R11: ffffed103edc72be R12: 0000000000000000 R13: 1ffffffff0e82ad8 R14: dffffc0000000000 R15: ffffffff87ecbf28 arch_safe_halt arch/x86/include/asm/paravirt.h:-1 [inline] default_idle+0x17/0x30 arch/x86/kernel/process.c:754 arch_cpu_idle+0xd/0x20 arch/x86/kernel/process.c:791 default_idle_call+0x3e/0x80 kernel/sched/idle.c:117 cpuidle_idle_call kernel/sched/idle.c:193 [inline] do_idle+0x2fc/0x570 kernel/sched/idle.c:346 cpu_startup_entry+0x47/0x60 kernel/sched/idle.c:445 rest_init+0x10b/0x130 init/main.c:760 start_kernel+0x462/0x4bb init/main.c:1242 x86_64_start_reservations+0x2e/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x6a/0x7b arch/x86/kernel/head64.c:488 common_startup_64+0x13b/0x157 ---[ 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 ffffffff86707d3c by task syz-executor/5751 CPU: 0 UID: 0 PID: 5751 Comm: syz-executor Not tainted syzkaller #0 d75e9a393de9c6a33055d5e25749154d2cb9f431 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+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:do_zap_pte_range mm/memory.c:1707 [inline] RIP: 0010:zap_pte_range mm/memory.c:1752 [inline] RIP: 0010:zap_pmd_range mm/memory.c:1845 [inline] RIP: 0010:zap_pud_range mm/memory.c:1874 [inline] RIP: 0010:zap_p4d_range mm/memory.c:1895 [inline] RIP: 0010:unmap_page_range+0xc79/0x48f0 mm/memory.c:1916 Code: f1 4e 8d 34 e0 49 c1 e4 0c 49 01 cc 4c 89 ee 48 81 e6 01 01 00 00 31 ff e8 a4 95 b7 ff 4c 89 e8 48 25 01 01 00 00 4c 89 34 24 <0f> 84 f3 00 00 00 48 8b bc 24 88 00 00 00 4c 89 e6 4c 89 ea e8 2e RSP: 0018:ffffc900068b7500 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff88813011e0e0 RCX: ffff88811f422600 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900068b77b0 R08: ffffea0004a28bf3 R09: 1ffffd400094517e R10: dffffc0000000000 R11: fffff9400094517f R12: 00007f646be1c000 R13: 8000000128a30007 R14: ffff88813011e0e0 R15: 00000000000001e4 unmap_single_vma mm/memory.c:1962 [inline] unmap_vmas+0x2dd/0x400 mm/memory.c:2006 exit_mmap+0x28a/0xc20 mm/mmap.c:1969 __mmput+0x92/0x330 kernel/fork.c:1370 mmput+0x55/0x170 kernel/fork.c:1394 exit_mm kernel/exit.c:575 [inline] do_exit+0x9a5/0x2850 kernel/exit.c:942 do_group_exit+0x21f/0x2f0 kernel/exit.c:1098 get_signal+0x134c/0x1490 kernel/signal.c:2933 arch_do_signal_or_restart+0xbc/0x700 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x57/0xb0 kernel/entry/common.c:218 do_syscall_64+0x63/0xf0 arch/x86/entry/common.c:84 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f646cf59197 Code: Unable to access opcode bytes at 0x7f646cf5916d. RSP: 002b:00007ffe6ddd3b60 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: 0000000000000000 RBX: 000055555df0a500 RCX: 00007f646cf59197 RDX: 00007ffe6ddd3ba0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffe6ddd3c0c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000001388 R13: 00000000000927c0 R14: 000000000003c6a1 R15: 00007ffe6ddd3c60 The buggy address belongs to the variable: .str.44+0x5c/0x80 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x6707 flags: 0x4000(reserved|zone=0) raw: 0000000000004000 ffffea000019c1c8 ffffea000019c1c8 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: ffffffff86707c00: 00 00 05 f9 f9 f9 f9 f9 00 00 00 f9 f9 f9 f9 f9 ffffffff86707c80: 00 00 00 00 00 00 00 f9 f9 f9 f9 f9 00 00 00 00 >ffffffff86707d00: 00 00 00 00 04 f9 f9 f9 f9 f9 f9 f9 00 00 01 f9 ^ ffffffff86707d80: f9 f9 f9 f9 00 00 05 f9 f9 f9 f9 f9 00 00 00 00 ffffffff86707e00: 06 f9 f9 f9 f9 f9 f9 f9 00 02 f9 f9 00 00 00 00 ================================================================== aiptek 1-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: cc int3 1: cc int3 2: cc int3 3: cc int3 4: cc int3 5: cc int3 6: cc int3 7: b8 f0 b3 a8 a1 mov $0xa1a8b3f0,%eax c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: f3 0f 1e fa endbr64 1b: 66 90 xchg %ax,%ax 1d: 0f 00 2d 23 19 43 00 verw 0x431923(%rip) # 0x431947 24: 55 push %rbp 25: 48 89 e5 mov %rsp,%rbp 28: fb sti 29: f4 hlt * 2a: 5d pop %rbp <-- trapping instruction 2b: c3 ret 2c: cc int3 2d: cc int3 2e: cc int3 2f: cc int3 30: cc int3 31: cc int3 32: cc int3 33: cc int3 34: cc int3 35: cc int3 36: cc int3 37: b8 00 00 00 00 mov $0x0,%eax 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop