================================================================================ 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: 335 Comm: kworker/0:5 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Workqueue: usb_hub_wq hub_event Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 dump_stack+0x15/0x20 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+0x2153/0x29b0 drivers/input/tablet/aiptek.c:724 __usb_hcd_giveback_urb+0x333/0x4f0 drivers/usb/core/hcd.c:1674 usb_hcd_giveback_urb+0x119/0x410 drivers/usb/core/hcd.c:1751 dummy_timer+0x8be/0x30e0 drivers/usb/gadget/udc/dummy_hcd.c:1998 call_timer_fn+0x38/0x290 kernel/time/timer.c:1459 expire_timers kernel/time/timer.c:1504 [inline] __run_timers+0x650/0x9e0 kernel/time/timer.c:1775 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1788 handle_softirqs+0x250/0x560 kernel/softirq.c:583 __do_softirq kernel/softirq.c:621 [inline] invoke_softirq kernel/softirq.c:443 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:670 irq_exit_rcu+0x9/0x10 kernel/softirq.c:682 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:console_unlock+0xae1/0xec0 kernel/printk/printk.c:2775 Code: 28 4c 89 f6 48 81 e6 00 02 00 00 31 ff e8 67 d3 17 00 49 81 e6 00 02 00 00 75 07 e8 19 cf 17 00 eb 06 e8 12 cf 17 00 fb 89 d8 <0a> 44 24 17 a8 01 74 0e e8 02 cf 17 00 85 db 74 19 e9 1e 03 00 00 RSP: 0018:ffffc9000a15f300 EFLAGS: 00000283 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000100000 RDX: ffffc900090da000 RSI: 000000000001d572 RDI: 000000000001d573 RBP: ffffc9000a15f570 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200142be50 R12: dffffc0000000000 R13: fffff5200142be6c R14: 0000000000000200 R15: ffffffff86a179c8 vprintk_emit+0x13f/0x320 kernel/printk/printk.c:2294 dev_vprintk_emit+0x2e4/0x380 drivers/base/core.c:4648 dev_printk_emit+0xeb/0x140 drivers/base/core.c:4659 __dev_printk+0x17f/0x1b0 drivers/base/core.c:4671 _dev_info+0x11b/0x170 drivers/base/core.c:4717 usb_disconnect+0xe3/0x850 drivers/usb/core/hub.c:2270 hub_port_connect drivers/usb/core/hub.c:5394 [inline] hub_port_connect_change drivers/usb/core/hub.c:5695 [inline] port_event drivers/usb/core/hub.c:5861 [inline] hub_event+0x1af3/0x4600 drivers/usb/core/hub.c:5943 process_one_work+0x6be/0xba0 kernel/workqueue.c:2328 process_scheduled_works kernel/workqueue.c:2391 [inline] worker_thread+0xd10/0x1200 kernel/workqueue.c:2477 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ================================================================================ aiptek 3-1:0.0: aiptek_irq - usb_submit_urb failed with result -19 ---------------- Code disassembly (best guess): 0: 28 4c 89 f6 sub %cl,-0xa(%rcx,%rcx,4) 4: 48 81 e6 00 02 00 00 and $0x200,%rsi b: 31 ff xor %edi,%edi d: e8 67 d3 17 00 call 0x17d379 12: 49 81 e6 00 02 00 00 and $0x200,%r14 19: 75 07 jne 0x22 1b: e8 19 cf 17 00 call 0x17cf39 20: eb 06 jmp 0x28 22: e8 12 cf 17 00 call 0x17cf39 27: fb sti 28: 89 d8 mov %ebx,%eax * 2a: 0a 44 24 17 or 0x17(%rsp),%al <-- trapping instruction 2e: a8 01 test $0x1,%al 30: 74 0e je 0x40 32: e8 02 cf 17 00 call 0x17cf39 37: 85 db test %ebx,%ebx 39: 74 19 je 0x54 3b: e9 1e 03 00 00 jmp 0x35e