================================================================================ 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: 928 Comm: kworker/1:6 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: usb_hub_wq hub_event 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:arch_atomic_fetch_sub arch/x86/include/asm/atomic.h:190 [inline] RIP: 0010:atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:177 [inline] RIP: 0010:__refcount_sub_and_test include/linux/refcount.h:272 [inline] RIP: 0010:__refcount_dec_and_test include/linux/refcount.h:315 [inline] RIP: 0010:refcount_dec_and_test include/linux/refcount.h:333 [inline] RIP: 0010:kcov_put kernel/kcov.c:435 [inline] RIP: 0010:kcov_remote_stop+0x2e1/0x320 kernel/kcov.c:1055 Code: 3c 1e 87 4c 89 35 7f c7 ac 05 48 c7 c7 60 42 ba 87 e8 b3 89 8f 03 e8 5e db 88 03 41 f7 c4 00 02 00 00 74 01 fb b8 ff ff ff ff 0f c1 03 83 f8 01 75 1e 48 89 df e8 6e 00 00 00 48 8b 7b 10 e8 RSP: 0018:ffffc9000a33fa00 EFLAGS: 00000206 RAX: 00000000ffffffff RBX: ffff8881331c0880 RCX: 7d9382ab972d4700 RDX: ffffc9000dea1000 RSI: ffffffff85ca6940 RDI: ffffffff85ca6900 RBP: ffffc9000a33fa50 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001467f30 R12: 0000000000000246 R13: 000000000001c2a7 R14: ffffc9000fa7b000 R15: ffffc9000dea1000 hub_event+0x412a/0x4310 drivers/usb/core/hub.c:6025 process_one_work+0x717/0xc30 kernel/workqueue.c:2302 process_scheduled_works kernel/workqueue.c:2365 [inline] worker_thread+0xcc2/0x11d0 kernel/workqueue.c:2451 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ================================================================================ ================================================================== 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 kworker/1:6/928 CPU: 1 PID: 928 Comm: kworker/1:6 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: usb_hub_wq hub_event 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:arch_atomic_fetch_sub arch/x86/include/asm/atomic.h:190 [inline] RIP: 0010:atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:177 [inline] RIP: 0010:__refcount_sub_and_test include/linux/refcount.h:272 [inline] RIP: 0010:__refcount_dec_and_test include/linux/refcount.h:315 [inline] RIP: 0010:refcount_dec_and_test include/linux/refcount.h:333 [inline] RIP: 0010:kcov_put kernel/kcov.c:435 [inline] RIP: 0010:kcov_remote_stop+0x2e1/0x320 kernel/kcov.c:1055 Code: 3c 1e 87 4c 89 35 7f c7 ac 05 48 c7 c7 60 42 ba 87 e8 b3 89 8f 03 e8 5e db 88 03 41 f7 c4 00 02 00 00 74 01 fb b8 ff ff ff ff 0f c1 03 83 f8 01 75 1e 48 89 df e8 6e 00 00 00 48 8b 7b 10 e8 RSP: 0018:ffffc9000a33fa00 EFLAGS: 00000206 RAX: 00000000ffffffff RBX: ffff8881331c0880 RCX: 7d9382ab972d4700 RDX: ffffc9000dea1000 RSI: ffffffff85ca6940 RDI: ffffffff85ca6900 RBP: ffffc9000a33fa50 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001467f30 R12: 0000000000000246 R13: 000000000001c2a7 R14: ffffc9000fa7b000 R15: ffffc9000dea1000 hub_event+0x412a/0x4310 drivers/usb/core/hub.c:6025 process_one_work+0x717/0xc30 kernel/workqueue.c:2302 process_scheduled_works kernel/workqueue.c:2365 [inline] worker_thread+0xcc2/0x11d0 kernel/workqueue.c:2451 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 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: 928 Comm: kworker/1:6 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: usb_hub_wq hub_event 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:arch_atomic_fetch_sub arch/x86/include/asm/atomic.h:190 [inline] RIP: 0010:atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:177 [inline] RIP: 0010:__refcount_sub_and_test include/linux/refcount.h:272 [inline] RIP: 0010:__refcount_dec_and_test include/linux/refcount.h:315 [inline] RIP: 0010:refcount_dec_and_test include/linux/refcount.h:333 [inline] RIP: 0010:kcov_put kernel/kcov.c:435 [inline] RIP: 0010:kcov_remote_stop+0x2e1/0x320 kernel/kcov.c:1055 Code: 3c 1e 87 4c 89 35 7f c7 ac 05 48 c7 c7 60 42 ba 87 e8 b3 89 8f 03 e8 5e db 88 03 41 f7 c4 00 02 00 00 74 01 fb b8 ff ff ff ff 0f c1 03 83 f8 01 75 1e 48 89 df e8 6e 00 00 00 48 8b 7b 10 e8 RSP: 0018:ffffc9000a33fa00 EFLAGS: 00000206 RAX: 00000000ffffffff RBX: ffff8881331c0880 RCX: 7d9382ab972d4700 RDX: ffffc9000dea1000 RSI: ffffffff85ca6940 RDI: ffffffff85ca6900 RBP: ffffc9000a33fa50 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001467f30 R12: 0000000000000246 R13: 000000000001c2a7 R14: ffffc9000fa7b000 R15: ffffc9000dea1000 hub_event+0x412a/0x4310 drivers/usb/core/hub.c:6025 process_one_work+0x717/0xc30 kernel/workqueue.c:2302 process_scheduled_works kernel/workqueue.c:2365 [inline] worker_thread+0xcc2/0x11d0 kernel/workqueue.c:2451 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ================================================================================ aiptek 2-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 3c 1e cmp $0x1e,%al 2: 87 4c 89 35 xchg %ecx,0x35(%rcx,%rcx,4) 6: 7f c7 jg 0xffffffcf 8: ac lods %ds:(%rsi),%al 9: 05 48 c7 c7 60 add $0x60c7c748,%eax e: 42 ba 87 e8 b3 89 rex.X mov $0x89b3e887,%edx 14: 8f 03 pop (%rbx) 16: e8 5e db 88 03 call 0x388db79 1b: 41 f7 c4 00 02 00 00 test $0x200,%r12d 22: 74 01 je 0x25 24: fb sti 25: b8 ff ff ff ff mov $0xffffffff,%eax * 2a: f0 0f c1 03 lock xadd %eax,(%rbx) <-- trapping instruction 2e: 83 f8 01 cmp $0x1,%eax 31: 75 1e jne 0x51 33: 48 89 df mov %rbx,%rdi 36: e8 6e 00 00 00 call 0xa9 3b: 48 8b 7b 10 mov 0x10(%rbx),%rdi 3f: e8 .byte 0xe8