================================================================================ UBSAN: array-index-out-of-bounds in drivers/input/tablet/aiptek.c:741:31 index 259 is out of range for type 'const int[34]' CPU: 1 PID: 4193 Comm: kworker/1:3 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_lvl+0x188/0x250 lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 aiptek_irq+0x1eaa/0x28f0 drivers/input/tablet/aiptek.c:741 __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1674 dummy_timer+0x880/0x30b0 drivers/usb/gadget/udc/dummy_hcd.c:1998 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648 expire_timers kernel/time/timer.c:1699 [inline] __run_timers+0x53e/0x800 kernel/time/timer.c:1970 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983 handle_softirqs+0x339/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:console_unlock+0xcad/0x1120 kernel/printk/printk.c:2749 Code: 75 11 e8 c6 dc 18 00 4d 85 ff 75 16 e8 bc dc 18 00 eb 15 e8 b5 dc 18 00 e8 f0 0d 5d 08 4d 85 ff 74 ea e8 a6 dc 18 00 fb 31 ff <89> de e8 fc df 18 00 85 db 0f 94 c0 22 44 24 17 3c 01 75 1f e8 8a RSP: 0018:ffffc90002f2f1e0 EFLAGS: 00000246 RAX: ffffffff81606c4a RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc900162f3000 RSI: 000000000000b651 RDI: 0000000000000000 RBP: ffffc90002f2f450 R08: ffffffff901d80c7 R09: 1ffffffff203b018 R10: dffffc0000000000 R11: fffffbfff203b019 R12: 1ffffffff198d8b9 R13: 0000000000000065 R14: 0000000000000000 R15: 0000000000000200 vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274 dev_vprintk_emit+0x2e1/0x380 drivers/base/core.c:4665 dev_printk_emit+0xeb/0x140 drivers/base/core.c:4676 _dev_info+0x11b/0x170 drivers/base/core.c:4734 announce_device+0xa1/0x2b0 drivers/usb/core/hub.c:2345 usb_new_device+0x4e7/0x1660 drivers/usb/core/hub.c:2613 hub_port_connect drivers/usb/core/hub.c:5497 [inline] hub_port_connect_change drivers/usb/core/hub.c:5637 [inline] port_event drivers/usb/core/hub.c:5799 [inline] hub_event+0x2e4a/0x55e0 drivers/usb/core/hub.c:5881 process_one_work+0x85f/0x1010 kernel/workqueue.c:2310 worker_thread+0xaa6/0x1290 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ================================================================================ ---------------- Code disassembly (best guess): 0: 75 11 jne 0x13 2: e8 c6 dc 18 00 call 0x18dccd 7: 4d 85 ff test %r15,%r15 a: 75 16 jne 0x22 c: e8 bc dc 18 00 call 0x18dccd 11: eb 15 jmp 0x28 13: e8 b5 dc 18 00 call 0x18dccd 18: e8 f0 0d 5d 08 call 0x85d0e0d 1d: 4d 85 ff test %r15,%r15 20: 74 ea je 0xc 22: e8 a6 dc 18 00 call 0x18dccd 27: fb sti 28: 31 ff xor %edi,%edi * 2a: 89 de mov %ebx,%esi <-- trapping instruction 2c: e8 fc df 18 00 call 0x18e02d 31: 85 db test %ebx,%ebx 33: 0f 94 c0 sete %al 36: 22 44 24 17 and 0x17(%rsp),%al 3a: 3c 01 cmp $0x1,%al 3c: 75 1f jne 0x5d 3e: e8 .byte 0xe8 3f: 8a .byte 0x8a