================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 1319 is out of range for type 'const int[34]' CPU: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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:default_idle+0xf/0x20 arch/x86/kernel/process.c:742 Code: cc 00 00 cc cc 00 00 cc cc 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 0c 67 40 a5 55 48 89 e5 66 90 0f 00 2d 63 7b 65 00 fb f4 <5d> c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 RSP: 0018:ffffffff87007d58 EFLAGS: 00000257 RAX: ffff8881f6e00000 RBX: ffffffff8701c680 RCX: 2afc3d365fbd8400 RDX: 0000000000000001 RSI: ffffffff85ca61c0 RDI: ffffffff85ca6180 RBP: ffffffff87007d58 R08: ffff8881f6e348b3 R09: 1ffff1103edc6916 R10: 0000000000000000 R11: ffffffff8500b370 R12: dffffc0000000000 R13: 0000000000000000 R14: ffffffff8701c680 R15: dffffc0000000000 arch_cpu_idle+0x1c/0x20 arch/x86/kernel/process.c:733 default_idle_call+0x71/0x1d0 kernel/sched/idle.c:109 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x354/0x640 kernel/sched/idle.c:323 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:422 rest_init+0x10a/0x130 init/main.c:744 arch_call_rest_init+0xe/0x10 init/main.c:904 start_kernel+0x483/0x4f1 init/main.c:1275 x86_64_start_reservations+0x2a/0x2c arch/x86/kernel/head64.c:555 x86_64_start_kernel+0x7c/0x81 arch/x86/kernel/head64.c:536 secondary_startup_64_no_verify+0xce/0xdb ================================================================================ ================================================================== BUG: KASAN: global-out-of-bounds in aiptek_irq+0x2063/0x29b0 drivers/input/tablet/aiptek.c:741 Read of size 4 at addr ffffffff85e6619c by task swapper/0/0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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:default_idle+0xf/0x20 arch/x86/kernel/process.c:742 Code: cc 00 00 cc cc 00 00 cc cc 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 0c 67 40 a5 55 48 89 e5 66 90 0f 00 2d 63 7b 65 00 fb f4 <5d> c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 RSP: 0018:ffffffff87007d58 EFLAGS: 00000257 RAX: ffff8881f6e00000 RBX: ffffffff8701c680 RCX: 2afc3d365fbd8400 RDX: 0000000000000001 RSI: ffffffff85ca61c0 RDI: ffffffff85ca6180 RBP: ffffffff87007d58 R08: ffff8881f6e348b3 R09: 1ffff1103edc6916 R10: 0000000000000000 R11: ffffffff8500b370 R12: dffffc0000000000 R13: 0000000000000000 R14: ffffffff8701c680 R15: dffffc0000000000 arch_cpu_idle+0x1c/0x20 arch/x86/kernel/process.c:733 default_idle_call+0x71/0x1d0 kernel/sched/idle.c:109 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x354/0x640 kernel/sched/idle.c:323 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:422 rest_init+0x10a/0x130 init/main.c:744 arch_call_rest_init+0xe/0x10 init/main.c:904 start_kernel+0x483/0x4f1 init/main.c:1275 x86_64_start_reservations+0x2a/0x2c arch/x86/kernel/head64.c:555 x86_64_start_kernel+0x7c/0x81 arch/x86/kernel/head64.c:536 secondary_startup_64_no_verify+0xce/0xdb The buggy address belongs to the variable: .str.17+0x5c/0x60 The buggy address belongs to the physical page: page:ffffea0000179980 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5e66 flags: 0x1000(reserved|zone=0) raw: 0000000000001000 ffffea0000179988 ffffea0000179988 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: ffffffff85e66080: 00 00 00 00 07 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 ffffffff85e66100: 05 f9 f9 f9 f9 f9 f9 f9 00 00 00 00 00 02 f9 f9 >ffffffff85e66180: f9 f9 f9 f9 00 00 00 00 00 00 00 00 f9 f9 f9 f9 ^ ffffffff85e66200: 00 00 00 00 00 00 00 00 06 f9 f9 f9 00 f9 f9 f9 ffffffff85e66280: 00 07 f9 f9 00 02 f9 f9 00 00 00 00 00 03 f9 f9 ================================================================== ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:763:30 index 1320 is out of range for type 'const int[34]' CPU: 0 PID: 0 Comm: swapper/0 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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:default_idle+0xf/0x20 arch/x86/kernel/process.c:742 Code: cc 00 00 cc cc 00 00 cc cc 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 0c 67 40 a5 55 48 89 e5 66 90 0f 00 2d 63 7b 65 00 fb f4 <5d> c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 RSP: 0018:ffffffff87007d58 EFLAGS: 00000257 RAX: ffff8881f6e00000 RBX: ffffffff8701c680 RCX: 2afc3d365fbd8400 RDX: 0000000000000001 RSI: ffffffff85ca61c0 RDI: ffffffff85ca6180 RBP: ffffffff87007d58 R08: ffff8881f6e348b3 R09: 1ffff1103edc6916 R10: 0000000000000000 R11: ffffffff8500b370 R12: dffffc0000000000 R13: 0000000000000000 R14: ffffffff8701c680 R15: dffffc0000000000 arch_cpu_idle+0x1c/0x20 arch/x86/kernel/process.c:733 default_idle_call+0x71/0x1d0 kernel/sched/idle.c:109 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x354/0x640 kernel/sched/idle.c:323 cpu_startup_entry+0x43/0x60 kernel/sched/idle.c:422 rest_init+0x10a/0x130 init/main.c:744 arch_call_rest_init+0xe/0x10 init/main.c:904 start_kernel+0x483/0x4f1 init/main.c:1275 x86_64_start_reservations+0x2a/0x2c arch/x86/kernel/head64.c:555 x86_64_start_kernel+0x7c/0x81 arch/x86/kernel/head64.c:536 secondary_startup_64_no_verify+0xce/0xdb ================================================================================ aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:724:31 index 63 is out of range for type 'const int[34]' CPU: 0 PID: 103 Comm: udevd Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/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+0x210e/0x29b0 drivers/input/tablet/aiptek.c:724 __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:ep_busy_loop fs/eventpoll.c:412 [inline] RIP: 0010:ep_poll fs/eventpoll.c:1844 [inline] RIP: 0010:do_epoll_wait+0xfef/0x1710 fs/eventpoll.c:2309 Code: 06 00 00 e8 13 a8 9f ff 31 ff 8b 5c 24 1c 89 de e8 26 ac 9f ff 85 db 0f 85 2a 06 00 00 48 8b 84 24 f0 00 00 00 42 0f b6 04 28 <84> c0 0f 85 6c 05 00 00 48 8b 44 24 58 8b 18 bf 08 00 00 00 89 de RSP: 0018:ffffc90000a27bc0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888110716540 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000a27e10 R08: ffffc90000a27b47 R09: 1ffff92000144f68 R10: dffffc0000000000 R11: fffff52000144f69 R12: ffffc90000a27d00 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000144f9c __do_sys_epoll_wait fs/eventpoll.c:2321 [inline] __se_sys_epoll_wait fs/eventpoll.c:2316 [inline] __x64_sys_epoll_wait+0x1d4/0x220 fs/eventpoll.c:2316 x64_sys_call+0x82b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:233 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:0x7ff3a94a7407 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:00007ffea0703ba0 EFLAGS: 00000202 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 00007ff3a9b91880 RCX: 00007ff3a94a7407 RDX: 0000000000000008 RSI: 00007ffea0703d00 RDI: 000000000000000b RBP: 000055f52ba29d50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000bb8 R11: 0000000000000202 R12: 0000000000000000 R13: 000055f4fb2bc100 R14: 0000000000000000 R15: 0000000000000000 ================================================================================ aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: cc int3 1: 00 00 add %al,(%rax) 3: cc int3 4: cc int3 5: 00 00 add %al,(%rax) 7: cc int3 8: cc int3 9: 00 00 add %al,(%rax) b: 90 nop 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: b8 0c 67 40 a5 mov $0xa540670c,%eax 1b: 55 push %rbp 1c: 48 89 e5 mov %rsp,%rbp 1f: 66 90 xchg %ax,%ax 21: 0f 00 2d 63 7b 65 00 verw 0x657b63(%rip) # 0x657b8b 28: fb sti 29: f4 hlt * 2a: 5d pop %rbp <-- trapping instruction 2b: c3 ret 2c: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 33: 00 00 00 36: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop